Changes touching this path
- Extract the Surface face into engine/surface.rs
The five projection methods — surface_with_report (write a change's visible
tree to disk), readable_tree (its in-memory twin, the primitive `loot grep`
searches), visible_paths_at, burned_paths_at, and materialize (dock-switch:
surface + prune) — sat in engine.rs's "History & identity face" though they form
one cohesive unit: turn a change + reader into the tree that reader may see,
decrypting through the key oracle and honouring visibility/embargo/grant-expiry/
burn. They are the read-side twin of the Snapshot face (tree -> change).
Relocate them into a new engine/surface.rs submodule — the "Surface face" —
matching the negotiation/custody/merge precedent (impl DagRepo via
`use super::*;`). A pure relocation: no interface or behaviour change. No result
types move (the methods return tuples/Vecs), so no re-export is needed — just
`mod surface;`; loot-cli's call sites are DagRepo methods, untouched.
Deliberately narrow: the shared `grant_expired_for` gate stays put (the Repo
trait's own `surface` also uses it), the Repo trait's `fn surface` stays (an
independent implementation), and the loose accessor groups (identity, graph
queries, record primitives, attestations, log) stay in engine.rs — splitting
those would be navigability churn, not depth. The projection tests stay in
engine.rs (they share the test module's helpers), the same convention the
merge/negotiation extractions followed.
engine.rs: 5889 -> 5715 lines. Full workspace suite green.
54e80d3a ·dbf3dbe6… - loot-core testkit: extracted engine modules own their tests again (#660)
3412c046 ·diffdbf3dbe6… - burn::Burn: one home for the burn/purge concept (#662)
8e7834a7 ·diffdbf3dbe6… - Sweep the rust-1.96 clippy debt; document the land-holds-the-binary hazard (#667, #681)
26cfbaa9 ·diffdbf3dbe6… - a sparse view scopes what the working tree materializes, and nothing about what syncs (#39)
fa6c6749 ·diffdbf3dbe6… - absence is not one boolean: surface writes what it can and names the rest, and capture asks whether the tree is a materialization (#891)
ad28eb57 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - three papercuts from the alpha sweep: a defaulted diff on a clean tree agrees with status instead of exiting 1, evolog's when column shows the authored clock instead of the git-bridge stamp while porcelain keeps the frozen one, and view stops claiming a deletion it never performs and counts what it left on disk
19473311 ·diffdbf3dbe6… - loot view --prune removes the paths a narrowed view stopped covering and refuses whole, naming every one, when any of them holds an edit no change records, taking nothing out of history so a clear writes them all back
de9f395a ·diffdbf3dbe6… - the ratchet records a build that exists again, ADR 0006 finally carries the verb that leans on its third case, and three documents stop asserting things the code beside them contradicts including a pin that held the number and not the strictness it was written for
62bf03ff ·diffdbf3dbe6… - loot diff stops decrypting every path on both of its sides to fill in a bool, because the visibility gate now asks the cipher-free can_open #1422 built for exactly this beside the reader-scoped expiry check it must keep asking, measured at -58.7% by the first fixture in either tier that touches diff at all (#1426)
699a58e8 ·diffdbf3dbe6… - content whose embargo has already lifted stops reading as sealed, because promoting due keys out of escrow is now the construction of the reader every content read hangs off instead of a doc-comment obligation six callers hoisted by hand, and deleting four of those hoists left all 2438 tests green while loot surface told an author to request a grant from herself (#1464)
e59e46b3 ·diffdbf3dbe6… - loot migrate and loot maroon stop refusing an author's own revealed content as unauthorized, because the two re-seals promote due embargoed keys at their own first line instead of borrowing one from a capture that --no-snapshot skips outright and that an unchanged working tree short-circuits past before the engine is ever called (#1485)
34b5bb79 ·diffdbf3dbe6… - the reader seam's own doc stops telling a loot-core author that content can only be read through it, because the sentence #1464 wrote into four places and #1471 corrected in three is now enumerated in ADR 0007 as one thing that changes together, and spawn.rs likewise stops claiming every command every gate runs while GATES row 0 shells out to git beside it (#1486)
b6657789 ·diffdbf3dbe6… - the per-path custody gate stops building a heap key before it can ask its question, because the grant manifest is indexed as a map of oid to a map of grantee rather than one map under an (oid, grantee) pair, so grant_for probes both levels by borrow and the 4,000 Strings a timed visible_paths call allocated and threw away are gone, taking the visibility pair a loot diff makes over a 2000-path tree from 0.7026 ms to 0.6069 ms in both directions (#1550)
ebe1b5c0 ·diffdbf3dbe6… - six sentences that read wider than their subject are narrowed rather than deleted, because in at least two of them the sentence is the argument: the verb tier's width figure stops being typed at all and is generated off the impl blocks with the predicate written beside it, since this ticket's own 244 is not reproducible under any predicate - pub fn alone gives 202, every fn including test-gated gives 320, production-only gives 309 - which is the ticket committing a mild form of the class it was filed about, as was its claim that the figure had gone stale a second time when git log -S finds the sentence written once and never corrected; finalized_anchor is repointed to the two hops it really takes rather than dropped from the list of delegates; the duplicated surface tail is extracted and not deleted because BOTH copies are live, one a trait method the bench calls and one the escrow-promoted twin, so establish-which-is-live had the answer both; thiserror leaves two manifests that never derive it, each row replaced by why the absence is deliberate now that RepoError is loot-codec's type re-exported; the push-shape row is documented and pinned rather than renamed, because a metric string is output and this change is behaviour-neutral, and the new pin found the drift is two rows and not one; and the whole cost of opening a repo is narrowed in all three live copies rather than the single one named here, since correcting one of three is the trap #1629 records, while ADR 0012's copy stays because its subject is the loose-object slice and not the harness. one finding was simply wrong and is reported as wrong with no edit, since run_checks has a production caller and fourteen tests and the file this ticket cited does not exist. and load_from turns out not to be what the open calls at all: assemble asks load_from_needing with the verb's declared RepoNeed since #1536, so the timed call is the widest spelling rather than the live one, which is now said in both places that time it (#1656)
44b5b98a ·diffdbf3dbe6… - the loot-core tests stop sharing one repo and the shared store stops growing, and the design was already written one line above the bug: tmp said the temp root every fixture repo lives under while returning the root itself, so returning a fresh directory beneath a per-process root makes that sentence true as written with no doc edit and none of the 161 call sites changed. uniqueness is per call rather than per process, because the sites run on the harness's parallel threads inside one process, which is the half a pid does not touch and the half the isolation gradient had already separated - lib alone green, workspace red. a third hole neither ticket named is the larger one: 48 sites spelled DagRepo::init with the bare temp dir longhand, bypassing the helper entirely and invisible to both tickets, so the real set is 51 statements and not the sixty a three-line window had suggested - established by reading whole statements, since that window reads past short ones and stops short inside this crate's many multi-line format calls. the evidence is a paired experiment rather than a green run: two concurrent processes reddened object_reads five times in five, asymmetrically with the earlier starter losing every time, while the shared-store half needed six concurrent runs to reproduce at all and then failed 28 of 36 across four test names, two of them never recorded before, which is the fifth and sixth name for a ticket whose own point is that the name is not stable. after, the same experiments are ten of ten and thirty-six of thirty-six green, and a paired count on an idle machine has the unfixed arm adding 44 objects and rewriting graph, keyring and heads while the fixed arm moves nothing, byte-identical with mtimes unchanged to the millisecond. a census derives the property from source with no allowlist and was proved red four ways, including one site from the third hole that any list written from the two tickets would have passed, and including the census blinded, which reported ok on an empty set and was caught only by its own non-vacuity guard (#1667, #1688)
87c3aacb ·diffdbf3dbe6… - loot surface stops opening every object four times, and the instrument had to come first because the land's own gate is structurally blind to this: the gated fixture reaches the engine's Repo::surface, a different loop with no view filter, no report, no clobber guard and no CLI wrapper, and loot surface is in no cli tier sample, so a flat gate here says nothing either way and the named signal is a new loot_count::during region instead. The win is that the clobber guard has already resolved the exact Modified set and the materialize then rewrote every path anyway, so a SurfacePlan carrying at_risk, measured_at and already_on_disk hands that answer down: object_gets falls 4N to 3N at every one of the ticket's sizes (200 to 150, 800 to 600, 3,200 to 2,400) with object_disk_reads flat at N, which is the shape of an answer that got cheaper rather than one that changed. The dangerous part is not the speed but the authorization, because the third gate is inside the very step the set skips - sealed::open's embargo-then-visibility check is the one chokepoint and a trusted path is not re-authorized - so the trust is taken BELOW the view (#39) and grant-expiry (#20) gates rather than above them, and both orderings are pinned by tests that were proved red by moving the trust up: an expired grant materialized, and a path outside the view written. A plan measured against another change is refused by measured_at, and that breakage went red with disk holding the midpoint's bytes where the tip's were owed, which is content corruption rather than a slow path. Building the set by stat instead of a proven get went red twice, once on an embargo that has not lifted and once on --force restoring recorded content, so the set only ever names a path a Readable::get already returned Ok for - a precondition on the caller that the engine cannot re-derive, stated in the doc of the pub method rather than implied. The pin asserts the multiplier is identical at all three sizes rather than any literal, and its control refuses a store that cannot reach disk, which is #1576's --closure lesson made executable: the blind shape is the Workspace that authored the change, where put filed the plaintext and a surface decrypts from a map at object_disk_reads 0; the control is demonstrated refusing that, accepting a reopened one, and a separate non-vacuity guard is demonstrated firing on an empty fixture. One of this ticket's premises is wrong and is pinned rather than repeated: surface --json has always materialized once, not twice, because the machine arm returns before the human arm ever reaches surface_with_report - measured at 3N over a wiped tree - while rehome --json really did run two complete materialize passes and now reads the written it already had. The readable_at-per-path hoist is declined with the reason written into resolve_delta rather than left silent: on an empty escrow, which is every repo with no pending embargo including this ticket's own fixture, Escrow::flush is a map emptiness check collecting an empty iterator and contributes nothing to object_gets, so the hoist would measure flat in its own signal and wants an instrument that can see escrowed entries before it wants an edit. absent_paths_at keeps its N opens deliberately, because it walks the whole recorded tree including out-of-view paths the materialize loop never reaches and deriving it from that loop would silently narrow the listing. One TOCTOU window widens in kind and not in size: a file another process edits between the disk walk and the materialize is now left alone while still reported materialized, the same window the guard's answer already went stale in and in the operator-safe direction, so the type doc says surface's disk-mirrors-this-change promise is that much less absolute (#1703)
43a89f31 ·diffdbf3dbe6… - the fix-up a cross-ticket review sweep asked for, and both halves were the same defect wearing different clothes: a claim stated where nothing can check it. surface_with_report_reusing's doc said Workspace::surface_plan is the only caller and meets the precondition by construction, which was wrong twice - surface_plan calls it nowhere, being the PRODUCER of the set, and it lives in loot-cli while the door lives in loot-core, so the sentence named a function one crate away as a caller it is not. The door is also pub, which makes the only caller half unenforceable in principle rather than merely untrue today: a caller in any crate compiles without meeting anything. The replacement names the real set, verified by grep - surface_with_report passing an empty set, Workspace::surface_with_report_reusing as the one non-empty caller, and three in-module #1703 tests that hand-build the set, two of them naming a path the reader may not open, which are the standing demonstration that this walk will accept anything at all. A second sentence understated its own mechanism and is corrected in the same pass: surface_plan does not merely record which change it measured, SurfacePlan::already_on_disk_at COMPARES and returns an empty set on mismatch, so the same-change precondition does have an enforcing mechanism and it too is one crate away. That asymmetry is worth naming because it sizes #1710: the set-vouching half has no mechanism anywhere, the same-change half has one in the wrong place, and only one of them needs a type moved. No API changes here - making the door private is #1710 and is deliberately not smuggled in. The other half is three authored figures sitting inside the doc of prove_the_walk_repeats, the non-vacuity control this whole file rests on, saying 192 occurrences against 31 addresses and a 6.2x gap while the assertion below pinned none of them, so editing PATHS or CHANGES or EDITS left all three silently stale in the very place that exists to stop un-grounded claims. OCCURRENCES is now derived as CHANGES times PATHS, the bare literal 4 already in the assertion is named MIN_GAP, and the floor is a const assert that fails at COMPILE time before any fixture is built. Four arms proved it rather than argued it: the baseline reproduces 192 and 31 and 6.2x exactly, so the fixture being reasoned about is the one the old prose described; widening to twelve paths moves the figures to 372 and 42 and 8.9x with everything green, which is precisely the silent staleness that used to be possible; collapsing the gap to one path fails to compile with the floor's own message; and re-authoring OCCURRENCES back to 192 against twelve paths goes red at 288 versus 192. The module header's other readings are marked a dated reading that nothing asserts, following lane_new_sweep.rs, because they come from fixtures this file cannot see and deriving them here would be a second invented claim rather than a fix (#1709)
1b45fed0 ·diffdbf3dbe6… - loot grep grows the options that make a search usable, and two of the ticket's acceptance criteria turned out to ask for something this verb already did unconditionally: -n wants line numbers, which loot grep has printed since #391 with no flag at all, so making them conditional would silently change the output of every invocation ever typed and -n ships instead as a pinned compatibility spelling of the default, exactly as -F now spells out the fixed-string matcher that stays the default with the regex behind -E. the same compatibility argument decides the row shape, so the change column is printed only when the selector was a REVSET, a thing this verb could not search before, while a point selector keeps the three-column row it always had. the pathspec is the declared option group and not a fourth hand-rolled one, which cost the leaf its NO_PATHS declaration first: a group's trailing list begins where the leaf's own arity ends, so grep declares two opaque positionals and attaches PATHSPEC, and because its selector is optional a bare trailing path still reads as the selector and the operator says which they meant with the separator. -E is a hand-written POSIX ERE over bytes rather than the regex crate, which is loot-cli's standing dependency-light no-clap stance applied rather than a new decision; that stance is argued in the ctrlc note in the workspace manifest, not by adr 0041, which governs loot-core and the server-side dependencies and does not reach this; and the cost is measured rather than guessed, by resolving regex alone and diffing its closure against this lock: three new entries, regex and regex-syntax and aho-corasick, since memchr and regex-automata are already in the graph through bstr from gix, though regex-automata is linked there with default features off and carries no dependencies at all in this lock, so regex would compile far more of it than anything does today, all to serve one optional flag on one read verb. AC7 is a real requirement and it is keyed on the content address rather than the path, since repo.put mints a fresh address per call and only a carried tree entry reuses one: measured, a two-change revset over three paths each opens four objects where the natural walk opens six and returns byte-identical rows, which is why the pin counts ObjectGets instead of reading the answer. AC6's aggregation needed a fixture the engine refuses to build the obvious way, because a path this identity cannot open cannot be re-captured while it sits on disk, and the count is per change and path, so one sealed path carried through two changes is two skips. the per-object read is loot-core's own readable_tree classification lifted out rather than copied, so grep and surface cannot come to disagree about what a burned path is (#1500)
c1ad796e ·diffdbf3dbe6… - loot archive grows prefix, format, -o and a pathspec, and the pathspec is the DECLARED group rather than a fourth matcher: no Glob, no matches and no string compare against a pattern is written anywhere in this change, so the empty-match refusal and the 1330 cwd rebase arrive free with the attachment. the attachment forced one thing the ticket did not name - archive was declared NO_PATHS, so under 1551 the group trailing list would have begun at position ZERO and swallowed the output file - and it now states its own arity of two opaque slots first, both opaque because a file name, an -o value and a prefix are not repo paths and must not be rebased. the honesty criterion is the one that carried risk, since this adds a SECOND reason an archive can be partial beside the reason 416 built the summary for, and the two must not collapse into one number that reads as either: three populations are kept apart, written, then unreadable as selected minus written which KEEPS 416 word partial, then outside as total minus selected which gets its own clause, its own denominator and the explicit words by request not unreadable. the first denominator switches to selected and SAYS selected exactly when a pathspec is in force, so 1 of 2 cannot be read against a five path change, and the pathspec clause prints EVEN AT ZERO because silence there is indistinguishable from no pathspec at all. written is derived from selected by MEMBERSHIP, so written under selected under total holds by construction rather than by a subtraction that could underflow, and the engine skipped count is deliberately NOT used because it is taken over the whole tree and would therefore count paths the operator never asked about - that IS the collapse. the format is tar.zst and it adds an EDGE rather than a crate: zstd is already default-on in loot-codec and loot-core takes it with default features, so it already compiles into the shipped binary and the lock gained exactly one line with no new package. gzip was rejected on MEASUREMENT rather than taste - flate2 is in the lock but its only dependent is automerge, which only spike-crdt links, so it reaches NO shipped binary and choosing it would put a second compressor in the released loot; the wider extractor reach is the real cost and the format table says so. it does not reuse the codec own compressor either, because sharing it would weld archive bytes, a thing people compare hashes of, to a level chosen for objects in a store. the byte-reproducibility promise is NARROWED where an operator reads it: the ustar bytes are host independent, the zstd framing is reproducible only for a given zstd build. two pins were aimed rather than merely live - the -o ambiguity mutation is invoked with @ rather than HEAD precisely so the mutated build SUCCEEDS, which makes refusal the assertion, and tar.zst is checked by DECOMPRESSING rather than by length, since a wrap that compressed the wrong buffer stays green under a size assertion. and a stale doc claim was found on the way: readable_tree was described as what loot grep searches, false since 1500 moved grep to readable_object, narrowed here and in the copy of it that archive carried (#1530)
95a1cfeb ·diffdbf3dbe6… - grant promotes at the clock it grants at, and the conservative alternative turns out to be an ORDERING ARTIFACT rather than a policy: skipped_unheld recorded only whether some earlier command in the repo whole history happened to open a reader, so one input at one clock gave two answers, and no state anywhere expresses that a reader has revealed an embargo. the flush goes on grant first line and rotate_regrants inherits it BY CONSTRUCTION rather than by a second flush, because it reads no content key except through self.grant - so the two cannot drift apart the way four hand copies of one body did. grant_sealed gets NOTHING and the ticket premise is refuted there: its keyring-OR-escrow lookup is already order-independent, which is why its pin was the one GREEN BEFORE THE FIX, and that measurement is recorded rather than a flush added to make the set look uniform. the eager direction, promoting a not-yet-due key, is not expressible through this seam because a flush IS the reveal gate applied - Escrow::flush now >= reveal_at is sealed::open own comparison. what WOULD be a hole is an escrow FALLBACK that skips the gate, which grant_sealed has deliberately for ADR 0027 timed deposit and grant must never copy, since a tag-1 bundle is a plaintext key in a file. the cost is asymmetric and lands on rotation: a grant dropped from the loot id rotate wave is access PERMANENTLY LOST, and the report line about what the outgoing key can no longer read was false for a due embargo. three pins, ONE REPO PER ARM because Escrow::flush promotes EVERY due entry and a second embargoed path in one repo makes the second arm vacuous - the trap #1485 hit - and both clocks pinned on each, since a fix that reveals early is worse than the bug. four mutations make the case: deleting the flush reddens grant AND rotate, which is what proves the by-construction inheritance, and giving grant the escrow fallback reddens the CONTROL arms instead. the caller list on flush_due_keys stops being a hand-written count and becomes a membership rule with a grep census, which is what kept it right while it gained a caller (#1488)
1d44cc64 ·diffdbf3dbe6… - the KEYRING IS A CACHE, NOT THE GATE, and the reveal comparison is asked at every read off the sealed object own header rather than inherited from whatever a persisted keyring happens to hold. #1488 repaired the un-promoted state and left the other one: flush PROMOTES AND NEVER DEMOTES, and the promotion persists, so at a clock short of reveal_at a never-promoted repo REFUSED and an already-promoted repo GRANTED - one input, one clock, two answers, in the direction that ticket own done-bar calls worse than the bug. the sweep claim was REPRODUCED BEFORE ANYTHING WAS FIXED, twice: swapping the two arms of the old pin reddens its control, and two fresh repos differing ONLY in whether a flush ran first answer granted against Unauthorized. grant now reaches its object and key through ONE PRIVATE DOOR that flushes, looks the key up, then asks sealed can_open - which is open steps 1 and 2 VERBATIM, so the gate is the SAME FUNCTION a plain read uses and cannot drift from it. demotion was rejected on merits rather than taste: it would need the escrow to retain an entry it has HANDED AWAY, it would make a READ MUTATE CUSTODY BACKWARDS, and it would be one more copy of a rule vis already carries. the refusal stays Unauthorized deliberately, because rotate_regrants classifies by VARIANT and an Embargoed would turn a skipped standing embargo into a FAILED ROTATION WAVE. the doc defect is repaired where it actually sits: membership of the flush census is NECESSARY AND NEVER SUFFICIENT, since a flush repairs only the un-promoted arm, and the #1488 amendment now records the invariant it kept rather than the one it claimed. reachability is reported honestly rather than dramatised - a forward-only wall clock CANNOT reach it, because a promotion requires the clock to have passed reveal_at, so it needs a now BEHIND a clock at which a promotion already happened: the engine API directly, where a perf harness already passes a backdated now, or a backwards wall clock, which is ADR 0007 own D-threat. the structural violation is unconditional and is where the claim is made and measured. three mutations, and the two halves fail in OPPOSITE directions: removing the gate reddens the new pin and the re-pinned control while the rotation pin stays green, removing the flush reddens the two due-direction pins while the new one stays green - which is the separability #1488 lacked. and one limit is stated rather than dressed up: the both-ways-round half builds a fresh repo per arm, so no mutation can redden only the second run, and the doc says so (#1840)
ae911b61 ·diffdbf3dbe6… - two readers stop answering a visibility question out of a book the enforcement path never opens - and the ticket OWN worry about which ROW is REFUTED before anything is built on it: path_in_history consults current_tree FIRST and returns outright, with the reverse-topo history walk only a fallback for a path the live heads no longer carry. the keeps-every-change-whose-tree-contains-the-path shape belongs to change_has_path and filter_history_to_path, which is what log --path filters on and which embargo-status never touches. so the verb was already answering about the CURRENT recording, and its defect was purely WHICH BOOK rather than which row - which makes the fix cleaner than the ticket allowed for, since the tree entry is still read, being what LOCATES the object, and only the visibility moved. embargo-status now asks a new seal_visibility, the refusing twin of visibility_of, sharing held_but_unreadable with embargo_reveal_at, which is re-expressed over it so there is ONE read door. the tree entry answers ONLY when the seal cannot be produced, and then the output SAYS SO, naming the source it read, the guarantee it does not carry, and the verb that tells a missing object from a corrupt one. seal-only was rejected with its reason recorded: this verb exists for why is this file not visible after a pull, which is exactly the case where the object legitimately is not here - a withheld forge object, a mid-pull absence - so refusing there would delete the verb purpose. healthy output is byte-identical to before. conflict_side loses its fallback rather than gaining a guard: one object read returns both the seal visibility and the open verdict, and sealed_to_us is extracted so the two doors cannot drift about which errors mean sealed-to-you. the sizing is stated rather than flattered - NO observable answer changes on any state reachable today, because old and new both propagate the rot, and what changed is REACHABILITY: the mutation restoring the pre-fix shape reproduces the defect exactly, a truncated object rendering as internal. ADR 0012 gains a row for each site, and its visibility_of row is CORRECTED, having claimed conflict_side as a live caller. the wire-format option is neither taken nor touched: folding visibility into the change id is a FORMAT_MAJOR decision, the ticket ruled it outside an AFK warrant, and the enforcement question is written up to be filed rather than begun. seven mutations, every pin asserting a VALUE - a reveal instant, an oid, an error code - and never merely that something failed, which is the trap #1578 pin fell into. and the vacuous-filter trap fired once and was caught by reading the NAMES rather than the word: a filter on embargo printed 22 passed, and none of those were the three new render tests, whose names do not contain it (#1581)
74526297 ·diffdbf3dbe6… - the precondition that was prose becomes a TYPE AT THE SEAM, and both halves take that answer rather than only the cheap one. the vouching type moves into the crate that holds the door, with four private fields, and the door takes IT instead of a bare path set - so the only thing that can widen the set in a shipped build sits DOWNSTREAM OF ITS OWN GET. and that is not a second read, it IS the read the producer was already doing: the live arm was already exactly that expression, so the engine now RECORDS the open rather than the CLI asserting afterwards that one happened. one get either way. the same-change half, which already had a mechanism but one crate away from the door it protected, moves across the seam and gains two clauses NOTHING checked anywhere before - the reader and the clock - and it compares rather than records, returning the empty set on mismatch rather than an error, because a bisect midpoint must still pay the walk in full. the plan can no longer hold a set and a measurement that disagree, for the simple reason that it no longer has two fields. a THIRD precondition falls out structurally rather than being written down: only the live arm can vouch, so a plan built from a both-recorded spec now arrives EMPTY rather than full and unearned. the door stays public and that is now a DECISION with its reasoning in three places rather than an omission - making it private, as its neighbour three lines below already is, would close the hole for one crate while the public trait keeps surfacing content, so an embedder would lose the skip and nothing else. and the cross-key door is split out to take NO vouching parameter at all, because a move labels and never vouches: the hazard stops being expressible instead of being filtered by a dead guard. the mutations bought a REAL HOLE rather than confirming the work. two of them survived the first round, because every test built its vouch THROUGH the door, so the insert-side reader and clock checks were SHADOWED by the door-side ones - one identity open could fill another identity set, and an open at one clock could back a set labelled another. an isolating test was added, and both redden now. the counters are MEASURED rather than argued: an identical probe over surface and status at three sizes, run against a byte-identical copy of the unmodified tree, reads the same on every gated counter - with the honest caveat that the allocations column is VACUOUS, since that probe installs no counting allocator, so it is not claimed. and the single claim resting on the type system alone is NAMED as such: that no other crate can widen the set is held by the compiler privacy rules and not by any test, because this workspace has no compile-fail harness to assert it with (#1710)
aca3a188 ·diffdbf3dbe6… - the commit that derived a list precisely so it could not go stale had typed its cardinality into the doc above it, and both counts are gone: the doc now says the refusal names the whole flag set - every verb this binary dispatches and nothing else, pinned in both directions - and that what the one-line shape rests on is READABILITY rather than a size. the obvious fix, pinning the count as well, is refused on purpose, because it would fail a land for the offence of adding a sixth verb, and that refusal is PROVED by a mutation adding one to both sides that stays green. the distance-crate check stops presenting a denylist as a property: it is widened with the five crates the review named, loses its own typed length so the constant carries no count either, and says plainly that it is a named list of common spellings and not a test for the category - naming BOTH holes in the voice its other stated limit already uses, a crate under a name nobody wrote down and a renamed dependency, the second confirmed by a mutation that stays green on purpose. matching on any dependency that merely looks like a distance crate was rejected as a guess dressed as a check. the derived method width is decided to be a TRIPWIRE and not a ledger, so its gap prose is dropped rather than extended - it was wrong both ways at once, excusing a gap that another clause already attributed while a new one had opened unnamed - and the doc now says outright that nobody keeps the per-ticket clauses summing to the figure. and the flag argument left at the vouching seam is examined rather than refactored for its own sake: the triple riding three doors IS the resolved delta still being assembled, so a new struct would only be a second name for it, and a bare bool would be the same flag one level down. the one real narrowing is taken instead - a caller that always passed Some now takes the set directly, so no door a caller can reach lets it choose to skip recording the open (#1922)
0ac07831 ·diffdbf3dbe6… - the trait surface stops being a second materialize loop and becomes a one-line adapter over the walk loot surface runs, so a withheld object no longer fails it and the land gate counters fixture now measures that walk: the two promoted walks share one classifier deciding which failed reads are invisibility and which are faults, a burned read kept distinct because the surface walk labels it rather than counting it as sealed. a new test drives a withheld object through the trait and went red with object not found before the change, and red again when the adapter was reverted or the classifier arm broken. every gated counter reads the same before and after on the gated fixture, as expected for a fixture with no view and every object held. the 1703 sentence calling the gate a different loop is corrected to what it still cannot see, and the stale two-of-five counts in measure.rs, work_counters.rs and the ADR 0073 heading are replaced by what defines each set rather than a new number (#1927)
f930875a ·diffdbf3dbe6… - the Admitted and VerbRun docs and CONTEXT.md stop saying every argv reader goes through the spec: the readers that parse positionals and flags do, the consents and relay keys now say on their own docs that they scan argv by flag name, and the named exceptions lose their count and point at the census, as bisect dispatch now does. the stale arity-census counts in main.rs and loot-core flags.rs are gone, and the owed-arity rule is one function that the top-tier census and the counting pin both call, and each still went red when burn was re-opened. the flag census and the Admitted census now share one src walk keyed by relative path, and the Admitted census went red on planted leading_word reads in cmd_bundle and verbs/mod.rs, naming the second by its path. the surface.rs privacy argument now matches Repo::surface reaching the walk unpromoted, CONTEXT.md and the resolve comment stop calling its refusal the usage line, the Verb and pick.rs doc comments are separated so rustdoc keeps them apart, and two rewrap leftovers are fixed (#1939)
7b04e214 ·diffdbf3dbe6… - the tree writers no longer remove the file they just wrote on a recorded case-only rename: materialize_target and materialize_promoted wrote the target tree and then removed each old path the new tree no longer holds by name, so where the filesystem folds case, as this windows machine and a default macos volume do, the removal took off disk what the write had just put there, and loot undo over such a rename reported pruned 1 path off disk, left the directory empty and made the next status read the recorded path as deleted, which loot move and converge did too, each reproduced by hand with the pre-change binary. both writers now prune through loot_core::disk_entry::prune_unwritten, the one home for the file and directory-entry rule apply-patch has taken since #2007 and #2014: an old path that is the directory entry of a path just written is renamed onto the written spelling, which keeps the bytes and gives the last name component the recorded case, the old name of a hard link is still removed by name, NotFound is a path that was not on disk rather than a path pruned, and any other removal failure is an error naming the path, where materialize_promoted discarded the error and materialize_target counted a failed removal as pruned either way. the identity helpers move out of apply_patch.rs into the new module, drop_empty_parents is shared with the view prune, and the prune makes no filesystem call beyond its removals unless an old path and a written path fold alike. the new pins went red with the entry rule removed (cli 1 passed, 3 failed; core 4 passed, 1 failed), with the old path kept and not renamed (cli 1 passed, 3 failed; core 4 passed, 1 failed) and with the removal error discarded and counted anyway (core 3 passed, 2 failed; the cli pins stay green, since none of them fails a removal). the perf gate dry run reads every counter the same before and after and says no move, ADR 0022 carries the amendment, ADR 0082 section 4 says where the rule lives, CONTEXT.md names it beside the apply-patch rule and in the re-pointing entry, and the workspace suite is green (#2011)
de9fb5b0 ·diffdbf3dbe6… - cherry-pick, revert and a surface that settles a stale-disk debt no longer destroy a case-only rename where the filesystem folds case, and the first no longer records the loss: #2011 routed two tree writers through loot_core::disk_entry and wrote that every writer which removes a path it may just have written asks that module, while two that did not were sitting in the tree as the sentence was written. Workspace::apply_change_delta, the one core cherry-pick and revert share, walked the merged actions as a BTreeMap and so wrote A.txt and then removed a.txt by name, which where case folds is the file it had just written, and it snapshots, so loot revert over a recorded case-only rename reported both paths converged over an empty directory and minted a change recording 1 deletion. Workspace::stale_debt_the_surface_left, the one scoped deletion a surface is allowed, compared the written set by name, and a case-only rename preserves the bytes, so the digest guard that exists to protect the operator matched the file the surface had just written: loot surface printed the path it had surfaced, left the directory empty, and the next loot status read it as deleted, which is the reproduction #2011 declined on the false reading that a surface prunes nothing. Each was reproduced by hand through the spawned binary first and then as a new spawned pin, and the pair went red over an empty listing before the change (4 passed, 2 failed) and is green after (6 passed); with the delta writer put back to removing by name they go red again (5 passed, 1 failed) and so does the new census (0 passed, 1 failed), and the stale-debt prune put back reddens the same two with the same counts. Both writers prune through prune_unwritten now. Which working-tree removals are weighed stops being a sentence: workspace.rs carries a census that reads every removal joined onto a working-tree root out of loot-cli/src and loot-core/src, names what each one removes and what the walk cannot see, and it named the offending function under each of those two mutations, went red at its own classifier control with ROOTS emptied and went red with a name dropped from its expected set (0 passed, 1 failed each). one_entry refuses a path that is or passes through a symbolic link now, since file_id follows links and on Windows two paths with one id were otherwise one entry, so fs::rename would have moved a link over the file it points at; the check is the symlink_on apply-patch already made, moved into the module, pinned with a junction here and red without it (5 passed, 1 failed). The hard-link pin names its links A.txt and a.txt so the fold map reaches the entry rule at all, where old.txt and new.txt never called it, and it skips a filesystem that folds case with a note; it stays unix-only and its red-first has not run here, though the body type-checks and runs on windows with the cfg lifted (7 passed). The four case probes become one loot_core::disk_entry::folds_case, and with it answering no the entry pin and two apply-patch case pins go red (5 passed, 1 failed; 18 passed, 2 failed). enclosing_fn moves into source_walk beside the #1929 census that asked it first and strips any visibility, after pub(super) made the new census name the wrong function. ADR 0022 carries the correction and its prunes-nothing claim is gone, ADR 0082 section 4 states where the probe and the link refusal live, CONTEXT.md names both writers and the census, the surface.rs and materialize_target notes stop claiming the two prunes answer the same set of failures, and the rewrap leftovers in ADR 0022, CONTEXT.md and the account page are fixed. The perf gate dry run reads every counter the same before and after and says no move both times, the site gate is green, and the workspace suite is green (3824 passed) (#2018)
baec4112 ·diffdbf3dbe6… - loot seek reads what a question keeps and nothing else: the loot backend read every change through readable_tree_at, which decrypts the whole tree and only then narrows to the pathspec, so a scoped search cost the repo and a listing decrypted every file to print its name. a search now opens each kept path once through readable_object_at, keyed on the content address so an object carried across the changes of a revset is read once, the rule grep has followed since #1500, and a listing decrypts nothing: a local target asks the visibility gate per kept path through a new per-object form of the same predicate, Readable::visible_object and Workspace::may_open, together with the store index and the burn log, which names the set surface prints; a remote target keeps the tier gate. the counted read pins it in tests/seek_object_reads.rs with its control: a whole-tree search opens one object per path, a listing reads one sealed header per kept path and none outside the pathspec, a scoped search opens the subtree and not the tree, and a revset over two changes opens a carried object once, seven where the old walk opened twelve. a listing still reads each kept header once because the key gate reads the sealed header to ask the keyring, which the counter counts as a get; it decrypts nothing, and that is stated where the pin is rather than claimed as zero. measured on this repo: a scoped search over crates/loot-cli 189 ms before and 123 ms after, a bare listing 167 ms before and 124 ms after, a whole-tree search 241 ms before and 223 ms after, best of three each; this repo holds small objects, so the win here is the fixed per-invocation cost and the pins are what carry the claim at scale. the two-axis review before landing made the engine gate one function the tree walk and the per-object view both call rather than two copies under a parity sentence, reduced the listing to the oracle alone since can_open is already false for an unheld or burned object, named the scan cache Scanned with unreadable, silent and hits, said the count is not surface count because surface labels a burn and this verb counts it sealed as before, pinned a burned path leaving the listing and never being opened, and recorded that the ticket premise of a returning visible_paths_at was false. red under mutation: the address cache dropped (0 passed, 1 failed), a search reading the whole tree (0 passed, 1 failed), a listing gating the whole tree (0 passed, 1 failed), a listing skipping the key gate (0 passed, 1 failed), and the engine gate no longer asking the keyring (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 (3981 passed over 124 binaries, 7 ignored) (#2102)
d7606a23 ·diffdbf3dbe6… - 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… - 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… - the comment cuts that later merges took back are re-applied: in 63 production files where test-diet (ADR 0105) and the loot-core land kept main's side, a three-way merge favouring main only inside a collision puts 23,556 trimmed comment lines back; comment-only, every file token-identical to main. Comments and prose now 73,651 lines from 200,053, and the ticket is resolved (yrkykmsn)
bcfe36e3 ·diffdbf3dbe6… - a capture carries the author's unchanged copy of an embargoed path as the sealed object, compared by encrypting the disk bytes under the escrowed key and the object's nonce so nothing is decrypted or persisted, where every describe after the finalize refused and status read it as modified, and an edit before the reveal still refuses with a message saying to move the copy aside; after a burn, deleting the working copy records the deletion, a rule sealing the path at another tier records new content, and a copy left at the burned tier refuses naming both fixes, so burn's printed forward fix and loot migrate on a burned path now take; ADR 0007 and 0038 amended, CONTEXT, the burn and embargo docs and known-issues updated, two tests and the 1471 pin red-proved by eight mutations, site gate green (wxnmzluu)
f3ea70a6 ·diffdbf3dbe6… - loot show and a two-selector loot diff ask visibility only at the keys a row reads instead of opening every object of both trees, and a live delta moves the walked working tree into its side instead of copying it: a recorded side fills its readable set after the unchanged paths are known, at each surviving path and each recorded move old key, through the same per-object gate, and loot cat asks at its one path; a delta of one changed path over 20 and 200 paths took 43 and 403 object_gets and 21 and 201 object_disk_reads and now takes 5 and 2 at both sizes, and a live delta over the same trees went from 794 and 7,442 allocations to 678 and 6,317, the move alone saving 92 and 901, and from 40 and 400 object_gets to 21 and 201; the sealed-row tests go red when every key is admitted (0 passed, 2 failed) and when none is (1 passed, 1 failed), the measurement is not kept as a test, the gated counters do not move, and the suite is green (lppplttp)
7eb42d95 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - a pull no longer rewrites files that already hold the pulled bytes, and a pull that merges heads no longer opens and writes again what its fold just wrote: the surface walk leaves a file already holding the bytes it opened untouched, so its modification time and the stat cache entry survive, and the materialize of the fold hands the paths it opened and wrote to the surface of the pull as an AlreadyOnDisk at the same change, reader and clock, which the surface skips; the pull captured uncaptured edits first, so the disk held no edit for either write to overwrite. on the new pull_object_reads instrument over verbs::sync::pull at 200 paths, a merging pull goes from 1417 to 1217 object_gets with object_disk_reads flat at 201, a fast-forward pull stays at 1005 object_gets and 200 object_disk_reads, and both go from 200 rewritten files to 1; with the byte comparison cut to a length check the same-length pulled edit stayed stale (0 passed, 1 failed), with the surface not reusing the fold it went red on the gets (0 passed, 1 failed), the gated counters do not move, and the suite is green at 2103 passed (yolryuww)
e4c5cf69 ·diffdbf3dbe6… - a tree write onto a tip holding a version of a path this identity cannot open no longer deletes the earlier copy from disk: materialize_promoted and materialize_target pruned every path visible in the tree they left that the write did not write, so a path the new tip changed and sealed with a key this machine lacked lost its file while the tip still recorded it, reached by a ferry catching the primary up to landed main, which then reads as up to date, and reproduced through spawned binaries with two identities, where loot op restore across a re-seal pruned the sealed-away path; both prunes now skip a path the new tip records, the earlier copy goes into the stale-disk record when its bytes are a version this identity opened, so status reads it unchanged and a capture carries the new version, the surface and pull listings name it as held back, and CONTEXT and ADR 0022 say so; red without it: the new pin over both writers went 0 passed 1 failed with either prune filter dropped and with the held-back entry dropped; the suite is green at 2184 passed; it also comments a two-identity reproduction on mmzxtyyt (tzuwvvnn)
a7995db5 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - review sweep 14 fix-ups on the perf afk-loop lands: the replaced_version guard of a no-arg loot adopt or a loot ferry catch-up now asks only about versions landed main recorded at a changed path since the working change forked and has replaced, where it asked about every earlier version in history and so refused an honest revert to a version older than the fork; where landed main holds a version sealed away from this identity its remedy names loot pull-grants before loot restore; its walk is bounded to the changes landed since the fork, a stored uncompressed object whose ciphertext length cannot hold the plaintext is skipped without a decrypt (Readable::may_open_to_len over sealed::may_open_to_len), opened digests are memoised and the landed version is opened only after a match, so a 200-version path forked 49 versions back went from 201 decrypts and 201 object gets to 49 and 97 for compressible content and to 1 and 49 for incompressible content; a capture on a position pinned at nothing with no amend open beside live heads now warns that it starts a second root line rather than refusing, since loot edit and loot adopt of a version, which would re-pin, refuse over the uncaptured edits it records; the convergence classifier reports theirs at the merge base address with either side unreadable as merged where it read relayed unmerged; ChangeGraph::fork_from is the one pin-to-fork-base match for the engine snapshot and the stale-disk decision, untracked_base returns a Pin, DagRepo::amends reads amend_gated_against, DagRepo::snapshot and snapshot_allowing take a Pin, the guard takes a named ChangedPath, and the CONTEXT adopt and classifier entries and ADR 0032 say so; red without it: the reworked catch-up table went 0 passed 1 failed with the whole history asked again (the honest revert refused), with the guard off, with a sealed landed version passed over, with the GCM tag length dropped and with compressed objects length-filtered, the classifier table 0 passed 1 failed with the new arm dropped, and the pinned-at-nothing pin 0 passed 1 failed with the warning never firing; the suite is green at 2211 passed 0 failed; it also files pqnmmypn, the review findings on the lanes listing, glob and settle claim lands (ptkvquqv)
4487134f ·diffdbf3dbe6… - the graph writer is now the delta container by default (ADR 0108 slice 2): a fresh file and a delta file are written as deltas, and a plain file migrates on the first save that reaches the graph, a no-op save included, so the primary graph converts once after the rebuild and not inside a land; LOOT_GRAPH_DELTA=0 is the explicit rollback to plain, which now applies each stored delta over the first parent map it decoded last instead of from the chain root, so on a copy of the primary graph a rollback save went from 5.9 s to 2.7 s, byte-identical to the original 566.8 MB; on that copy the migration save takes 7.0 s at 1.36 GB peak RSS, the file goes to 8.1 MB, and loot status from 0.21 s and 641 MB to 0.11 s and 82 MB; ADR 0108 records the writer as accepted, the rollback, which stored frames are copied through, and that no build reading deltas but writing plain by default may open a shared store, and the formats page gains its row; the early forge ask is now waited for up to 400 ms at the harbor before it is dropped and asked again, so a down forge costs at most that beyond one timeout; settle --wait reports a settle whose claim went unbeaten past the harbor horizon as presumed dead with the --retry remedy instead of waiting 600 s; the four loot-core tests that hand-edit plain bytes pin the plain writer, the ADR 0108 store test adds a want only a delta upsert holds, and ADR 0023 and a lanes comment drop a search roster and a marker; the perf gate reads no move, since store_bytes counts objects only; red without it: the store test 0 passed 1 failed with the wants dropping delta upserts, and the rollback pins 0 passed 2 failed with deltas applied over the wrong base; the suite is green at 2219 passed 0 failed and the site gate passes 348 (zkqkzvzs)
cc12096b ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - a land refuses an absent path as a revert only where some line of parents from the lane tip back to landed main history never held it, so a lane that adopted main and then deleted or renamed a file main added lands again, while a stale merge that drops a perf point still refuses; ticket files and perf points of other lands are no longer exempt; the refusal records reverts as its refusing span, the Reverts-Landed trailer is read once before the harbor from the landing change trailer block, with paths spelled as store keys and all counted only as the whole value, and the remedy names the paths; lane new writes the birth before the entry is listed; the salt fallback on a filesystem without hard links stages the salt and renames it over a create-new claim, and a short salt past a minute is written again; a lease breaker that cannot lock breaks unserialized instead of waiting forever; the adopt replaced-version vet reads history without the read memo and names loot new -m, with --allow-primary in the primary; the settled line prints the tokens Verdict::tokens marks decided; NarrowedHold narrows nothing off a lane and has no Default; GraphView::merge_base replaces two copies; docs drop ticket ids and history; the new table pin went red with an absence always counted (0 passed, 1 failed), never counted (0 passed, 1 failed), the ticket and perf exemption back (0 passed, 1 failed) and the refusing span unset (0 passed, 1 failed); the suite is green at 2264 passed, 0 failed, 6 ignored (mtouwnlp)
af371056 ·diffdbf3dbe6… - adopt: catch up to landed main 35745b7c
9f48d7e6 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - the pending delta of loot status reads each object it compares once and keeps none: the content compare now also answers the published marker and the visible_object gate from the same read, through the new Readable::vouch_digest_once over get_unmemoized, and keeps those two answers per object in DeltaSide::seen, so the rows, the retier check and admit_visible ask them instead of the read memo; resolve_delta takes a Reopen choice that only working_delta_into sets to Never, so every other door keeps the memo. over 64 files at 1 and 2 MiB the heap peak of status over a dirty tree, described or not, went from 0.66 and 1.27 MB to 0.11 and 0.16 MB, with object disk reads unchanged at 64 and 65 and object gets down from 129 and 130 to 65 and 66; on a 9,300-file copy of this tree max RSS of a dirty status fell from 51-54 MB to 37-40 MB; status and diff print byte-identical output in every format over clean, dirty, described and drifted scratch repos, and the gated perf counters did not move; a status over a clean tree still holds every object through the working preview, unchanged at 0.63 and 1.24 MB. a perf change off the must-test list, so no test was added; the suite is green at 2266 passed, 0 failed, 6 ignored (yzpsnvvt)
9fed6c0f ·diffdbf3dbe6… - adopt: catch up to landed main 2b7c8098
79aa0f7c ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - the store, op-log and pack locks now watch a lock found stale for a further quarter of the horizon before breaking it, as the harbor does, so a waiter on a Mac that slept past the horizon no longer breaks a live holder mid-rewrite, and a lease breaks a lock without its breaker only where the kernel answers that locking is unsupported (Unsupported, ENOLCK, ENOTSUP, EOPNOTSUPP), waiting out a breaker error that passes (EINTR, EMFILE, ENFILE, EAGAIN); seek keeps the breaker when it clears a new cache position and judges a busy marker by the lease clock as its claim does, a crashed short proof salt is judged again under a kernel lock before it is removed, and lane new removes what it wrote on any failure before the entry is registered; a replaced shared file is written only when its handle changed it or never read it, a file written during a capture refuses with the code changed_while_recorded, the visible_object gate is one function the status read calls too, and LOOT_NET_TIMING lines drop any user:token from the host; ADR 0109, 0107 and 0076, CONTEXT and lease.rs say so, and some comment drift is cut; red before the fix: a holder beating inside the confirm window broken, a transient breaker error breaking the lock and a stale identity handle writing over a newer name (0 passed, 3 failed), and a timing line naming alice:hunter2 (0 passed, 1 failed); mutation proofs: the confirm window dropped with every breaker error read as unsupported (4 passed, 2 failed), no error read as unsupported (5 passed, 1 failed), the errno check dropped (0 passed, 1 failed); any other breaker error refuses with the code lock_breaker_unusable, naming the breaker file and its remedy, at once when permission is denied (EACCES, EPERM) and else once it has lasted the horizon, and never breaks the lock without the breaker, so a store lock taken with no deadline no longer waits forever on a breaker another user owns: lock_shared, lock_ops and the repack wait now return that refusal, pinned by refused rows in the injected-error table, which went red with a denied permission waited out for the horizon and with an unusable breaker broken through (4 passed, 1 failed each); loot-core is green at 364 passed, 0 failed, 1 ignored, and the suite at 2264 passed, 0 failed, 6 ignored (wttrstzz)
5f906127 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - review sweep 15 fixes on the delta graph container (b5a892c6, d105116b): the format_discipline Marked arm loses the comment that listed its members, the windows-flavoured store test in surface.rs loses its pre-fix and incident history and says why it writes plain (the delta container refuses a backslash key), ADR 0108 Consequences now says a build that predates the container refuses a migrated shared store instead of naming the default as pending, graph_delta::read_frame_is_delta replaces the frame-tag match duplicated in Manifest::walk_contained and outline_nodes (which drops the delta flag from the walk tuple), and RepoStore::new builds through for_lane; no behaviour change, so no test was added, and the full suite is green (2268 passed, 0 failed, 6 ignored); it also closes map uvrqzsoy, every child of the architecture hunt of 2026-10-08 being closed (wvzoqrll)
ca182c18 ·diffdbf3dbe6… - 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 ·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.