Changes touching this path
- 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… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - a save skips the deposit ledger, unread and unwritten, while no row of the handle is new since its load decoded the file and the file still has the stamp that load read (store::FileSeen, as the grant log does), and otherwise merges the handle rows into the file rows without cloning the ledger first; the ledger holds a flat sorted Vec of rows sharing one Arc<str> per remote instead of a BTreeSet with a String per row, and decodes without a String per row, encoded byte-identically (a new golden pin holds the layout, and a forced save over a clone of the primary store rewrote the same 2,384,022 bytes plus the one probe row identically under old and new code); measured on a clone of the primary store, the ledger of 14,191 rows went from 3.78 to 1.14 MB of heap, an open from 26.03 to 23.39 MB, and a save from 134,352 allocations and 6 store_file_reads to 16,075 and 5 (the save heap peak above the open moved only from 9.94 to 9.59 MB, so the rest of that peak is not the ledger), and max RSS over three interleaved rounds went from 134.3-136.3 to 120.0-121.5 MB for describe and from 132.2-137.1 to 127.0-129.7 MB for new; the new pin that a save keeps its own deposits and one another handle saved after its load (ADR 0034) went red with a blind write of the handle ledger (0 passed, 1 failed) and with the save ignoring its own edits (0 passed, 1 failed), the merge table went red with a merge that does not re-sort (8 passed, 1 failed) and the golden pin with a decode that does not sort (8 passed, 1 failed); the full suite is green with 2261 passed and 0 failed (qvnvsxro)
683154bf ·diffdbf3dbe6… - one shared-file save module, loot_core::store::shared_file, owns the load stamp (FileSeen), the racily-clean rule the stat cache now shares (settled_cutoff, so its walk margin moves from 1 s to 2 s), whether a handle changed its copy (Shared::edit, replacing the hand-set edited flags of the grant log and deposit ledger) and the skip, merge-under-the-lock and write-only-differing-bytes steps; the save_shared_to arms call it, the identity file is skipped while its load stamp holds instead of written on every save, a held purge request is rewritten only when its bytes differ, record_attestations_kept, record_grant_cursor and accept_loss go through its update and write only changed bytes, and the loot-cli persist saves through DagRepo::save_with instead of a copy of save_to; a no-op save of a settled repo goes from 1 to 0 store_file_writes and a one-change save from 7 to 6, with the gated reading unmoved; per-kind tests at the new interface replace the DagRepo-level grant log and deposit tests, and their case of another writer saving since the load went red with the merge skipped (2 passed, 2 failed) and with the skip ignoring our edit (2 passed, 2 failed); the suite is green (2265 passed, 0 failed) (mqottxxl)
297830d6 ·diffdbf3dbe6…
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.