connor / loot

connor/loot

Changes touching this path

  • workspace/reconcile: apply_plan executor owns the four arms (#663) 4ac0277a · dbf3dbe6…
  • loot adopt: the git-first catch-up fast-forwards content-identical work unsigned and names foreign paths (#705) 044c84ac · dbf3dbe6…diff
  • a change records when it was authored, so a projected commit stops reading '6 years ago' on GitHub (ADR 0043) loot changes carried no timestamp, so the git bridge fabricated one: BASE_EPOCH + generation, one second per ancestor depth from a 2020 epoch. All 526 commits sat inside seven minutes of September 2020. Earlier repairs (#626's floor, the missing-generation refusal) fixed ORDERING and never touched the absolute date, which is why this kept coming back. ADR 0028 inherited the no-timestamp constraint rather than choosing it. The real reason is upstream: a version id is blake3 over authored content, and a clock inside that hash gives two peers different ids for identical content, destroying the dedup and convergence of ADR 0001/0004. So authored_at rides the label seam ADR 0029 already cut for change_id -- covered by the finalize signature (no relay can restamp it) but never folded into the version id. The wasm golden vectors prove the separation held: FROZEN_VERSION_ID, FROZEN_OBJ_ADDR and FROZEN_SIGN are byte-identical, and only the version marker and one presence byte moved. Advisory, and never an ordering input: a self-reported clock is a claim, not evidence (ADR 0025). in_order/ids_topo, buoy and path_touch.ordinal are all untouched, the forge indexes nothing on it, and the projection floors it past every git parent so ancestry holds whoever's clock is wrong. Format v11: additive for readers (a v<=10 change decodes as None and an absent timestamp adds nothing to the signed message, so every existing signature still verifies), breaking for writers, so loot-cli and loot-forge go to 0.4.0 in lockstep. Forge migration 0004 stores it as bigint, not timestamptz -- signed data must round-trip bit-exact or pullers reject the change. Only new work gets real dates. Every commit on main predates v11, main is push-fast-forward-only, and backfilling would fabricate the very claim this replaces. Perf-Baseline: reset the change body grew one presence byte, plus eight where a timestamp is present, so bundle_bytes/store_bytes/wire_bytes step once at the v11 boundary eaa56d99 · dbf3dbe6…diff
  • a lane carries its own hold, and custody crosses back whole at finalize (#811) 941cafb9 · dbf3dbe6…diff
  • settling onto a tip is one dance that always clears the tree-hash, and the finalize binding has one home (#862) The settle dance - bring the tree to show a finalized tip, move the position, clear the tree-hash, persist - was hand-assembled at eight sites, and only four remembered the clear. The drift was benign solely through an unstated proof (every no-clear site leaves the Draft clean, so the snapshot fast path cannot fire); a future caller settling with a live draft would have broken silently. Two private Workspace coordinators now own it: settle_advance / settle_seed (Position's advance-vs-seed vocabulary stays visible at the call site) share one tail - clear tree-hash, persist - and a closed SettleTree enum carries the tree half: Materialize { from }, OnePath (resolve's #233 single-path write, which must never widen), or InPlace. Draft moves and signing stay with callers; finalize_working and restart_on remain composite coordinators wrapping draft-handling around a settle. The finalize signature (version-id, change-id, predecessors, authored_at - ADR 0029/0032/0043) was typed verbatim at four sites; a fifth that forgot authored_at would mint a valid-looking, unverifiable signature. sign_version(&Oid) is now the one binding, keyless gate inside, no persist (the carry loop signs N and persists once); public sign_change keeps its interface as sign_version + persist. Decision: #850 (map #849). fast_forward_to, converge_heads's survivor-adopt and resolve_conflict now clear the tree-hash they skipped; the extraction is the fix, no separate tickets. CONTEXT.md gains the Settle glossary entry. d4ed0644 · dbf3dbe6…diff
  • the adopt catch-up decides in the shared reconcile table, and keeps its own hands for the fold (#866) `adopt_harbor` is now the same three steps as the ferry reconcile: prologue (the two "cannot name the target" refusals, the #829 shared-graph ingest, the ADR 0047 hold refresh) then `adopt_view`, then `reconcile::decide`, then adopt's own executor. Ferry and adopt can no longer drift on WHAT to do. A sibling of `apply_plan`, not a mode flag on it: the same `Plan::Merge` means carry for the bridge (ADR 0039) and fold for adopt (ADR 0034), so that distinction stays a named seam rather than a runtime argument. Adopt's hands are `fast_forward_to` and `fold_line_in`, with `fold_line_in`'s internal short-circuits intact (`lane merge` is a live caller of them). The #418 seal-WIP override stays executor-side in both verbs as the typed `RepoError::SealWip`, deduped into one `seal_wip_gate` helper carrying the verb name. Routing it through `Plan::Refuse` would demote a matchable guard+override refusal to a stringly error, and it reads live state at the signing seam beside the mis-seal gate. The View is unchanged at six fields. Adopt becomes the first production caller that passes `covered: true` (its stale doc note is updated), and the first that captures BEFORE computing `covered`, which is legitimate because the table is order-indifferent: `covered` outranks every other field. The capture normalization stays verb-owned and is skipped once `covered` holds, so an already-current catch-up still leaves the operator's capture exactly where it was. One behavior change falls out of the routing: a catch-up with no local line at all (`pinned: None`) now takes the plan's Adopt arm and fast-forwards onto landed main, where it used to fall through to `fold_line_in` and refuse with "nothing to merge into yet, record a change first". Catching up is what the verb is for, and it is what `reconcile_onto` has always done in that state; `fast_forward_to` takes `Option<&Oid>` for the missing `from`. `loot adopt <version>` is untouched: taking a target wholesale makes no reconcile decision. Tests: the choices are the table's, so adopt's repo-materializing tests keep only what is still adopt's own, the prologue, the capture normalization, and each executor hand's effect. Added the second prologue refusal (a landed main the shared graph lost) and two executor smoke tests: the `pinned: None` adopt arm, and the no-op leaving a capture untouched. One duplicate drop-the-redundant-capture test folded into its twin. 46b3f587 · dbf3dbe6…diff
  • a ferry refusal reaches a machine consumer as itself, not as a generic error (#867) Every seam inside `ferry::run` returned `Result<_, String>`, so a pass — which is mostly other people's failures — flattened all of them before the CLI could emit them. A typed `RepoError` the engine had already coded, and the reconcile executor's `Plan::Refuse`, both reached a `--json` consumer as the generic `error` code. The prose was fine; the machine channel was the loss. The nine phase signatures now carry `CliError` end to end, which restores the engine's own slugs for free: engine calls propagate with a bare `?` instead of `.map_err(|e| e.to_string())`, which is precisely what was flattening them. Exactly three slugs join the frozen ADR 0023 contract (amendment recorded): `undescribed_parent` and `foreign_paths` from a new `reconcile::Refusal::code`, built alongside the unchanged wording by BOTH executors — `apply_plan` and #866's adopt catch-up — so two verbs sharing one table cannot become two taxonomies; and `git_mirror` where ferry lifts git2, deliberately coarse because the bit a consumer acts on is retry-the-environment versus obey. `git_mirror.rs` stays stringly inside: inventing a loot taxonomy for git2's errors would be fiction. `rollback_note` keeps the abort's code and grows only its message — a rollback is context about that failure, not a different one. Every refusal's wording is byte-identical; the human channel does not move. Ferry's own handful of refusals stay honestly generic, and so do the tier's remaining flatten sites, which graduate one at a time when a consumer needs them. The one loot-first line is the seam back out: its orchestrator keeps a String channel, so `From<CliError> for String` makes that a `?` rather than a hand-written `.to_string()` at every call. Found while pinning the codes: the uncaptured-WIP ferry test refuses with `foreign_paths`, not `undescribed_parent` as it reads. Both wordings offer `describe -m`, which is why prose was never a taxonomy. 4fc73479 · dbf3dbe6…diff
  • a store knows which machine materialized it: an arrived copy refuses to record until loot rehome, so a bootstrap cannot silently capture every sealed path as deleted (#986) 4c15a2ca · dbf3dbe6…diff
  • a verb that could only publish to main unreviewed is retired: lane merge goes, its fold machinery stays where adopt needs it, and the mirror-free fold that genuinely leaves with it is named rather than glossed (#1048) 3f7635a9 · dbf3dbe6…diff
  • a seal to a holder list that excludes its author refuses and names what nobody could ever open, --allow-lockout is the deliberate way through, and ADR 0038 records why the gate refuses rather than filing a key for the author (#1249) bbb858b0 · dbf3dbe6…diff
  • the consent slices become one Allowances struct a swap cannot compile against, the lockout gate calls the engine predicate it used to mirror, and the site gate steps destructure so a third step stops compiling (#1272) ac6e2096 · dbf3dbe6…diff
  • a signing seam reads the working tree once and walks it once, so describe and land stop buying two whole-tree byte reads to look at file names, and loot-perf grows the capture timing that can see it (#1383) 31995cb5 · dbf3dbe6…diff
  • the implicit capture in front of every bare mutating verb reads the working tree once, so the tree it judges clean is the tree it records, and the doors already committed to capturing ask their refusals before paying for a read (#1395) 7f1fb453 · dbf3dbe6…diff
  • reconcile_onto stops open-coding load_shared_lineage's two halves, because the ingest and the ADR 0047 hold refresh it hand-rebuilds are exactly that seam with nothing between them, which is the drift #1447 removed from the test fixture that claimed to reproduce this very step (#1456) d4ada2ee · dbf3dbe6…diff
  • content whose embargo has already lifted stops reading as sealed, because promoting due keys out of escrow is now the construction of the reader every content read hangs off instead of a doc-comment obligation six callers hoisted by hand, and deleting four of those hoists left all 2438 tests green while loot surface told an author to request a grant from herself (#1464) e59e46b3 · dbf3dbe6…diff
  • a merge stops settling a tip whose tree the caller still owes on the next line, because the two sites that open-coded finalize plus materialize_tree now settle through SettleTree::Materialize, and converge's hand-written persist() is the settle tail its own write was spelled out beside, with the one of the three that no test in the crate ever entered now pinned (#1468) 15e33421 · dbf3dbe6…diff
  • the catch-up stops leaving its own consequence to a runbook the reader may never have loaded: adopt now prints the git step IT JUST CREATED, and only when it actually moved the tree and the checkout is measurably behind - naming the paths it wrote, which is exactly the set needing the proof. the ancestry is judged on the LOOT GRAPH through the mark map rather than by asking git, because git cannot answer it: the checkout has not fetched the landed commit. there are two arms by position, since which git command is correct depends on where HEAD is, and neither arm ever recommends git before a catch-up, because git-first WEDGES the primary and loot-side-first is and stays the order. and the land closing note is narrowed so its final word about the primary cannot read as being about the checkout: it now says which thing the fast-forward moves, says HEAD does not move with the dock, and names the verb that says the rest. the finding that changed the procedure is bigger than the ticket: the skill had the FETCH AFTER THE PROOFS, and a land pushes main FROM THE MIRROR, while the only fetches a land runs in the checkout are its pre-land drift and ADR guards - so at the exact moment an operator needs this procedure their origin/main is stale by that very land, every landed path reads as differing, and the freshly landed perf point does not resolve at all. followed literally the skill produced the precise wrong conclusion it exists to prevent, so the fetch is hoisted with the reason recorded, and the printed block fetches first by construction. twelve mutations with counts read, of which two are worth the reading. the tenth is a CONTROL: the skill quote wraps across two indented lines, so with the whitespace flattening removed the citation pin reddens over LAYOUT rather than over words, which is what makes the flattening load-bearing rather than decorative. and the fifth is the one to learn from - the lane guard test PASSED WITH THE GUARD DELETED, because the lane was silent for an unrelated reason, landed main having been recorded on the primary so the lane lineage-filtered graph had never seen it and the ancestry answered false. a pass that survives deleting the thing under test is not a pass, so the arrangement was rebuilt with landed main recorded THROUGH the lane and two explicit preconditions proving the lane reaches the checkout and can answer the ancestry at all - after which the same mutation reddens. what is NOT done is said rather than implied: a bare ferry still says nothing about git, its catch-up being a different path, so the note claims only the dock for it; the block deliberately stays silent on a repeat adopt, because its claim is that THIS run wrote over your tree and a no-op cannot make that claim; and none of this was reproduced live (#1679) c8ebe232 · dbf3dbe6…diff
  • the condition that could not be false is gone, and so is the pair that made it possible: merged stops being a FIELD set by hand at three construction sites and becomes a DERIVED method over the one bit that decides it, so the two cannot disagree - unrepresentable rather than guarded. eighteen reads follow it, and eight of those were conjunctions that are now TAUTOLOGIES, reduced to one term rather than left standing to read as two conditions. the test was rebuilt by moving a DIFFERENT AXIS, because a second catch-up can never reach the block at all: the fixture now puts a real second commit on the checkout main, so the DOCK is still behind and the catch-up genuinely runs, writes the tree and reaches the block, while the CHECKOUT is level and the block declines - and deleting the predicate reddens two tests. the DISCRIMINATION is the part worth reading: under that same mutation the OLD test stays GREEN, which is precisely the defect this ticket describes, demonstrated rather than asserted. the printed recipe stops handing the operator a command that ERRORS. the tree delta now returns what was WRITTEN and what was REMOVED apart, and a removal gets a tree read for its proof, because there is no file to hash, and a checkout for its repair - placed BEFORE the merge, since restoring the file is what lets the merge run at all. the plumbing needed a pin of its own, and that is proved rather than assumed: folding removals back into the written set reddens the workspace pin while the rendering pin stays GREEN. the off-main arm gains its PROOF and withholds only its REMEDY, and says that it withholds it and why, because the byte comparison does not turn on where HEAD is while the repair does - with that limit stated in the same list the module other limits live in, rather than left for a reader to discover. the section this run added about careful sentences gets its own grammar fixed, a stray fragment from an earlier draft removed and a clause given its missing object - and NO count added, with a number that was being carried forward replaced by the property, consecutive sweeps each turning one up. the only-shorthand claim is narrowed at all three sites to the width of the check that backs it, which is a claim about ONE declaration and nothing wider. and the tenth copy of the short-hash helper becomes one, with the unguarded universal above it replaced by what it actually is and an explicit note of what it does not cover (#1911) 53ede622 · dbf3dbe6…diff
  • a land takes into main the ticket changes on the forge that landed main lacks (ADR 0098 §4, the sync half of §5, the #2390 half of §6, and §9): under the harbor after its finalize it asks its remote, when that answers as a forge, for its heads, takes in what they reach, and judges each change they reach that landed main does not; one signed by a key in the own key set of this identity and writing only under tickets/ is folded onto landed main ahead of the ferry reconcile, so the lane is carried onto it, the re-gate sees the tree as it lands and git main takes the lane commit alone, and any other fails the land closed naming the change and its paths outside tickets/. a sync push the forge refuses because a web write arrived during the land now merges that write onto landed main under the subject fold N ticket changes from the forge, with no gate and no git commit, catches the primary up and pushes again, a bounded number of times; the #2390 check accepts a primary ahead of landed main only by ticket-only changes the forge holds; a ticket file both the lane and the forge wrote bounces for loot resolve, or refuses before the pass naming loot pull-grants in the primary when the lane cannot open both sides, and a pass whose carry stops short of the fold projects nothing; a fold merge refuses a file landed main and the forge both wrote. the verdict gains folded=N before pusher=. ADR 0098, the ADR 0063 amendment, CONTEXT.md, workflow.md, the land-change skill, GATES and SOURCE_ROOTS say so, and the pin no_gate_input_reads_the_ticket_root covers the walk of the text gates only. six tests against an in-process forge, whose sync runs in-process, pin it beside four sync unit tests and four forge_fold tests; red under seventeen named mutations, each restored, over twelve loot-first pins and four loot-cli pins: no fold at the land (10 passed and 2 failed), the judgment ignoring paths (9 and 3, and 3 and 1 in loot-cli), an unsigned change read as own (3 and 1 in loot-cli), writes read against any parent (2 and 2 in loot-cli), no race fold (10 and 2), no adopt before a retried push (10 and 2), the #2390 allowance off the forge or without the judgment (11 and 1 each), a pass short of the fold projecting (11 and 1), no check for collisions the lane cannot open (11 and 1), a fold merge picking a side (3 and 1 in loot-cli), the race count dropped (11 and 1), the text walk reaching tickets (11 and 1), the token not the count (10 and 2), the race judging nothing (11 and 1), no attempt bound (11 and 1), and an ancestor head not skipped (3 and 1 in loot-cli). cargo test green, 4671 passed over 143 binaries with 13 ignored. client only, no deploy; loot-first changes, so the primary release binaries owe a rebuild (#2429) 357a8716 · dbf3dbe6…diff
  • review sweep 2 fix-up over #2429 (map #2422): each fold of the forge heads, at the land and at the race fold of its sync, now refuses naming the paths when the tree it reaches differs from landed main outside tickets/, and retires the merges it minted, where the per-change judgment read a merge of landed main with an ancestor of it that keeps the ancestor copy of a code file as writing nothing and folded that revert onto main, past every gate at the race fold. the race fold runs its pass with ferry::RunOpts::no_commit, which refuses a projection that would make a git commit before any ref names it, where a comparison of the mirror main after the pass left an ungated commit there for the next land to publish; a signed change that writes nothing, racing the land, was such a case. folded= is the count when the land read the forge heads, no-forge when the default remote is not a forge, and UNREAD with a FORGE NOT READ block naming why when it read none, where 0 said all three. a refused intake, a failed pass and a race fold that folds nothing drop the forge heads they read into the landing position, which kept them as heads of its own. collisions reads its base through GraphView::common_ancestor_tree, the base merge_tips merges from. the land-change skill says a ticket collision bounces for loot resolve and refuses only when the lane cannot open both sides; GATES and the ADR 0063 amendment state the gate-input property rather than kinds of gate; ADR 0098, workflow.md and CONTEXT.md, which now defines forge-only change and race fold, say what changed. pinned against an in-process forge, with the merges recorded through loot-core since no verb mints one, beside a ferry unit test; red under eleven named mutations, each restored: no property check (0 passed and 2 failed), the race fold without no_commit (0 and 1), the ferry guard off (4 and 1 in loot-cli, 0 and 1), an unreachable forge read as 0 (0 and 1), the token spelled 0 (0 and 1 over each of two pins), no block (0 and 1 over each of two pins), the intake keeping what it read (0 and 1), a failed pass keeping it (0 and 1), the fold keeping its merges (0 and 1), the race fold keeping what it read (0 and 1), and a race fold that took changes in not answering an unread intake (0 and 1). cargo test green, 4683 passed over 142 binaries with 13 ignored, three of them after a re-run: two timing flakes in loot-identity and loot-relay-contract that pass alone, and the Workspace width census, whose derived count this change moved to 406. client only, no deploy; loot-first changes, so the primary release binaries owe a rebuild (#2470) c9c46384 · dbf3dbe6…diff
  • a web ticket write no longer fails the land in a repo holding a Restricted path outside tickets/, and a fold keeps the holders main records (map #2422): the wire redacts a Restricted path holder list (#521), so the browser change carries each such path as Restricted([]), and forge_fold compared entries with ==, so the operator first web ticket read as writing docs/pitch/zk-host.md and every land after it would fail closed. what a change writes, what two lines collide on and what a forge head changes outside tickets/ now compare address and seal (forge_fold::same_entry over Visibility::same_seal, #1005). a fold no longer takes such a change as it is: its merge records fold_tree, the side that wrote each path since the fork and main own entry elsewhere, read off addresses and opening nothing, which replaces merge_tips in mint_fold_merge, a descendant is taken as it is only when that is the tree it holds, and fold_onto refuses a tip that does not record the main entry outside tickets/, address and seal alike. read against the live forge, the judgment takes the operator change (1 forge-only change, 0 refused, the overlay reads 1 and keeps out 0) and the fold merges it with 0 paths outside tickets/ recorded otherwise. item 4 found no defect in the web read: a native run of the browser read over the live head with the mailbox keys lists the ticket open with nothing unopened, and nothing was changed for it. pinned by a judgment and fold test and a fold_tree test in forge_fold, a forge_view test where a browser-filed ticket over a held path reads in the browser and in a lane, and two loot-first land tests that build the ticket with the browser builder over a base holding a Restricted path, one taken in at the intake and one racing the sync, each asserting main keeps the holders. red under named mutations, each restored: entries compared with == (21 passed and 3 failed over forge_fold and forge_view, 0 and 2 over the land tests), a descendant always taken as it is (22 and 1, 1 and 1), that and the fold check relaxed to same_seal (22 and 1, 1 and 1), and fold_tree taking the web entry where main did not write (21 and 2, 0 and 2). cargo test green, 4744 passed over 145 binaries with 13 ignored. no site change and no deploy owed; this land runs with the lane-built loot-first and loot (#2488) d27f227f · dbf3dbe6…diff
  • loot pull-grants now keeps the forge cursor only when every grant of the answer was handled, kept as standing custody or found never to apply, where each skip branch had to count its grant to hold it, so a grant no branch counts holds the cursor; a frame of this build format whose tag this build does not know, named by Frame::newer_tag over the Tag the decode dispatches on, holds it as a newer format does, where it passed as never applying; a grant expired by less than EXPIRY_GRACE_SECS, a day, longer than the widest time zone offset, is left pending in case this clock runs fast; and a failed unseal is named on stderr as a key not sealed to this identity, as the docs say. the ferry remedy matches every DeltaClass, its split test literal is joined, it says not to seal while loot status shows a deletion, and the seal-WIP refusal of a bare loot adopt or loot ferry counts the deletions the override would sign, read from two trees and only when it refuses. red under named mutations, each restored, failed and passed: the cursor moved regardless (5 and 8), a never branch not counting (4 and 9), an unknown tag passed (1 and 12), newer_tag at any major (1 and 0), no grace (1 and 12), an expiry always held (1 and 12), the old unseal wording (1 and 12), no deletion count (1 and 6), a count on every refusal (1 and 6), the old remedy ending (4 and 3), and a DeltaClass arm dropped fails to compile. cargo test green, 4923 passed over 145 test result lines with 15 ignored. CONTEXT.md and ADR 0057 say so. owes no deploy (uuqwrkyt) 5a473dfe · dbf3dbe6…diff
  • loot-cli production comments cut by 70% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, contracts and safety reasoning kept; comment-only, Rust token streams identical, test modules untouched (yrkykmsn) 51eb5832 · dbf3dbe6…diff
  • site and sdk production comments cut by 71% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, security reasoning, browser quirks and directives kept; comment-only, the TypeScript AST without comments identical, built bundles unchanged but for the build stamp (yrkykmsn) d8c01375 · dbf3dbe6…diff
  • docs/agents/writing.md is the standard for comments and docs: a comment says only the why the code cannot, rg and loot log answer who-calls, which-members and when-changed better than a cached comment, and history, ticket numbers, rosters and emphasis are deleted on sight. AGENTS.md links it. CONTEXT.md, AGENTS.md, docs/agents, the skills, specs, READMEs, research and evidence are cut by about 65% to it, every cited heading, § number and test-pinned string kept; files the yrkykmsn ticket (yrkykmsn) 8e3c7b83 · dbf3dbe6…diff
  • the ADRs are cut by 71% to the docs/agents/writing.md shape: Context, Decision and Consequences in about a page each, amendments folded into the decision they amend, function tours, test counts, sweeps and ticket archaeology removed; every title, Status section, cited § and numbered decision kept. ADR 0103 folds in the vmusyoxz, snmzospn and xrqwmovz amendments and restores the operator rulings of 3e1a10ce that the loot-core comment land reverted (yrkykmsn) 0fc947d9 · dbf3dbe6…diff
  • runtime output stops citing ADR numbers, ticket numbers and CONTEXT.md, which users cannot read: about 150 errors, refusals, warnings, notes and banners across loot-cli, loot-core, loot-net and the forge client refusals drop the citation and keep the meaning, the lootignore negation warning says catch up with loot adopt instead of naming 843 and main copy, the serve banner and open-relay warning lose ADR 0011 and 2389, the landed-content cause states the pull order instead of a private runbook; help text left for later; three prose asserts updated, hosting docs relay output updated, crate suites and site gate green (ymsvpuos) c8ced9c3 · dbf3dbe6…diff
  • no-arg loot adopt walks the working tree once, handing the walk its view captured or found clean to the fold that signs the working change instead of scanning again after its own capture and reading the tree again in the fold, and human loot status reads the publish status of its listing and its delta rows off the .lootattributes its walk loaded instead of loading it twice more; tree_walks and policy_parses went from 2 and 4 to 1 and 2 for an adopt with no working change over a dirty disk, from 3 and 7 to 1 and 3 for a described working change the disk moved past, from 2 and 5 to 1 and 3 over a clean one, and from 1 and 4 to 1 and 2 for a human status; the parses left are the .lootattributes and .lootignore of the walk and the malformed-rules load of the mis-seal gate; the fold mis-seal test now drives adopt and went red when the gate skipped a handed walk (0 passed, 1 failed), a new status test went red when either answer dropped the publish status (0 passed, 1 failed each), the measurement is not kept as a test, the gated counters do not move, and the suite is green (llzvppzu) c3408dda · dbf3dbe6…diff
  • files the two amend edges xysopyyo left open: a non-root amend gates its capture against its parent tree rather than the version it replaces (vzuzpspr), and loot edit of a root change on a pinned position loses the pin (vlsmounz) 4d1ef5fb · dbf3dbe6…diff
  • restore the 71 files 430a057a reverted to 385bcb40's bytes: a tickets-only land (vzuzpspr, vlsmounz) recorded stale copies in the Mac primary, which held the desktop's newer versions sealed with keys it had not pulled, and a loot fetch there had left the disk behind loot's view; the keys are pulled now, the lane equals 385bcb40 outside tickets/ but for that land's benchmark entry, and mmzxtyyt records the mechanism Perf-Baseline: reset 430a057a's baseline measured the reverted code; restoring 385bcb40's brings object_gets, store_file_reads and graph_sorts back down 7806746e · dbf3dbe6…diff
  • a .lootattributes that is not UTF-8, such as the UTF-16 Windows PowerShell 5.1 writes with >, is now a malformed rule naming its encoding at the disk load, the ferry ingest and the recorded-tree vet, so loot new and a ferry ingest of a self-authored commit refuse instead of signing plan.txt internal with exit 0, and a line opening with a byte-order mark, which made the first rule match nothing, is malformed too; the unreadable recorded rules refusals carry the code unreadable_attrs, which the SDK classes as a guard error and the tests assert, and ADR 0038 states the costs of passing over a signed parent rules file and an unsigned ingested parent, and its wrap is fixed; the new cases went red without the fix (0 passed, 2 failed), again with the disk load reading text (1 passed, 1 failed), with the ferry reading text (1 passed, 1 failed) and with the byte-order mark unrecorded (1 passed, 1 failed), the code assertions went red without the code (0 passed, 3 failed), the gated counters do not move, the SDK typecheck passes, and the suite is green at 2103 passed (ymmvvvxq) 9d623289 · dbf3dbe6…diff
  • a pull no longer rewrites files that already hold the pulled bytes, and a pull that merges heads no longer opens and writes again what its fold just wrote: the surface walk leaves a file already holding the bytes it opened untouched, so its modification time and the stat cache entry survive, and the materialize of the fold hands the paths it opened and wrote to the surface of the pull as an AlreadyOnDisk at the same change, reader and clock, which the surface skips; the pull captured uncaptured edits first, so the disk held no edit for either write to overwrite. on the new pull_object_reads instrument over verbs::sync::pull at 200 paths, a merging pull goes from 1417 to 1217 object_gets with object_disk_reads flat at 201, a fast-forward pull stays at 1005 object_gets and 200 object_disk_reads, and both go from 200 rewritten files to 1; with the byte comparison cut to a length check the same-length pulled edit stayed stale (0 passed, 1 failed), with the surface not reusing the fold it went red on the gets (0 passed, 1 failed), the gated counters do not move, and the suite is green at 2103 passed (yolryuww) e4c5cf69 · dbf3dbe6…diff
  • review sweep 13 fix-ups on the perf afk-loop lands: a capture on a position pinned at no version with no amend open, the empty .loot/tip a 0.4.32 binary leaves after finishing a root amend, now forks with no parent where it fell through to the union of the heads, and the position anchors on nothing there where it fell through to a head; the engine snapshot takes the position pin as its fork base, Position::advance and seed take a Pin, so a root amend and an abandoned fork with no survivor say pinned at nothing where None meant that for advance and unpinned for seed, and position_moved_since_read compares the pin, so a move between pinned at nothing and unpinned is seen; a ferry ingest of a git commit authored as you whose .lootignore is not UTF-8 or opens with a byte-order mark now ingests with no ignore rules and a warning, as a commit by another author does, where it refused and so stopped every land until git history was rewritten, while the disk seams keep refusing; Pin no longer sits between decode_one_oid and its doc, amend_gate is renamed amend_gated_against beside a new DagRepo::amends for the is-amending question, the engine snapshot held closure is renamed node_tree, the ticket-root test doc and the CONTEXT lootignore entry are narrowed, and ADR 0032 and the lootignore reference page say so; red without it: the new pinned-at-nothing pin went 0 passed 1 failed before the change, again with the capture reading pinned at nothing as unpinned and again with the anchor doing so, and the ferry pin 0 passed 1 failed with the self-authored refusal put back; the site gate passes 348 and the suite is green at 2203 passed 0 failed (umxslktv) 6c2de80a · dbf3dbe6…diff
  • a merge now takes their version of a path ours left at the merge base address even when this identity cannot open theirs, where merge_pair relayed and kept ours, so bob merging a re-seal of doc.txt he cannot read recorded his old v1 and reverted it, reproduced with two identities through loot merge and loot converge on main at 1639a162; a no-arg loot adopt or a loot ferry catch-up now refuses with the code replaced_version, naming the paths, to sign a working change holding at a path it changed the bytes of a version it can open that landed main has replaced, where it signed them as an edit that reverted landed work; CONTEXT and ADR 0023 say so; red without it: the merge table went 0 passed 1 failed with the base-address arm dropped, and the catch-up pin 0 passed 1 failed with the guard disabled and again with only the ferry call removed; the suite is green at 2207 passed 0 failed; it also files lsrotrzr, the post-land check that would catch the revert shapes this leaves (mmzxtyyt) 60b957a3 · dbf3dbe6…diff
  • review sweep 14 fix-ups on the perf afk-loop lands: the replaced_version guard of a no-arg loot adopt or a loot ferry catch-up now asks only about versions landed main recorded at a changed path since the working change forked and has replaced, where it asked about every earlier version in history and so refused an honest revert to a version older than the fork; where landed main holds a version sealed away from this identity its remedy names loot pull-grants before loot restore; its walk is bounded to the changes landed since the fork, a stored uncompressed object whose ciphertext length cannot hold the plaintext is skipped without a decrypt (Readable::may_open_to_len over sealed::may_open_to_len), opened digests are memoised and the landed version is opened only after a match, so a 200-version path forked 49 versions back went from 201 decrypts and 201 object gets to 49 and 97 for compressible content and to 1 and 49 for incompressible content; a capture on a position pinned at nothing with no amend open beside live heads now warns that it starts a second root line rather than refusing, since loot edit and loot adopt of a version, which would re-pin, refuse over the uncaptured edits it records; the convergence classifier reports theirs at the merge base address with either side unreadable as merged where it read relayed unmerged; ChangeGraph::fork_from is the one pin-to-fork-base match for the engine snapshot and the stale-disk decision, untracked_base returns a Pin, DagRepo::amends reads amend_gated_against, DagRepo::snapshot and snapshot_allowing take a Pin, the guard takes a named ChangedPath, and the CONTEXT adopt and classifier entries and ADR 0032 say so; red without it: the reworked catch-up table went 0 passed 1 failed with the whole history asked again (the honest revert refused), with the guard off, with a sealed landed version passed over, with the GCM tag length dropped and with compressed objects length-filtered, the classifier table 0 passed 1 failed with the new arm dropped, and the pinned-at-nothing pin 0 passed 1 failed with the warning never firing; the suite is green at 2211 passed 0 failed; it also files pqnmmypn, the review findings on the lanes listing, glob and settle claim lands (ptkvquqv) 4487134f · dbf3dbe6…diff
  • verify and the path history walkers now read a delta graph without decoding every manifest: path_in_history, the custody verbs behind it (embargo-status), loot log --path, loot blame and the squash and refuse_replaced_versions walks ask a PathReader that reads a delta own ops and takes its first parent answer where they do not name the path, and burn scans use Manifest::entry; verify reads the graph undecoded, takes its absent set through the address union, and only when an object is missing decodes one manifest at a time, applying a delta over the map of the node read just before; on a copy of the primary graph (2.5k nodes) loot embargo-status of a deleted path went from 3.2 s and 990 MB peak RSS to 0.04 s and 70 MB, log --path AGENTS.md from 3.2 s and 997 MB to 0.04 s and 77 MB, blame from 2.6 s and 800 MB to 0.04 s and 75 MB, verify from 1.56 GB to 43 MB peak RSS (wall is the object scan, user time 1.0 s to 0.35 s) and verify of a store missing one object from 4.5 s and 1.56 GB to 2.9 s and 44 MB, every output byte-identical to the previous build; the path_history perf half at depth 2000 went from 166 ms to 14 ms; object_gets is untouched since no walker opens an object; red without it: the new equality pin against the eager maps (every node and path, parents or children first, with and without the first parent held, plus path_in_history) went 0 passed 1 failed with a removal read as the first parent answer, again with the visibility of an upsert dropped, and again with a merge answer recorded as absent; ADR 0108 records the path read; the suite is green at 2220 passed 0 failed (puvysunk) 50ef3c42 · dbf3dbe6…diff
  • review fixes on the marker cache, the replaced_version guard and machine status (55473d34 ptkvquqv, 64331eab yyxpyxqx, 9c24e89b twpwymzs): status --json now ends with a reseal list of path, visibility and from_visibility for each path the next capture re-seals under the other @world marker, with or without a working change, porcelain carrying no row as for held_back, recorded under ADR 0023 and pinned by the ferried web edit test, which now asserts that list and went red without it (0 passed, 1 failed), red with the rows read only without a working change (0 passed, 1 failed) and red with them read only over one (0 passed, 1 failed); the replaced_version guard judges a working change from the history its parents share and asks only about paths where it holds none of the versions of its parents, so a version a merge parent replaced no longer signs as a revert, pinned by a new table that went red without the fix (0 passed, 1 failed), red with the histories of the parents unioned (0 passed, 1 failed) and red comparing the first parent alone, which refused the version taken from the merge parent (0 passed, 1 failed); the marker cache burn and re-receive case was not reproduced, since DagRepo::store refuses a burned address, so its module doc gives that reason and no code changed; tree_at gets its doc back from fork_from, the ADR 0023 diff entry loses its history, CONTEXT.md narrows Adopt to what the guard refuses, the restating comments in capture.rs and preview_agrees_with go and the marker_cache, resolve_pending and tier_only_rows docs are cut down; the catch-up rows are a struct, status reads its format once, the pinned-at-nothing test stops calling the warning helper and cli_smoke drops its show prose assertion; the full suite is green with 2232 passed, 0 failed and 6 ignored; it also files wvzoqrll, the sweep findings on the delta graph container lands, for that line of work (yrnyltwp) dfe4f666 · dbf3dbe6…diff
  • no-arg loot adopt and loot ferry --seal-wip now run the publish consent gate beside the mis-seal gate before they sign the working change, through one catch_up_signing_gates that calls signing_gates with no consent, so a path a .lootattributes rule newly publishes refuses there with the publish code instead of being signed @world; the adopt fold gates the tree it captures and the ferry merge arm the recorded capture it signs, a refusal whose remedy is a consent flag now points at loot new since neither verb takes one, and the byte-free SealProvenance::read walk the ferry arm used is test-only now. the scenario test publishing a plain anchored path then catching up went red at both seams before the fix (0 passed, 1 failed, both signing it @world), and red again with either seam refusal swallowed (0 passed, 1 failed each). no deploy owed. the workspace suite is green (2261 passed over 69 binaries, 6 ignored) (kzzxtmxm) 1f6230bd · dbf3dbe6…diff
  • a no-arg loot adopt with nothing to take in, its dock already at or past landed main, now refuses with replaced_version, naming the paths, before it captures a path where the disk differs from the anchor and holds the bytes of a version landed main recorded and has replaced, offering loot restore --source <main> or loot new first when the revert is meant; it captured those stale bytes into an unsigned working change that a later plain loot new signed as a revert, since the fork-scoped check never asks of a capture forked at landed main. a revert captured by hand first, and an edit no landed version holds, still pass. the check rides a vetting hook on the capture, so a clean tree pays nothing for it; CONTEXT says so. the new table pin went red before the fix (0 passed, 1 failed), with the vet call dropped (0 passed, 1 failed) and with the history narrowed to the fork (0 passed, 1 failed); the suite is green at 2261 passed, 0 failed, 6 ignored (mmzxtyyt) f4df8eb3 · dbf3dbe6…diff
  • a capture now holds one path of plaintext at a time: the working tree read keeps each path blake3 and plaintext-grant verdict and drops the bytes, the engine snapshots over digests through the new DagRepo::snapshot_digested and reads a path again only to seal it, refusing bytes that no longer hash to the digest the gates judged, and the base gate can_open probe reads each object through get_unmemoized and answers the reuse compare from that read, so the read memo keeps none of them; loot status judges a stat-cache hit by its row digest instead of reading the file; CountingAllocator gains a heap high-water gauge, Tally::peak_heap_bytes. a one-path capture over 64 files at 1 and 2 MiB peaked at 1.68 and 3.31 MB of heap and now at 0.08 and 0.12 MB, describe went from 1.65 and 3.27 MB to 0.07 and 0.11 MB and status from 1.69 and 3.32 MB to 0.67 and 1.27 MB, object disk reads unchanged and capture object gets down from 193 to 65; on a 9,271-file 30.9 MB copy of this tree max RSS fell from 79-80 to 32-33 MB for describe, 65-66 to 33-34 MB for new and 80-82 to 47-49 MB for status, and the gated perf counters did not move. the new heap pin went red before the change (0 passed, 1 failed); the plaintext-grant rows for the scan doors went red with the walk verdict dropped and with the stat-cache hit verdict dropped, the digest refusal pin with its check removed, and the replaced_version and holding pins with the disk length or the escrow read mutated (0 passed, 1 failed each); the suite is green at 2266 passed, 0 failed, 6 ignored over main 8fadc025 (mqkmpxmq) 79e30088 · dbf3dbe6…diff
  • a land refuses an absent path as a revert only where some line of parents from the lane tip back to landed main history never held it, so a lane that adopted main and then deleted or renamed a file main added lands again, while a stale merge that drops a perf point still refuses; ticket files and perf points of other lands are no longer exempt; the refusal records reverts as its refusing span, the Reverts-Landed trailer is read once before the harbor from the landing change trailer block, with paths spelled as store keys and all counted only as the whole value, and the remedy names the paths; lane new writes the birth before the entry is listed; the salt fallback on a filesystem without hard links stages the salt and renames it over a create-new claim, and a short salt past a minute is written again; a lease breaker that cannot lock breaks unserialized instead of waiting forever; the adopt replaced-version vet reads history without the read memo and names loot new -m, with --allow-primary in the primary; the settled line prints the tokens Verdict::tokens marks decided; NarrowedHold narrows nothing off a lane and has no Default; GraphView::merge_base replaces two copies; docs drop ticket ids and history; the new table pin went red with an absence always counted (0 passed, 1 failed), never counted (0 passed, 1 failed), the ticket and perf exemption back (0 passed, 1 failed) and the refusing span unset (0 passed, 1 failed); the suite is green at 2264 passed, 0 failed, 6 ignored (mtouwnlp) af371056 · dbf3dbe6…diff
  • a land refuses an absent path as a revert only where some line of parents from the lane tip back to landed main history never held it, so a lane that adopted main and then deleted or renamed a file main added lands again, while a stale merge that drops a perf point still refuses; ticket files and perf points of other lands are no longer exempt; the refusal records reverts as its refusing span, the Reverts-Landed trailer is read once before the harbor from the landing change trailer block, with paths spelled as store keys and all counted only as the whole value, and the remedy names the paths; lane new writes the birth before the entry is listed; the salt fallback on a filesystem without hard links stages the salt and renames it over a create-new claim, and a short salt past a minute is written again; a lease breaker that cannot lock breaks unserialized instead of waiting forever; the adopt replaced-version vet reads history without the read memo and names loot new -m, with --allow-primary in the primary; the settled line prints the tokens Verdict::tokens marks decided; NarrowedHold narrows nothing off a lane and has no Default; GraphView::merge_base replaces two copies; docs drop ticket ids and history; the new table pin went red with an absence always counted (0 passed, 1 failed), never counted (0 passed, 1 failed), the ticket and perf exemption back (0 passed, 1 failed) and the refusing span unset (0 passed, 1 failed); the suite is green at 2264 passed, 0 failed, 6 ignored (mtouwnlp) (conflict resolution: crates/loot-cli/src/workspace/reconcile.rs) 4ffe634a · dbf3dbe6…diff
  • the pending delta of loot status reads each object it compares once and keeps none: the content compare now also answers the published marker and the visible_object gate from the same read, through the new Readable::vouch_digest_once over get_unmemoized, and keeps those two answers per object in DeltaSide::seen, so the rows, the retier check and admit_visible ask them instead of the read memo; resolve_delta takes a Reopen choice that only working_delta_into sets to Never, so every other door keeps the memo. over 64 files at 1 and 2 MiB the heap peak of status over a dirty tree, described or not, went from 0.66 and 1.27 MB to 0.11 and 0.16 MB, with object disk reads unchanged at 64 and 65 and object gets down from 129 and 130 to 65 and 66; on a 9,300-file copy of this tree max RSS of a dirty status fell from 51-54 MB to 37-40 MB; status and diff print byte-identical output in every format over clean, dirty, described and drifted scratch repos, and the gated perf counters did not move; a status over a clean tree still holds every object through the working preview, unchanged at 0.63 and 1.24 MB. a perf change off the must-test list, so no test was added; the suite is green at 2266 passed, 0 failed, 6 ignored (yzpsnvvt) 9fed6c0f · dbf3dbe6…diff
  • grant expiry binds the merge, the pick, the conflict view, onward grants and the self-deposit (ADR 0114 §2 to §4): the merge oracle passes Lapse::Closes, so a merge relays a side past the grant expiry of this identity, printing a line per path that it kept yours, and a lapsed base falls back to the two-way; a cherry-pick skips such a path and names it; loot diff --conflict hides that side; loot grant refuses a lapsed key by either frame; a push standing self-grant and a proposal self-deposit carry the recorded expires_at and leave a lapsed key out, the runner, agent and owner deposits untouched; the holding table grant-lapsed rows move to merges = false and ADR 0114 status says what is built; route pins red under their own mutations (the oracle at Lapse::Ignored 2 failed of 2, no lapsed naming, no file-grant gate, no sealed-grant gate, no conflict-view gate, a self-grant carrying None and a planned lapsed key 1 failed of 1 each), restored; suite green at 2438 passed, 0 failed, 6 ignored; the runner, agent, owner and embargo deposits that still hand on a lapsed key are filed as monkxzrz (sllommkt) 2c89e7aa · dbf3dbe6…diff
  • loot new signs a working change whose only changes are re-seals, as the operator decided on 2026-10-11: same_tree_content compares the @world marker under Markers::Compared, so finalize keeps the capture and loot new --allow-publish publishes, live_working_row gives status --json a version and loot log a non-empty working row, holds_work and catch_up_blockers count it as work at a land, adopt and the ferry reconcile count a re-seal as work only in a working change held before the verb, and the premature-new hint in ferry moves with them; capture_due, auto-snapshot, the overwrite guards and lane take stay content-only. Without it the ferry_burned_path pin read a null status version (1 passed, 1 failed) and the new primary_state pin read Clean (0 passed, 1 failed); full cargo test green, 2444 passed, 0 failed, 6 ignored (quxupmoq) 2c686e11 · 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.