connor / loot

connor/loot

Changes touching this path

  • a new Holding module in loot-core, engine::holding, works out once what this identity holds at a recorded path against the disk, unwritten, held back, opens, its own escrowed copy, burned or sealed, and answers whether a capture refuses to write over it and whether the recorded version stands over the disk; the capture base gates and capture_refusals read it in place of BaseRead, the working preview asks it in place of its hand copy of the carry rule, and the status row absence rule asks the new Readable::absence_is_deletion, each keeping its own open probe, so no behaviour changes; the snapshot tests that pinned the rule one site at a time become one alice/bob table of holding state by capture, status and absence, which went red with a burned copy no longer refused (0 passed, 1 failed), a burned absence read as standing (0 passed, 1 failed), burned read as sealed (0 passed, 1 failed) and an own embargoed copy read as an edit (0 passed, 1 failed); the moved-rule tests were green before and after the move, and the suite is green at 2261 passed, 0 failed, 6 ignored; a first slice, with the stale-disk ladder, the writer settlements, prunable_onto, merge, pull-grants and the mis-seal gate skip still to move (vtlutpxq) 37e4028d · dbf3dbe6…
  • 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 second Holding slice: engine::holding now makes the loot-cli tree writes and settles the never-materialized and stale-disk records after them, through DagRepo::write_tree over a TreeWrite of Surface, Materialize or Repoint, and holds the capture stale-disk ladder as DagRepo::decide_stale_disk and apply_stale_disk_settle over the blake3 of each disk path, persisting through a new DiskRecords trait that RepoStore implements; the Readable tree writes become crate-private, so loot-cli reaches them only through write_tree, which retires the hand-kept list of writers that each owed a test arm, and loot-cli keeps thin forwarders; no behaviour changes, shown by a temporary characterization of the old ladder and settlements over 16 and 24 workspace cases that printed identical outcomes before and after the move, with the moved-rule tests green before and after; two alice/bob tables at the new interface, each row run through an in-memory adapter and a RepoStore on disk, replace the workspace tests that pinned the writers one at a time, and went red with a write clearing the skipped path from the never-materialized record, the surface prune losing its digest guard, a write onto a sealed-away tip holding nothing back, an edit over a held-back copy recording no conflict and an untouched copy under a sealed base retired (1 passed, 1 failed each); the suite is green at 2265 passed, 0 failed, 6 ignored (vtlutpxq) 2b7c8098 · dbf3dbe6…diff
  • a third Holding slice: engine::holding now answers whether a tree write overwrites a path or leaves the disk there, through DagRepo::path_write, which takes the view, grant-expiry, vouch and open ladder out of the surface walk together with open_visible, and which paths a write may prune, through prunable_onto, now private to the module; the Materialize arm of write_tree makes its own surface and prune, which retires materialize_promoted and Readable::materialize; no behaviour changes, shown by the alice/bob holding table gaining a surface column and a prune column plus lapsed-grant and withheld rows, green before and after the move with the surface tests it replaces; it went red with the grant-expiry gate dropped, a withheld object read as a fault, a burned path counted as skipped and a prune against every path of the old tree (0 passed, 1 failed each); the suite is green at 2262 passed, 0 failed, 6 ignored (vtlutpxq) ee68f3f7 · dbf3dbe6…diff
  • a fourth Holding slice: engine::holding now keeps the ingest-side path records, through DagRepo::record_ingest (the paths an ingest recorded without writing and the copies it moved past, parking what a locked ingest cannot check), settle_parked_claims at an open that holds the key and retire_what_the_disk_refutes at a capture, and answers the live delta row through DagRepo::record_stands_over, which takes both arms of live_row_suppressed so disk_is_stale_at is private to loot-core; loot-cli keeps the file I/O and words a malformed parked record through RecordFault; no behaviour changes, shown by the alice/bob holding table gaining an ingest table, a parked-claim table and a delta-row column, with the parked-claim tests in disk_record.rs and the ingest on-disk test in workspace.rs green before and after the move and then replaced; it went red with a refuted parked claim promoted, an unanswered claim dropped, uncaptured work held back, a locked claim dropped, a file on disk read as never written, a held path read as never written, the fork guard dropped, the retire dropped and the held-back delta row shown (1 failed, 4 passed in engine::holding each); the suite is green at 2261 passed, 0 failed, 6 ignored (vtlutpxq) 7a5e05c2 · dbf3dbe6…diff
  • a fifth Holding slice, which also fixes truyszno: engine::holding answers a merge whether this identity opens a version, as the KeyOracle impl for DagRepo moves there and opens through open_visible, which change_delta_merge now asks too where it reads a path to re-seal it, and picks the held-back copies a newly filed key opens through DagRepo::held_copies_opened_by, the selection half of pull-grants, so write_held_copies_opened_by keeps the lock, the checks and the write; no behaviour changes except that a store fault opening a copy now stops the pull-grants write before any path is written rather than after the paths before it, shown by the alice/bob holding table gaining a grant column and a merge column, green before and after the move with the pull-grants tests in sync.rs and forge_push.rs; it went red with the merge oracle checking grant expiry and with a grant picking every path rather than the held-back ones (0 passed, 1 failed each); for truyszno, the DiskRecords trait and its in-memory test adapter go and the records pass as the RepoStore, copies_the_write_held_back hashes through plain_digest, Holding::Sealed is Holding::Unopenable, the CONTEXT Holding entry drops its implementation tour, the rehome comment drops its incident story and HUNT-UI points at TARGETS in shots.mjs rather than naming the sizes; the suite is green at 2262 passed, 0 failed, 6 ignored (vtlutpxq) ca89d9dd · dbf3dbe6…diff
  • a sixth Holding slice: engine::holding asks whether this identity opens a version through one probe, DagRepo::open_as, with authorized_as as its named no-decrypt half (a held key that fails to decrypt answers true there and a fault from open_as) and a Lapse parameter that makes explicit whether a lapsed grant closes the version, Closes for a tree write, a grant pick and a content read, Ignored for the capture gates, a status, the record checks and the merge oracle, so open_visible, readable_object_promoted with its own expiry check, visible_in and the unused Readable::may_open_to_len go and can_open and visible_object forward to it; no behaviour changes, shown by the alice/bob holding table, renamed to each_path_state_answers_a_capture_a_status_a_write_a_grant_and_a_merge, gaining a grant lapsed, deleted row and a held back, grant lapsed row, green before and after; it went red with a grant pick ignoring a lapse, the delta row counting one, the capture counting one and the merge oracle counting one (0 passed, 1 failed each); the merge opening a lapsed grant is marked current rather than decided, the Holding entry in CONTEXT and the module doc no longer list consumers, can_open and visible_paths_at drop their measurement and history essays, and delta_seam.rs, materialize_case_rename.rs and the surface test module doc drop stale rules, ticket numbers and caller lists; the suite is green at 2265 passed, 0 failed, 6 ignored; it also records the sllommkt research, a merge or cherry-pick carrying a lapsed grant version past expiry, parked for the operator (vtlutpxq) a0c34676 · dbf3dbe6…diff
  • the last Holding slice: the never-materialized and stale-disk records load at open through DagRepo::load_never_materialized and load_stale_disk, so set_never_materialized and set_stale_disk are private to loot-core, and the mis-seal gate asks DagRepo::stale_copy_on_disk for its Held back skip with no loot-cli forwarder; the gate skip pins sit in capture.rs, the moved one renamed the_seal_gate_passes_over_only_an_untouched_held_back_copy, injecting the record through the store as an open loads it, and they went red with the skip dropped and with recorded rows exempted (1 passed, 1 failed each); it also fixes opqrmukx item 3: ConsentFlag::remedy_of in loot-cli answers which --allow-* flag waves a refusal, and catch_up_signing_gates and loot-first finalize_remedy read it instead of matching codes as strings; the provenance doc stops pointing at a test-only walk and the one-read test doc drops its emphasis and history; no behaviour changes, and the suite is green at 2267 passed, 0 failed, 6 ignored (vtlutpxq) 8731168b · 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
  • Windows correctness: on a filesystem that folds case a tree write keeps one spelling of names that differ only in case, records the rest never-materialized, says so after the verb and doctor fails naming them (mqzorvmp); a file another process holds open is retried, then left held back while the rest of the tree is written, and the verb names it and exits 1 until surface finishes it (wkuvwpxq); a name Win32 rewrites, such as one ending in a dot, is read and written through its verbatim path (wroorswy); every machine shape prints tree paths with / (uykmwpkm); --passphrase-file refuses a file whose access list lets others read it (sqyqkkrq); ci/install-smoke.ps1 runs its loot calls under Continue (xtryrwrm); AGENTS.md, the issue-tracker doc and the CLI page name the Windows PowerShell 5.1 pipe and stderr traps (xryxuzzl) (novqmmmy) and the escape hazard of editing through scripts (tumpytwl); and the pre-land suite runs green on Windows: path allow-lists by component, the fake spawner by file stem, the installer proxy tests in sh's own path spelling, gate programs without the in-turn switch, the config watch off inside its own unit tests, an hour for the packing tests and 120 s for the site's vitest; red before on the desktop each (tree_write_hazards 0 passed, 1 failed per case with its fix out; the verdict and passphrase-file tests 0 passed, 1 failed; guards 1 passed, 2 failed; installerProxy 3 failed; the beside-rows test under the switch 0 passed, 1 failed), green after; with tickets filed for the Windows audit under zxqkmrny and for landing from the desktop under wmputmok (ylwumypm) (nptlnmxl) (vuusszqt) Perf-Baseline: reset this desktop host's baseline is its last land, 2026-10-08 (a8d827fe49b4); landed main has since moved offer_addresses_delta1 24 -> 1 and store_file_reads 21 -> 20 through the Mac's lands (nutxovpx) 062262da · 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.