connor / loot

connor/loot

Changes touching this path

  • day 0: loot hosts loot f4c30e75 · dbf3dbe6…
  • evidence: crew minted and verified (#86) 1fada823 · dbf3dbe6…diff
  • normalize working tree to LF: byte-stable co-located bridge (.gitattributes -text) e58fdda6 · dbf3dbe6…diff
  • Authenticate the purge lane: a purge is a signed request (#503) A wire purge carried only an oid and yielded an unauthored tombstone, and stow honored it before storing objects -- so any authenticated pusher could destroy any oid across every tenant, needing no key, only the address. ADR 0038 already called a purge event a request asking cooperating relays and peers to destroy their copy. Cooperating meant nothing: loot honored anyone. The signature now says who is asking; a per-receiver policy decides whether to honor. Peers honor registered senders and quarantine strangers; relays honor their push allowlist. Local burn is untouched and needs no key -- only propagation requires a signature, so a keyless repo burns locally and refuses to propagate, explicitly. No global entitlement predicate exists: ChangeNode.tree is a full manifest and loot duplicate copies a tree address-for-address, so authored-a-change- referencing-this-oid is satisfiable by any cloner. Both withdrawn rules have regression tests. Format 9 to 10. A v10 reader parses a legacy purge lane and drops it, so no unsigned request is honored while the rest of a v9 bundle still decodes; an older client hard-fails on v10. Destruction is structurally unreachable without verification: HonoredBurn has a private field and authorize_burn is its only constructor. Both halves are signed, with domain-separated schemes -- without tags a maroon signature re-encodes byte-for-byte as a burn tombstone at path length 31. Maroon entitlement is an exact Manifest grantor join, and a grant only records a grantor when it actually installed a key, so a crafted grant cannot plant one for content you already hold. Closes #503. 913c5cc6 · dbf3dbe6…diff
  • the docs gate themselves: a land refuses a link that resolves to nothing, five rotted ADR cross-links are fixed, every amended ADR warns in its status, and the artifact sweep retires with its producer 586e3260 · dbf3dbe6…diff
  • loot maroon refuses while a working change is in progress, where it signed a change built on every head, the working change among them: the re-seal took its tree from current_tree and its parents from heads, so the content of that change travelled under the maroon signature past the finalize gates loot new runs, a .env reached a peer holding no grant with exit 0, and the peer held the signed maroon over a parent no bundle ships. the check sits in maroon_inner, which forward and hard maroon share, before anything is sealed or recorded, and it covers a working change that holds no edit, such as one describe named over a clean tree, and one the implicit capture of the maroon has just recorded; the refusal names loot new as the route. building on the finalized tip was rejected, since the working change would stay a sibling head pointing the path at the old object. ADR 0010 gains a #2467 amendment, and CONTEXT.md, the help line and the maroon-identity skill say what maroon signs. a #1485 test whose maroon arm signed over a described working change now finalizes first and takes --no-snapshot, the spelling on which no upstream read promotes the key, and it stays red with the maroon flush deleted (0 passed and 1 failed); a relay purge test signs its anchor. pinned through the binary, red first: the peer read the .env and held two heads (2 passed and 3 failed over the maroon smoke pins). red under named mutations, each restored: no guard (11 passed and 1 failed over the engine maroon tests, 2 and 3 over the smoke pins), refusing only a working change that holds an edit (4 and 1 over the smoke pins), the hard arm unguarded (11 and 1 in the engine), and the refusal after the change is recorded (11 and 1 in the engine). no format, wire or migration byte moves, so this owes no deploy. cargo test green, 4671 passed over 142 binaries with 13 ignored (#2467) d03ee3f9 · 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
  • under loot new --no-snapshot, and wherever the signing gates judge a recorded tree, the malformed-rule gate vets the .lootattributes that tree records instead of the one on disk, refusing when it cannot read it, and the stale-copy exemption applies to disk rows only; reproduced on the current tree with loot grant as the ungated capture, since loot migrate now refuses a malformed rule: a rule typo recorded and then fixed on disk signed plan.txt internal with exit 0, and now the finalize refuses, a peer holding no grant reads no plan.txt, and a capturing loot new signs the fixed rule; the maroon refusal names the authored unsigned head and its route, loot new -m for the working change and loot undo back past the operation that recorded any other head, which loot new never signs, and the help, CONTEXT, ADR 0010, ADR 0038 and the maroon-identity skill say so, scoped to keyed repos; describe runs signing_gates; a new binary test went red without the fix (0 passed, 1 failed) and again with the recorded rows vetting the disk (0 passed, 1 failed), a new unit test went red with the stale-copy exemption back on recorded rows (0 passed, 1 failed), the maroon pin now runs loot new -m over an undescribed change, the gated counters do not move, and the suite is green at 2096 passed (zyvqxmzq) 946c18d8 · 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

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.