connor / loot

connor/loot

Changes touching this path

  • review sweep 8 fix-ups on the perf afk-loop lands: the ferry refuses a git commit it would ingest only when it writes back the bytes of a burned object, matched by git blob id against the blobs that mirror commits marked to versions holding the burned object wrote at its path, so a path burned and re-added through loot no longer stops every ferry and land once a trailerless git edit touches it, a burned object no mirror commit wrote has no blob to refuse, and every matched blob carries the tier of the version it came from, so no tierless match refuses at any tier; where a version holding a burned object is marked at a commit the mirror no longer holds, the ferry fails closed for that path, refusing any write to it at the recorded tier or a wider one and naming the narrower re-seal, while a version with no mark reads as never projected, as a dropped mark does too; a Restricted re-seal naming a reader the burned set lacked counts as wider and is refused, where a subset is admitted; the forge refuses a verdict on an answered job unless it repeats the outcome, log and detail on file, so a lapsed runner process re-claimed under its key can no longer overwrite the answer beside a signed pass, and the route answers 403; burned_seals_at folds into objects_at_path, which now carries the tier of each site; the CONTEXT burn entry is cut to a definition, ADR 0038 section 4 states the blob match and the fail-closed fallback, the burn text and the burn-secret skill name the narrower re-seal, the migration 0060 header loses its ticket id and the job_of claimed_at comment its history, and the RunnerFailed doc says 408 and 429 are refused and a 2xx that does not decode is unsettled; red without it: a spawned web edit of a re-added burned path went 0 passed 1 failed against the landed code, the pruned-commit pin 0 passed 1 failed before the fallback, with the unknown path left unrecorded, and with the fallback ignoring the tier, the restricted reader pin 0 passed 1 failed with the widening arm dropped, an empty burned blob set turned both blob unit pins red (3 passed 2 failed) and the spawned pin red (0 passed 1 failed), and the verdict conformance case went 0 passed 2 failed on memory and Postgres with the overwrite restored and again with the detail left out of the compare; loot-forge passes 595 against a throwaway Postgres 18 and the suite is green at 2181 passed (wtwputsu) 1f9fa06e · dbf3dbe6…
  • loot show and a two-change loot diff now give a path whose content two recorded changes hold under different @world markers a tier-only row, published → internal or the reverse, with from_published in json and the from-published porcelain flag, where the engine same-content judgment dropped it and an unpublish showed only as its .lootattributes edit; loot format-patch, on the same seam, names such a path in its not-diffed block and its unchanged count; loot status prints the tier-only rows of the pending delta with no working change and over a working change that reads empty, where it printed no working change or is empty and hid the re-seal the next capture makes, as after a ferried git commit that moves a published rule, still mints nothing, and leaves its machine channel unchanged; such a status compares each anchor object marker with the standing rule and resolves the delta only on a disagreement, and reads the markers through .loot/marker-cache, a new position-owned store artifact excluded from undo that records the published and unreadable addresses of the anchor it was written for, so it reads only the addresses the anchor gained since, sound because a held address keeps the object it was stored with; no tree entry, manifest or keyring carries the marker, a scan of ruled paths misses a dropped rule, and comparing rule sets misses the ferried case, whose anchor records the rule the disk holds; over a 400-path tree a status with no working change and nothing to show goes from 0 gets and 0 disk reads to 1 and 1 after a one-edit anchor move, 0 and 0 on a repeat and 401 and 401 once with no cache, one over an empty working change stays at 401 and 401 on a repeat and is 802 and 401 the first time with no cache, one with 100 pending unpublishes, now shown, goes from 0 and 0 to 903 and 401, one over a working change recording them from 200 and 200 to 1102 and 501, while show stays at 8 gets and 2 disk reads for a change with no re-seal and goes from 200 to 1000 gets, disk reads flat at 200, for one that re-seals 100 paths, now 100 rows; the delta seam CONTEXT entry and the ADR 0023 diff entry say so, a new row of an existing class and rung with no contract move; red without it: the show and diff pin went 0 passed 1 failed, again with only the unpublish direction kept, and the status pin 0 passed 1 failed with no working change, again with only the empty-working-change arm removed, and again with the cache forgetting the published addresses it carries; the suite is green at 2221 passed 0 failed; it also files quxupmoq, a re-seal-only working change that reads as empty (twpwymzs) 9860ad51 · dbf3dbe6…diff
  • review fixes on the marker cache, the replaced_version guard and machine status (55473d34 ptkvquqv, 64331eab yyxpyxqx, 9c24e89b twpwymzs): status --json now ends with a reseal list of path, visibility and from_visibility for each path the next capture re-seals under the other @world marker, with or without a working change, porcelain carrying no row as for held_back, recorded under ADR 0023 and pinned by the ferried web edit test, which now asserts that list and went red without it (0 passed, 1 failed), red with the rows read only without a working change (0 passed, 1 failed) and red with them read only over one (0 passed, 1 failed); the replaced_version guard judges a working change from the history its parents share and asks only about paths where it holds none of the versions of its parents, so a version a merge parent replaced no longer signs as a revert, pinned by a new table that went red without the fix (0 passed, 1 failed), red with the histories of the parents unioned (0 passed, 1 failed) and red comparing the first parent alone, which refused the version taken from the merge parent (0 passed, 1 failed); the marker cache burn and re-receive case was not reproduced, since DagRepo::store refuses a burned address, so its module doc gives that reason and no code changed; tree_at gets its doc back from fork_from, the ADR 0023 diff entry loses its history, CONTEXT.md narrows Adopt to what the guard refuses, the restating comments in capture.rs and preview_agrees_with go and the marker_cache, resolve_pending and tier_only_rows docs are cut down; the catch-up rows are a struct, status reads its format once, the pinned-at-nothing test stops calling the warning helper and cli_smoke drops its show prose assertion; the full suite is green with 2232 passed, 0 failed and 6 ignored; it also files wvzoqrll, the sweep findings on the delta graph container lands, for that line of work (yrnyltwp) dfe4f666 · dbf3dbe6…diff
  • the integration tests of loot-cli, loot-core, loot-net, loot-first and the database-free half of loot-forge link as one test binary each (tests/all.rs declaring the files in place, autotests = false, and emit_snapshot, wake_proxy, oplog_record_cost and the live-database forge files kept as binaries of their own because they set environment variables, install a global allocator or share a Postgres cluster), so the integration-test binaries drop from 82 to 25 and the test executables from 107 to 50 with every test kept (the same 389 integration tests by name and 2231 passed, 6 ignored, now 2232 with the new guard), a touch of loot-core then relinks 41 binaries instead of 98 in about 6 s against about 12 s on the Mac and the gate-style run of the units takes about 18 s against 19 to 37 s under load 20 and more; the site gate type-checks through tools/typecheck.mjs, one incremental tsc -p per referenced project beside the others with its build info in node_modules/.cache/tsc keyed on file content, taking the step from 7.8 s to 1.2 s on a repeat pass, and runs build:wasm through tools/build-wasm.mjs, which skips wasm-pack while src/wasm carries a stamp of the cargo-metadata closure of loot-wasm, the lockfile, the toolchain pin and the output hash, taking it from 1.1 s to 0.14 s, so a repeat site gate runs in about 9.8 s against about 16.6 s (medians of 4 interleaved runs, a cold pass unchanged within noise); orchestrator.rs is untouched because the gate is still npm run gate; test_files_run in loot-first fails the suite for a tests/*.rs that no binary builds, red with a stray file in loot-net (0 passed, 1 failed), typecheck.test.ts pins that a cached failure, an old-timed edit and an unreadable cache never turn a failing project green, red with a failure forgiven when a cache exists (1 failed), and build-wasm.test.ts pins what refuses the skip, red with the dependency closure dropped (7 passed, 1 failed) and with the output hash dropped (7 passed, 1 failed); the suite is green at 2232 passed in cargo test and 357 passed in the site gate (pvqwkyso) 572b273c · dbf3dbe6…diff
  • loot new signs a working change whose only changes are re-seals, as the operator decided on 2026-10-11: same_tree_content compares the @world marker under Markers::Compared, so finalize keeps the capture and loot new --allow-publish publishes, live_working_row gives status --json a version and loot log a non-empty working row, holds_work and catch_up_blockers count it as work at a land, adopt and the ferry reconcile count a re-seal as work only in a working change held before the verb, and the premature-new hint in ferry moves with them; capture_due, auto-snapshot, the overwrite guards and lane take stay content-only. Without it the ferry_burned_path pin read a null status version (1 passed, 1 failed) and the new primary_state pin read Clean (0 passed, 1 failed); full cargo test green, 2444 passed, 0 failed, 6 ignored (quxupmoq) 2c686e11 · 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.