connor / loot

connor/loot

Changes touching this path

  • a proposer opens on the proposal page the logs the owner granted them: migration 0061 adds forge_member_granted_log, a barrier view of inner joins granted to forge_member and bound to the reader account, listing each log a change job of an open proposal wrote while the proposal grant names a key of that account; /api/private/pipeline-log now mints a URL by the rule of the forge /pipeline/log (mayReadLog: a job the owner or member family reads names the log, or the account holds the grantee key), the new /api/private/granted-logs lists the proposal logs with the runner that claimed each job, and the verdict opens a granted log of the tip in the browser with openLogTail; the forge rule moves unchanged into jobs::may_read_log, and pipeline_read.rs holds the web reads to it for owner, member, grantee, the grantee of another proposal and a reader on a public repo, before a grant, while it stands and after a withdrawal or a land; that pin went red without the view (6 passed, 1 failed), with the open-proposal check dropped (6 passed, 1 failed, at the landed proposal) and with the account binding dropped (6 passed, 1 failed); granted-logs.pg.test.ts went red without the grantee arm (0 passed, 1 failed) and with the log match dropped (0 passed, 1 failed); a log sealed before the grant still does not open on the web; ADR 0091 section 11 says so; cargo test with the live database suites ran 2232 passed and 1 failed, the known flaky loot-first a_landed_lane_drops_its_build_output_and_only_that, which passes alone, the site gate passes 348 and the site live suites 89; it also parks quxupmoq on the operator decision whether loot new signs a change whose only changes are re-seals (nnpsprvv) 77ddde7f · dbf3dbe6…
  • the proposal read serves only the approvals a key of the owner account signed, retired keys included, and never more than a reader decodes: the forge filters each review/approve by the new MetadataStore::owner_keys, so a push carrying approvals from throwaway, member or other-repo keys neither shows them on the page nor fails the read, and the encoder writes at most MAX_APPROVALS; the read also carries the approvals of the tips its page of comments was written on and the web merges every page, so a round older than the round record gets its approvals; ADR 0095 section 12 records the choice and loses its outbox aside; granted-logs.pg.test.ts now asks the site grantedLogs and mayReadLog for the grantee of another proposal on the same repo and for a change proposed to a second repo, and pipeline_read.rs covers that second repo at the view; the NotYours-as-empty catch is one function, member.ts uses hex32, put_approvals is private, spineOf builds approvals in place, status builds its prose only for human output, the approvals placement test goes, and ticket ids and emphasis leave migration 0061, ADR 0091 section 11, api.ts, data.ts and change.rs; red without it: the read failed to decode 4101 approvals (0 passed, 1 failed), the encoder wrote 4097 (0 passed, 1 failed), with the owner filter dropped (0 passed, 1 failed), with retired keys left out in memory (0 passed, 1 failed) and in Postgres (0 passed, 1 failed), with the granted view joining jobs of any repo in the Rust pin (0 passed, 1 failed) and the site pin (0 passed, 1 failed), and with a grant reaching every proposal of its repo in the site pin (0 passed, 1 failed); cargo test with the live database suites ran 2259 passed, 0 failed and 6 ignored, the site gate passes 360 and the site live suites 89; it also files tkvpzuom, the same unbounded write for rounds (twovqosw) 23e3e214 · dbf3dbe6…diff
  • who reads a pipeline log has one forge owner and one shared cases file: jobs::job_log_readers names both the claim-time seal list and the /pipeline/log gate, crates/loot-forge/tests/log-reader-cases.json drives the forge rule over Postgres in pipeline_read.rs and the real site mayReadLog and grantedLogs in granted-logs.pg.test.ts, and the Rust copy web_reads_log is gone; migration 0062 narrows forge_member_granted_log to the first job naming a log by version, trigger and kind, as job_of_log takes it, so a log a main job names before a granted change job no longer reaches the grantee on the web, which the forge already refused; the retired-key and owner-tier differences the ticket named agree at the account level and are pinned as cases; the site pin went red with the 0061 view in place (0 passed, 1 failed) and the forge pin with the grantee arm dropped (0 passed, 1 failed); cargo test is green at 2262 passed, 0 failed, 6 ignored, and ci/local.sh with the live database at 2262 passed plus the site live suites at 89, the site gate at 363 (umvloynu) 19c8dab1 · dbf3dbe6…diff
  • review sweep 18 items 1 and 2: the peek_lanes, lane_status and lane_statuses docs lose their bold leads, star, ticket numbers and dated measurement, unix_separators keeps its why without the history and the attributes test docs drop their ticket numbers, the CaseProposal doc no longer names a listed field the struct lacks, http.ts and the migration 0062 header stop pointing at the shared cases file, and the site granted-logs test plants once and checks mayReadLog and grantedLogs in their own tests; comments and test structure only, no test owed, cargo test green at 2260 passed and ci/local.sh green against Postgres 18; item 3 in capture.rs remains (opqrmukx) a2b56f7e · dbf3dbe6…diff

Renames are not followed. loot's tree maps a path to an address, so a rename is a delete and an add. This list is the history of the name, not of the bytes.