connor / loot

connor/loot

Changes touching this path

  • verbs/: seam scaffold + the repo family (init/clone/config) (#661) 28849eaa · dbf3dbe6…
  • verbs/grants: the mailbox family (grants/pull-grants/purges) (#661) faaacc8f · dbf3dbe6…diff
  • emit_snapshot calls verbs in-process; test-support feature retired (#661) 8033f451 · dbf3dbe6…diff
  • the relay's grant mailbox authorizes before it parses, and a read addresses only the caller's own (#621) 4b349b72 · dbf3dbe6…diff
  • the grant lane is fixed-width and acked, so a deposit frames no length and a read destroys nothing (#818) Closes #818 and #816, deliberately together. Both are hard wire breaks on the same two endpoints, and #818 said so itself: landed separately it buys a second relay-before-clients redeploy for a shape improvement. Landed as one, the grant lane breaks once and comes out uniform. #818 — the deposit body is `[recipient pubkey 32][grantor envelope...]`. `split_deposit` is still the only thing that runs before authorization, and it is now a constant-size slice: no length field, no UTF-8, no hex decode. This was never a vulnerability — the old length was attacker-controlled but correctly bounds-checked, and #621 already moved `Frame::decode` below the gate. What it was is a shape every future reader had to re-verify, and a "the grantee is a key" rule enforced by a validator that a later well-meaning change could relax. A fixed-width field cannot be relaxed. The mailbox index stays hex-keyed on disk, so the relay now mints that hex instead of parsing the caller's spelling. #816 — `/pull-grants` returns the due blobs and keeps them; a new `POST /grants/ack` names the content addresses the caller durably applied and drops exactly those. Handing bytes to a socket was never proof of receipt: the connection can drop, or `apply_sealed_grant` can fail after they arrive, and the grant was then gone from both sides. `loot pull-grants` acks only what it applied or quarantined — anything that hit a `skipping` branch stays pending, or this would be drain-on-read wearing an extra round trip. An ack is scoped to the acker's own mailbox, and since blobs are content-addressed a shared file is unlinked only when no index entry anywhere still refers to it. This also shrinks #621's accepted replay cost: a replayed read envelope now re-reads bytes the holder already had instead of destroying them. Not a format major, in either half — store and bundle formats are untouched and the on-disk mailbox index is unchanged, so a relay carrying pending grants keeps them across the redeploy. Recorded as the second amendment to ADR 0015 (2026-08-07), with CONTEXT.md's grant-allowlist, grant-discovery and forge entries corrected to match; the forge lost one of its four named differences from a relay, because the relay adopted it here. a5e2ffcf · dbf3dbe6…diff
  • a lane carries its own hold, and custody crosses back whole at finalize (#811) 941cafb9 · dbf3dbe6…diff
  • a key's provenance is stated at the one door, and a grant is refused at the two that bypass it (#864) 82e06601 · dbf3dbe6…diff
  • a push deposits this identity's own keys: a standing self-grant carries Restricted custody to the second machine, so a same-identity clone opens what it authored (#980) 684f37cb · dbf3dbe6…diff
  • a relay's deposit stops standing in for the forge's: the push-time dedupe moves off the Manifest onto a per-remote deposit ledger, so relay-first Restricted custody reaches the forge inbox the browser reads (#1052) 499739af · dbf3dbe6…diff
  • the forge serves the peek it always served the fetch for: /grants/peek mounted on both mounts, and a peek now says how much of its count is standing self-custody instead of inviting the ADR 0057 alarm (#1114) cc003626 · dbf3dbe6…diff
  • the peek stops telling a fresh second machine there is nothing to receive, the glossary catches up to #1114, one predicate decides standing self-custody, and the shared warn gets its provenance back (#1120) e9544471 · dbf3dbe6…diff
  • pull-grants stops naming the relay for a host that may be a forge: kept there, left pending there, and the ack failure names the URL it missed (#1122) 382441ba · dbf3dbe6…diff
  • custody at rest seals to your own key behind an optional passphrase, unlock is a session file or an env var, and no non-interactive caller starts prompting (#1138) c8ffee3b · dbf3dbe6…diff
  • deleting a named read on Workspace stops being free, because the 377 places that reached past it into the engine and the store now go through those faces instead — repo() no longer exists, store() is module-private, and the three extracted children share their fixtures by name rather than through the parent's private test module (#1411) c454db04 · dbf3dbe6…diff
  • loot seek answers for a loot repository on a relay or a forge without a working tree and without its bodies, and does so beside #2043 rather than behind it: a loot host, named by a loot+ URL, by an http URL whose info endpoint answers, or by a bare word the ambient repo config resolves as a remote name, is read through a body-less cache position, an ordinary loot store under the cache home that copies the ambient repo keypair, or the one --identity-from names, and never mints one, because a fresh key is 403 at a forge and reads only Published on a relay. each invocation refreshes it with the metadata half of a pull only, the closure-declared fetch every bounded pull starts with, ingested at depth one and with no wants round, through the routed transport a pull already uses, and collects a forge standing self-grants as clone does. a key rides beside its ciphertext, so a body-less change carries no key: a listing gates on the tier the tree records, Internal listed and Restricted or a live Embargo counted sealed, and the real key gate decides after a search or a read has fetched the listable bodies in one batched round, only those the store does not hold. the store already tolerates withheld bodies and this verb never reads one it has not fetched, so the fifth kind of absence #2043 would name is never classified here; what #2043 still owes stays its own. the workspace gains the two thin seams, pull_metadata_via and fetch_objects_via, and a holds check the engine now exports. ADR 0090 records the decision the map left to #2043, in docs/adr where a decision lives: the cache directory is this verb alone, the private key copy is refused for a sealed source and a failed make leaves none behind, offline is a refusal never a stale answer, and grants are collected without acking so a peer grant is never consumed into a cache. the two-axis review before landing put the pull doc back on its function, made the listing gate Internal-only because an embargo key has no bundle lane even after its instant, refused a multi-head remote without --at, excluded burned objects from a prefetch, probed the host once per invocation, made --identity-from a plain word read from the process directory, split collect_grants out of pull-grants with the ack a choice, folded the loot loop into loot_answer beside git_answer with one row push, and pinned the refresh closure declaration, the cache object store through the binary, and a remote name resolving to the same cache. the unit tests pin the seams over the in-memory relay, the tier gate, the object fetch that brings only what was asked and declares the closure, a refresh that sees a later change at depth one, and the cache over a spawned relay carrying the source identity; the spawned-binary pin pushes the fixture to a relay spawned in the test, holds the remote listing to the local one by path and visibility with the sealed path withheld and counted, checks the cache identity is the repo's, reads a body verbatim, refuses from outside any repo naming --identity-from, and answers with it. red under mutation: the metadata pull asking for every object (0 passed, 1 failed), held bodies fetched again (0 passed, 1 failed), the object fetch declaring nothing (0 passed, 1 failed), an embargoed path listable without its body (0 passed, 1 failed), the cache minting an identity (0 passed, 1 failed), a second open making a second position (0 passed, 1 failed), and the refresh skipped (0 passed, 1 failed). no migration, no wire or format byte moves, and no forge or relay byte moves, so this owes no deploy. the workspace suite is green (3972 passed over 123 binaries, 7 ignored) (#2092) 669baef4 · dbf3dbe6…diff
  • a push against a forge head it does not hold refuses before any upload, and a long-running verb no longer writes an older position over a newer one: stow_batches reads the heads of a forge on /ref with the failure kept, where an unanswered /ref or a forge head this position does not hold read as a have of nothing and stowed the whole history into the nginx 413 of the PR 2531 land, and from a complete position it refuses a push past a forge head it neither holds nor retires with the first line of the forge refusal, which /ingest still makes; DagRepo::save_to and Workspace::persist write the heads, working change, conflict set, settled ledger and draft slots only when the handle changed them since it read them, and refuse when another command moved them in between, where every save wrote them from memory and a loot pull-grants open for forty minutes put the head back under a land adopt; pull-grants files its keys and saves once, before the ack, where it persisted once a grant; a save records what it wrote rather than reading the position back, so store_file_reads stays at 24 on the gated workload, where a read-back after each write took it to 28 and the land was refused. pinned: a_push_against_a_forge_head_it_does_not_hold_refuses_before_any_stow over a proxy logging each request, a_forge_whose_ref_cannot_be_read_refuses_the_push, a_pull_grants_opened_before_the_position_moved_does_not_move_it_back, a_save_that_did_not_move_the_position_leaves_a_newer_one_alone and a_save_that_moved_the_position_refuses_over_a_newer_one. red under named mutations, each restored: the forge heads swallowed as before (2 failed and 1 passed over the three sync tests), no unseen-head refusal (1 and 2), the old save that always writes (2 failed and 0 passed over the two engine tests), every position read as changed (1 and 1 over the engine tests, 1 and 2 over the sync tests), no moved check (1 and 1), the draft slots read as changed (1 and 2), the working change left out of the compare, so a finalize was not saved (2 failed and 1 passed over two deposit tests and a snapshot test), and an empty heads set held apart from no heads file (3 failed and 0 passed over a mergetool, a relay push and a dock-files test). a push to a namespace of another key is now refused at /ref, before /wants could name the ownership rule. cargo test green, 4876 passed over 144 test result lines with 15 ignored, and the site gate green at 915 passed. the change lane is still not bounded by the batch budget, so a first push of a history larger than the body cap to an empty forge still fails, left for a follow-up. the perf gate reads no move. owes no forge deploy; lands use the push refusal once the release binaries of the primary are rebuilt; it also files kqzkruyv, the unbounded change lane, and kzknpprm, the phantom deletions of folded files (kkpruryt) 868cea49 · dbf3dbe6…diff
  • loot pull-grants asks a forge from a cursor, where it fetched and filed the whole mailbox on every run: the cursor the forge issues with each answer is kept in .loot/grant-cursors per canonical remote and mailbox key beside the keyring, read by the grant collection and by no open and no save, written after the keys are saved and never past a grant left pending, and a cursor the forge refuses as a bad request is asked again from the origin once; a relay, and the first run, pull the whole mailbox as before. the apply says whether it filed a key, so a pull counts the grants already held and prints the surface hint only when it filed one. on a copy of the desktop store against the live forge a whole pull of 8,612 standing self-grants took 102 s before and 96 s after, and the pull after it 0.33 s with a 21 byte answer. the 142 s the ticket put on the re-apply was the 52 MB answer arriving, 132 s timed inside the verb against 0.68 s for the loop that unwraps and files the grants, so skipping held keys was not built. red under named mutations, each restored: the kept cursor never sent (3 failed and 1 passed), no fallback on a refused cursor (1 and 3), a delta answer dropped (2 and 2), the cursor moved past a pending grant (1 and 3), held grants not counted (1 and 3), the surface hint unconditional (1 and 3), and a save that reads the cursor file (1 and 0). cargo test green, 4907 passed over 145 test result lines with 15 ignored. CONTEXT.md and ADR 0057 say so (wvyrkooo) 1d53db98 · dbf3dbe6…diff
  • loot pull-grants keeps the cursor it asked from when the ack of the grants it filed fails, where it moved past them, so the forge kept them un-acked while this store never fetched them again, and stderr now says the next pull fetches them again to ack them. which grants hold the cursor is read off the refusal type: an envelope or frame of a newer version than this build reads, a quarantine write that failed, and an apply refusal that never_applies does not name hold it, while an envelope or frame that does not read, a frame that is not a sealed grant, an expired grant and a key not sealed to this identity are named on stderr as grants that can never apply here and no longer hold it, where one such grant in the first answer kept every pull a whole pull. a failed unseal carries the unauthorized code. the wvyrkooo pin of a grant left pending used a key not sealed here, so it now pins that such a grant is passed, and the hold is pinned by a failed quarantine that the next pull quarantines and by a newer frame and envelope. the forge cursor carries no instance identity and the forge has none to give it, so CONTEXT.md, ADR 0057 and grant_cursors say that any forge whose deposit orders start again below a kept cursor, restored or a new instance behind the same URL, misses the same way until .loot/grant-cursors is deleted. red under named mutations, each restored, each 1 failed and 0 passed: the failed ack ignored, the old ack wording, an expired grant held, a key not sealed here held, the unseal left a backend error, a bad envelope held, an unreadable frame held, a failed quarantine passed, a newer frame passed, and a newer envelope passed. cargo test green, 4919 passed over 144 test result lines with 15 ignored. owes no forge deploy (lxmysqxp) 71d7905c · 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
  • the seal-WIP refusal of a bare loot adopt or loot ferry now counts deletions as loot status classes its rows, so the source of a recorded move is not one, where it counted every path gone from the tree and sent the reader to restore a move source, which turns the move into a copy; a workbench releases its SessionCache when it unmounts, which closes it then unless a write the unload guard counts as unsettled still reaches it, and then once none does or at the Lock, where each mount of one long unlock kept its cache to the Lock; a retired key is refused by the guard each unlock runs and by the passphrase save, where 24 words for one unlocked and stored the seed; an unlock ended by a lock whose seed removal fails says both, and the record is named for removal, in localStorage and in the tab, so a silent unlock that sees the name removes it before it recalls anything, or throws. also Tag::of matches the Tag discriminants, a debug_assert stops a settled count above the answer, the wire.rs body time claim names the readers it is true of, the unknown-tag hold is documented as unbounded by choice, Response::bytes takes the body without a copy when nothing else holds it, and a read into no room is not the end of a body. red under named mutations, each restored, failed and passed: a move source counted (1 and 1), no deletion counted (2 and 0), an empty read taken as the end (1 and 11), a branch counting twice (1 and 0, on the assert), and of 41 site tests: release never closing (1 and 40), release closing what a write reaches (1 and 40), a settled write not closing it (1 and 40), the guard not telling the cache (1 and 40), a closed cache kept in the set (2 and 39), a retired key let through (3 and 38), the removal failure replacing the end (1 and 40), the recall ignoring a noted record (2 and 39), no note before the removal (2 and 39), any record removed while one is noted (1 and 40). cargo test green, 4934 passed over 145 test result lines with 15 ignored, and the site gate green at 1026 passed. CONTEXT.md and ADR 0096 say so. owes a site deploy (ylopkxsk) 771ec092 · dbf3dbe6…diff
  • a refusal of a moved position now names each file another command moved, read off the fields of PositionState and of the draft slots, each destructured whole, where it named the heads, then the working change, and otherwise the conflict record, so a move of the settled ledger alone was named as the conflict record, and the draft check named every move its working change, a move of the pending handle included; a pool item whose run panicked is caught and finished, so the land test gate no longer names it as running until the pool ends, and the first such panic is carried out once the rest finish; a Tickets entry from Files while the manifest is still loading asks the list fetch from that manifest once it answers, unless the route answered first, where it asked only from a manifest already held. pinned: a_refusal_names_the_settled_ledger_when_only_it_moved, and the heads named in a_save_that_moved_the_position_refuses_over_a_newer_one, in loot-core; a_finalize_refused_over_a_moved_tip_names_the_heads, the arm tnlrmsmo named, and a_retry_over_unchanged_inputs_signs_the_version_id_the_refusal_left, which pins its version id claim, in loot-cli; a_panicked_item_is_not_named_as_still_running; and two site tests of a manifest in flight. red under named mutations, each restored, failed and passed: the ledger named as the conflict record (1 and 1), an unmoved working change named (2 and 0), the position check off (1 and 2), the pending handle named as the working change (1 and 2), a load that lets the pending handle win (1 and 2), the panic uncaught (1 and 14), a panicked item left unfinished (1 and 4), the panic not carried out (1 and 0), and of 29 site tests: an in-flight manifest ignored (1 and 28), a read that always waits for it (1 and 28, on a timeout), and no stop check (1 and 28). the ownership message is left at /wants for a pusher the custody list admits, decided and noted in forge_push.rs. doc fixes: save_to and persist no longer say each shared artifact merges, burned_under_lock names its lock as one of BURN_LOCKS, the disk record settles say what defines their callers, the grant cursor reads say what is pinned, the object cache says a repeat visit fetches a published object again and that the per-file bound is no share of the cache, vault.ts says what openDevice is exported for, the qktqvvzr sentences in CONTEXT.md and the land-change skill carry the dock condition, gc_keep_set names the leak a refused finalize leaves, .gitignore names .lootignore, and rewrap leftovers in orchestrator.rs, CONTEXT.md, workflow.md and grants.rs are joined. cargo test green, 4938 passed over 144 test result lines with 15 ignored, and the site gate green at 1028 passed. also closes qpxmrnxm and tzuxsroy. owes a site deploy (oxuypvlz) f557daaf · dbf3dbe6…diff
  • loot grants --trust files every quarantined grant of the sender and then saves once, as pull-grants does since kkpruryt, where it saved after every grant and each save read and rewrote the shared artifacts it merges: a trust of 4 grants made 30 more store file reads than a trust of 1 beyond their quarantine listings, 3 saves of 10 reads each, and now makes the same number; a grant leaves quarantine only once that save has returned, so a save that fails refuses the whole trust with every grant still quarantined, where a failing save had each grant it met reported as failed to re-apply and the trust returned success. pinned: a_trust_of_several_grants_saves_once, counted with store_file_reads as a relation between a trust of 1 and of 4 grants less their quarantine listings, and a_trust_whose_save_fails_leaves_every_grant_quarantined, with the keyring made unreadable under the save. red before the change (2 failed and 2 passed over the grants tests) and under named mutations, each restored: a save per grant (1 and 3), each grant cleared from quarantine as it is filed, before the save (1 and 3), and the failed save swallowed (1 and 3). cargo test green, 4951 passed over 144 test result lines with 15 ignored. CONTEXT.md says so. owes no deploy (nqzrszwo) 28fe43f4 · dbf3dbe6…diff
  • a save writes the grant manifest before the keyring and escrow, where it wrote it after them, so a save of filed grants that wrote the keyring and then failed left each key held with no manifest row, and every retry, loot grants --trust or loot pull-grants, found the key held and by the #503 rule recorded none: the store INVENTORY, the save walk order, now puts the manifest row ahead of the custody it records, and a save that fails between them leaves the row, which the retry files the key under. the #503 rule itself is unchanged, since recording a row for a key already held is what lets a peer name itself grantor of content held here. pinned: a_save_that_fails_after_the_keyring_leaves_the_manifest_row_for_the_retry, with the escrow made unreadable under the save, red before the change (1 failed and 4 passed over the grants tests, 0 rows of 2), and a_trust_whose_save_fails_leaves_every_grant_quarantined now asserts the rows are written and no key is when the keyring is unreadable. red under named mutations, each restored: the old order (2 failed and 3 passed), and the manifest between the keyring and the escrow (1 failed and 4 passed). cargo test green, 4952 passed over 145 test result lines with 15 ignored. CONTEXT.md says so. owes no deploy (rtqpwklo) 9e380a5f · dbf3dbe6…diff
  • a save writes the custody rows before the graph, the manifest, the keyring and the escrow and then the graph, where the graph came first and 5244a69 put the manifest between it and the keyring, so a save that failed at the manifest or the keyring after a finalize, a migrate or a maroon re-seal under a fresh key left a signed node in the graph and its key unsaved; now it leaves keys no node names and the retry writes the node, and a load, which reads the graph before the keyring, reads that pair in the reverse of the save as #778 asks. pinned: a_save_that_fails_at_the_manifest_leaves_no_node_naming_an_unsaved_key and a_save_that_fails_between_the_keyring_and_the_graph_leaves_the_keys_and_no_node, red before the change (0 passed and 2 failed) and under named mutations, each restored: the old order (0 and 2), and the graph between the keyring and the escrow (1 and 1); the rtqpwklo pins stay green. a later grant replaces a manifest row that had expired when it was granted, in Manifest::record and in the save merge, which keeps a row whole where it took the times of one row and the grantor of the other, so a row a failed save left with no key and that then expired no longer names its grantor as entitled to maroon the key a later grant filed, or hides the path that grant opened. pinned: a_later_grant_replaces_a_row_expired_by_then, a_merge_keeps_the_later_grant_over_a_row_expired_by_then_whole and a_later_grant_replaces_an_expired_row_left_with_no_key, red under named mutations, each restored: no replacement (0 and 3), a merge that ignores it (2 and 1), a merge that copies the times alone (2 and 1), and a replacement by a grant expired when made (2 and 1). a shallow push refused for a forge head it has not seen names loot fetch --deepen all beside loot pull, since a pull does not take in a head behind the cut and the deepen does, and a forge takes a declaration that holds such a head beside its descendant. pinned: a_shallow_push_against_a_forge_head_behind_its_cut_names_the_deepen, over an ancestor pair the forge took, red with the remedy dropped (2 passed and 1 failed over it and the kkpruryt and ntzsvkkv pins). that refusal walks the reach of the declaration once and hands it to the retired-head rule, where the two walked it apart. loot id rotate reports a grant whose key this repo does not hold, where it said no longer holds, and rotate_regrants, save_filed_grants and a grants test heading say what the code does. ADR 0098 is rewrapped and amended, and CONTEXT.md says so. cargo test green, 4959 passed over 145 test result lines with 15 ignored, and the perf gate dry run reads no move. owes no deploy (ylrtootl) 3f301745 · dbf3dbe6…diff
  • a standing self-grant carries the key alone: a push deposits it with DagRepo::grant_key_only, and the browser ticket write too, where each body carried a copy of its object ciphertext; a forge filing a key-only standing self-grant (grant::Deposit::supersedes_standing, its grantor its grantee, no object, due and never expiring) drops the other self-grants of that object in that mailbox (GrantInbox::supersede_standing, one keyed statement over the columns of migrations 0030 and 0032, no migration of its own) and says standing_supersede in /info; loot grants --replace-standing reads the mailbox whole and re-deposits each full self-grant this identity signed as its own header with an empty body, at a host that says standing_supersede; the browser device database moves to version 5, whose upgrade drops the grant cache and its cursor once. ADR 0057 and CONTEXT.md say so, and no reader of a standing self-grant this change found takes the object from its body. pinned: a_key_only_standing_self_grant_supersedes_the_full_one over memory and Postgres 18, the_standing_supersede_asks_the_index_by_address, only_a_due_key_only_self_grant_with_no_expiry_supersedes, a_standing_self_grant_carries_no_object_and_a_timed_one_carries_its_own, replacing_the_standing_self_grants_leaves_one_key_only_grant_an_object_that_still_opens, a_self_grant_carries_the_key_its_header_names_and_no_object and the site upgrade test; red under named mutations, each restored: no drop at filing (2 failed and 2 passed over the four supersede tests), a full self-grant replacing (3 and 1), an expiring one (3 and 1), a grant to another key (1 and 3), an undue one (1 and 3), the memory drop ignoring the signer (1 and 3), the Postgres drop ignoring the signer (1 and 3), the Postgres drop taking the grant it keeps (2 and 2), the drop not keyed by address (1 and 3), the push depositing a body (1 failed and 0 passed, twice), no capability check, key-only grants replaced again and the replacement keeping its body (each 1 and 0), the ticket self-grant carrying an object (1 and 0), no drop on the upgrade (1 failed and 18 passed). cargo test with the live suites over Postgres 18 green, 5017 passed over 144 test result lines with 15 ignored, and the site gate 1094 passed. owes a forge deploy, then the replacement run, then a site deploy (kwxvxtqm) 1f363845 · 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
  • a test is kept only for a bug whose damage outlives its detection (ADR 0105, docs/agents/testing.md): disclosure, durable bytes, signed history, silent-pass refusals and machine contracts keep their tests, everything else is trusted or fixed fast, and assertions are on outcomes, never prose. the implementer brief asks that question before a test is written and owes a mutation proof only for a must-test pin. the suite is cut to it in one pass, Rust test functions 4848 to 1665, site vitest cases 1307 to 258 and SDK cases 160 to 64, with the living docs and comments that named deleted tests corrected and ADRs, tickets and released migrations left as history. cargo test green at 1945 passed with 6 ignored, the site gate green at 240 passed, the SDK at 75 passed with its one known macOS path failure from before the cut (ruwknvpw) 61f0184b · 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
  • review sweep 10 fix-ups on the perf afk-loop lands: the pull-grants that brings the key of a held-back path, the earlier copy a pull or tree write kept on disk because this identity could not open the version the tip records, now writes that version over the copy and retires its stale-disk entry, naming the paths it wrote and those left because their files changed, as grants --trust does, where the disk kept the stale bytes while status read clean; status lists each held-back path as a row of its own, and status --json and surface --json carry a trailing held array, recorded in the ADR 0023 ledger with porcelain unchanged; the hosting relay script takes its linux targets from the release pins in virtual:loot-release, with an arm saying the release has no build for an unavailable triple instead of dying on an unbound VERSION, so the entry chunk gains no bytes; the two prune filters share DagRepo::prunable_onto, which errors on a missing tree, materialize_target takes from before to, and surface_listing groups what it did not write; docs narrow the refused-verdict tail claim, trim the CONTEXT Absence entry, and drop the ADR 0022 date stamps, the store reason ticket and count, and ADR 0075 history; red without it: the new spawned two-identity pin went 0 passed 1 failed on the held status row before the change, and again with the pull-grants write dropped and with the held listing emptied; the site gate passes 348 and the suite is green at 2186 passed (pznnpllz) 0edeec71 · dbf3dbe6…diff
  • review sweep 11 fix-ups on the perf afk-loop lands: pull-grants writes a held-back copy under the store lock and only while the position and the stale-disk entry of that path are as it read them at open, where a land adopting a version sealed away between its open and its write had it write the version it read over the copy and retire the entry, so the next capture recorded that version over the one the tip records; it names the paths it left for a moved position; pull-grants and grants --trust write only for keys the run newly filed, where a re-delivered standing self-grant wrote over a copy pull --no-surface left; the forge-view record keeps of each bundle only the changes the current forge heads reach past landed main and the objects an overlay reads, re-encoding a bundle it cuts, so a head that goes away takes its line out of the record, 99134 to 797 bytes in the new pin, while a re-read still costs 2425 bytes against 101721 cold; the object fetch names every current head, fetched or already held; status --json and surface --json name the held-back paths held_back, CONTEXT gives Held back an entry of its own and trims Absence, ADR 0022 drops its amendment stamps and consumer list, ADR 0023 says held_back, and the emit, server, grants and zmoqkzro test docs are narrowed; HeldCopies and Collected replace bare tuples, custody::surfaced builds the surface listing for surface and pull, and pull prints no listing for a surface that wrote, skipped and missed nothing; the notify-sender live pin gives the unauthored proposal an owner with an account and asserts she is told; red without it: the two pull-grants pins went 1 passed 2 failed over their filter before the change, 2 passed 1 failed with the position check dropped and again with every applied key passed on, the record pin 14 passed 1 failed with whole bundles kept, and the notify pin 87 passed 1 failed with a proposal dropped whole for an unauthored tip; the site gate passes 348, the site live suites 88 on a throwaway Postgres 18, and the suite is green at 2194 passed (kxyqkovl) bfe73207 · dbf3dbe6…diff
  • loot peer add re-applies the grants pull-grants quarantined from the key it registers, by the steps grants --trust runs, and grants --trust registers nothing when a peer already holds the key, so a grantee who names the grantor after the pull reads the path, red before the fix (0 passed, 1 failed); a maroon of an identity that holds nothing on the path, the state a maroon leaves, re-seals and signs nothing and exits 0, where a second run minted a second object and a second signed change, red before the fix (8 passed, 1 failed); the telemetry verb count is appended only while telemetry is on, after the verb, and an off run removes the file, which had grown with every verb on machines that never opted in (18.7 MB on the desktop), red before the fix (1 passed, 1 failed); the grant guide, CONTEXT.md, the review-quarantine runbook and ADR 0074 say so; cargo test 2595 passed (oqtrotum, wmzmnnzn, msmywmlw) 2ae8c7bd · dbf3dbe6…diff
  • the verbs on a newcomer journey print one JSON object under --json, contract first: push (remote, host, objects, batches, bytes received, the forge tip, the plan notice and each agent still owed keys, with its narration moved to stderr), clone, pull-grants, grants and grants --quarantined, grant-status, whoami (which gains the 64-hex key a forge names you by), doctor (the report with exit 1 on a failing check), remote add, remove, list and info, and peer list; a clone the remote served no change to refuses with code nothing_served and keeps nothing, where it left an empty repo and exit 0, and --allow-empty keeps that repo when asked for; emit gains JsonObject, Record and narrate for a verb whose only machine format is --json; the two forge_push tests red before the change (0 passed, 2 failed); cargo test 2610 passed; the verbs not reached are filed as nkszyvwz (oqryvmzk, vvwqults) b0a2593d · dbf3dbe6…diff
  • the verbs the audit named answer one JSON object under --json, and every id and lane leaf takes it so the refusal codes minted for them reach a caller: init, show (its header, then rows and disclosure as diff --json spells them), verify (the report, printed before the refusal when the store fails), op log, tickets and ticket frontier (rows by name, the frontier with the live lane holding each ticket), grant in both forms, grants --trust and --replace-standing, maroon, migrate, peer add and remove, keygen, the ten id leaves, unlock, lock, and lane take, name, land, rm and gc; each object is built from the values its prose is built from and its usage line names its fields; needs_terminal, rotation_is_the_forges, lane_holds_unsigned, lane_holds_unlanded and lands_through_mirror now print as coded errors, and the exit-codes page lists the six it lacked; the rotated key 403 remedy and the id rotate forge refusal name loot account add-key --retire-this for a keyed account ahead of the account page, which only a signed-in person reaches; agent list --porcelain stays frozen with --json beside it; one smoke test pins every object key set and the five codes, where the released 0.4.39 refuses init --json as an unknown flag; cargo test -p loot-cli 594 and 186 passed, the site gate 413 passed (nkszyvwz) 4f811849 · dbf3dbe6…diff
  • every write answers --json with what it wrote, and every verb form takes a machine format or a written exemption held by a census test (ADR 0122): 78 forms without one become 13 exemptions; the refusals an agent branches on carry their own codes, two of them the forge app's to say; plan refusals name loot plan upgrade; unlock and id lock take --passphrase-file; pull --json counts the paths it left sealed; the login refusal names the keyed route; loot update refuses over a linked build and a ticket write refuses in a primary that lanes share (rkumrwrk, mmppxtww, tvonnmqo, koqxltqm, svrkqxqu, sptuokrx, lvqmsuzl, utokolzp) e7002bc6 · dbf3dbe6…diff
  • taking an agent's proposal into a lane lands, a ticket filed in the primary no longer blocks loot lane land, and every verb reads a key in hex or as the whoami line: loot propose --take in a lane fetches the stack, refreshes the lane's hold and refuses with proposal_sealed_here, the lane's tip and tree standing, until the primary holds the proposal's keys, then brings the lane onto the proposal by a fast-forward or a signed fold; loot agent add files the agent's key in .loot/agents, which pull-grants reads as an unquarantined grantor and nothing else reads, so the owner's own agent is no unknown key and gains no burn-trust; loot lane land reads primary bytes the lane's change holds as covered and its refusal names the paths the lane lacks and a drop command that works on captured bytes; one verbs::key_arg reads a key on every verb, door::key_arg naming the same reader, and peer add files the OpenSSH line of a key given as hex and refuses what is neither with bad_key; red with each fix off (the lane land test 0 passed, 1 failed; the agent and peer round 48 passed, 3 failed; the take and trust round 49 passed, 2 failed), cargo test -p loot-cli -p loot-identity green, and the agent journey run against a local loot-forge --dev (yqoyslok, ysxzstvv, mkvqpmny) f8252a7c · 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.