connor / loot

connor/loot

Changes touching this path

  • the store spells a path one way: tree keys go slash-separated at every boundary, and a windows store loads nested on posix (#988) d2889f60 · dbf3dbe6…
  • 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
  • loot-core, loot-codec, loot-wasm, loot-hygiene, loot-identity, loot-revset, loot-ticket and loot-count production comments cut by 72% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, contracts, formats and safety reasoning kept; comment-only, Rust token streams identical, test modules untouched (yrkykmsn) c1305a2b · 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
  • a store re-derives the version id of every change it files from outside, so a signed change seen elsewhere can no longer be filed first with forged parents and the owner push of it refused (ADR 0116): bundle_codec decode re-derives whole frames as it already did delta frames for every receiver that files what it decodes (forge /stow and /ingest, a pull or bundle apply, a relay stow) and refuses the bundle as id_mismatch; a legacy id is checked under the fold it was minted with, today or the pre-ADR-0051 Windows one with every separator a backslash, and the 84 ids of loot history minted from trees mixing both spellings are taken by name, so all 2853 changes of this history still file where 783 failed today alone; the forge edge check compares predecessors sorted, so a reordered list no longer blocks the honest push; and slice 4 of rtlrzpsy: the forge fills path_touch for a delta over one parent from its readdressed ops and reads no parent tree, taking a 100-change delta stow of this repo from 1.24 s to 0.80 s on Postgres 18 with delta storage, 5.73 s to 5.36 s without, and 0.91 s to 0.49 s in memory, with path_touch identical to the same history pushed whole; re-deriving a 100-change whole catch-up adds about 0.07 s to its 0.58 s decode; red without it: the forge squat pin and the CLI apply-and-stow pin went 0 passed 1 failed with whole frames unchecked, the legacy-shapes pin 0 passed 1 failed without the Windows fold and again without the listed ids, the squat pin and the held-edges pin 0 passed 1 failed each with predecessors compared in order, and the path_touch comparison 0 passed 1 failed with a visibility-only upsert counted and again with a merge read from its ops; cargo test is green at 2459 passed and ci/local.sh is green on Postgres 18.6 (mlysuzmn) 60d0b78f · 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.