connor / loot

connor/loot

Change Ledger

One row per change, not per commit. The pusher declares which versions are live; this walks their ancestry, newest first, and bands each change by what this server can actually read. Nothing here is merged, rewritten, or picked for you.

1 declared head · 2209 changes walked

  1. absence gets its glossary entry: three futures for a missing byte (#803)
    handle f98525a6·eb7f925a·dbf3dbe6…
    • supersedes 5ba4e733 · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 1 sealed · by lock: 1 internal
  2. the change ledger becomes the history surface, banded by what the server can read (#760)
    handle b5f2c1da·8ad80be0·dbf3dbe6…
    • supersedes ffdb02b4 · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 16 sealed · by lock: 16 internal
  3. the one app serves from the VPS, and loot.millerbyte.com flips to it (#752)
    handle 4e9cfd8b·ca5f93ec·dbf3dbe6…
    nothing readable · 4 sealed · by lock: 4 internal
  4. a no-op ingest still mints its change: the spine needs a mark per mirrored sha (#842)
    handle 80e81d84·316935ec·dbf3dbe6…
    • supersedes 4bdac813 · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 4 sealed · by lock: 4 internal
  5. the change graph gets one read view, and the two forwarding bands over it retire (#868) (conflict resolution: crates/loot-cli/src/workspace.rs)
    handle 0bf1edde·31a918e5·dbf3dbe6…
    nothing readable · 1 sealed · by lock: 1 internal
  6. the change graph gets one read view, and the two forwarding bands over it retire (#868) (conflict resolution: crates/loot-core/src/engine.rs)
    handle e2b4ecb0·62c012aa·dbf3dbe6…
    nothing readable · 1 sealed · by lock: 1 internal
  7. the change graph gets one read view, and the two forwarding bands over it retire (#868) (conflict resolution: crates/loot-core/src/lib.rs)
    handle 2318b9e1·e9327007·dbf3dbe6…
    nothing readable · 1 sealed · by lock: 1 internal
  8. adopt: catch up to landed main a10e310fmerge · 2 parents
    handle b0f4beaa·ebbe89be·dbf3dbe6…
    nothing readable · 2 sealed · by lock: 2 internal
  9. the change graph gets one read view, and the two forwarding bands over it retire (#868)
    handle b23ed621·826c3339·dbf3dbe6…
    nothing readable · 21 sealed · by lock: 21 internal
  10. the two servers share one auth preamble, and a forge handler reaches the router only through the crossing (#865)
    handle bc350acb·a10e310f·dbf3dbe6…
    • supersedes a2992b5b · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 9 sealed · by lock: 9 internal
  11. a ferry refusal reaches a machine consumer as itself, not as a generic error (#867) Every seam inside `ferry::run` returned `Result<_, String>`, so a pass — which is mostly other people's failures — flattened all of them before the CLI could emit them. A typed `RepoError` the engine had already coded, and the reconcile executor's `Plan::Refuse`, both reached a `--json` consumer as the generic `error` code. The prose was fine; the machine channel was the loss. The nine phase signatures now carry `CliError` end to end, which restores the engine's own slugs for free: engine calls propagate with a bare `?` instead of `.map_err(|e| e.to_string())`, which is precisely what was flattening them. Exactly three slugs join the frozen ADR 0023 contract (amendment recorded): `undescribed_parent` and `foreign_paths` from a new `reconcile::Refusal::code`, built alongside the unchanged wording by BOTH executors — `apply_plan` and #866's adopt catch-up — so two verbs sharing one table cannot become two taxonomies; and `git_mirror` where ferry lifts git2, deliberately coarse because the bit a consumer acts on is retry-the-environment versus obey. `git_mirror.rs` stays stringly inside: inventing a loot taxonomy for git2's errors would be fiction. `rollback_note` keeps the abort's code and grows only its message — a rollback is context about that failure, not a different one. Every refusal's wording is byte-identical; the human channel does not move. Ferry's own handful of refusals stay honestly generic, and so do the tier's remaining flatten sites, which graduate one at a time when a consumer needs them. The one loot-first line is the seam back out: its orchestrator keeps a String channel, so `From<CliError> for String` makes that a `?` rather than a hand-written `.to_string()` at every call. Found while pinning the codes: the uncaptured-WIP ferry test refuses with `foreign_paths`, not `undescribed_parent` as it reads. Both wordings offer `describe -m`, which is why prose was never a taxonomy.
    handle f1832117·4fc73479·dbf3dbe6…
    • supersedes 6c330a8d · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 8 sealed · by lock: 8 internal
  12. a key's provenance is stated at the one door, and a grant is refused at the two that bypass it (#864)
    handle 12f76e1b·82e06601·dbf3dbe6…
    • supersedes 087b7cd0 · not stored here
    • supersedes be207564 · not stored here
    • supersedes c37e3d95 · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 12 sealed · by lock: 12 internal
  13. every persisted artifact crosses the store as its own type, and raw paths retire to the four recorded owners (#863) Land A of #863 (decision #851): RepoStore gains a typed read/write pair per artifact — identity, graph, keyring/escrow and their shared halves, manifest, purges, attestations, burn log, conflicts, resolved — each owning the file, the atomic replace, and the absent-file semantics, with the codec staying where it lives. The engine's save_to/load_from/refresh_hold/gc/verify raw sites, the op log's capture/restore and ops file, and the bisect session all migrate through; the ops file and view restore gain the temp+rename atomicity they lacked, and the op-log capture now waits out the Windows replace window instead of recording a live file as absent. Absent is now NotFound alone everywhere but `resolved` (best-effort by contract): a torn read fails loudly rather than reading as an empty artifact. The migrated getters drop to pub(crate); `objects/`, the keypair/peers, `git-mirror/`, and doctor keep raw access as the recorded second owners.
    handle c2b58d0b·0edf769d·dbf3dbe6…
    nothing readable · 8 sealed · by lock: 8 internal
  14. the lane runbooks stop assuming a shell that remembers anything (#883) Found running ticket-to-lane for #867 end to end. Its step 4 exported LOOT_SESSION in bash and its step 5 said to cd into the lane, all subsequent work happening there — and neither survives a call here. Variables do not carry, and this repo resets the working directory back to the primary after every call, so step 5 certified a state the harness discarded a moment later and every one of the ~20 later commands needed its own Set-Location. The reset is a good default, so the runbooks lean into it rather than fight it: a lane is a path you carry, not a directory you move into. Step 5 becomes Pin the lane path. The rule is shared — land-change runs entirely from a lane — so it lands once in BINARIES.md beside Where you run them, as the fresh shell, with both skills pointing at it. It names the two things that ride every call and not just the first: the Set-Location prefix, and $env:LOOT_SESSION, which was written as a spawn-time formality even though lane gc is session-scoped too and needs the same label set again in that call. Three smaller ones from the same run: step 1 gains a `git log origin/main --grep=(#<n>)` check, because open is not unbuilt here and a ticket whose work landed under another id stays open until someone notices; the BINARIES pointer said before step 1 when the first loot call is step 3; and the primary-only rule was stated three times, so the guardrail bullet folds into step 4, where its mechanism explains why step 3 checks at all. The frontmatter description promised the skill cds you into the lane, which the step 5 change makes untrue — it now says it hands back the path.
    handle 16f779bd·3bf849b5·dbf3dbe6…
    nothing readable · 4 sealed · by lock: 4 internal
  15. the adopt catch-up decides in the shared reconcile table, and keeps its own hands for the fold (#866) `adopt_harbor` is now the same three steps as the ferry reconcile: prologue (the two "cannot name the target" refusals, the #829 shared-graph ingest, the ADR 0047 hold refresh) then `adopt_view`, then `reconcile::decide`, then adopt's own executor. Ferry and adopt can no longer drift on WHAT to do. A sibling of `apply_plan`, not a mode flag on it: the same `Plan::Merge` means carry for the bridge (ADR 0039) and fold for adopt (ADR 0034), so that distinction stays a named seam rather than a runtime argument. Adopt's hands are `fast_forward_to` and `fold_line_in`, with `fold_line_in`'s internal short-circuits intact (`lane merge` is a live caller of them). The #418 seal-WIP override stays executor-side in both verbs as the typed `RepoError::SealWip`, deduped into one `seal_wip_gate` helper carrying the verb name. Routing it through `Plan::Refuse` would demote a matchable guard+override refusal to a stringly error, and it reads live state at the signing seam beside the mis-seal gate. The View is unchanged at six fields. Adopt becomes the first production caller that passes `covered: true` (its stale doc note is updated), and the first that captures BEFORE computing `covered`, which is legitimate because the table is order-indifferent: `covered` outranks every other field. The capture normalization stays verb-owned and is skipped once `covered` holds, so an already-current catch-up still leaves the operator's capture exactly where it was. One behavior change falls out of the routing: a catch-up with no local line at all (`pinned: None`) now takes the plan's Adopt arm and fast-forwards onto landed main, where it used to fall through to `fold_line_in` and refuse with "nothing to merge into yet, record a change first". Catching up is what the verb is for, and it is what `reconcile_onto` has always done in that state; `fast_forward_to` takes `Option<&Oid>` for the missing `from`. `loot adopt <version>` is untouched: taking a target wholesale makes no reconcile decision. Tests: the choices are the table's, so adopt's repo-materializing tests keep only what is still adopt's own, the prologue, the capture normalization, and each executor hand's effect. Added the second prologue refusal (a landed main the shared graph lost) and two executor smoke tests: the `pinned: None` adopt arm, and the no-op leaving a capture untouched. One duplicate drop-the-redundant-capture test folded into its twin.
    handle 8dd5567d·46b3f587·dbf3dbe6…
    • supersedes 70eab68d · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 5 sealed · by lock: 5 internal
  16. the store grows the inventory: classification as data, an exhaustive save walk, and a View derived from the captured rows (#863) Land B of #863 (decision #851), closing the ticket. One static row per artifact in loot_core::store carries what the getters' doc comments said in prose: ownership class (ADR 0034's three), undo membership (captured at a pinned wire ordinal, or excluded with the reason as data — `lost` stays shared AND excluded, because a view reset must not un-acknowledge accepted loss), and the artifact's place in the walk. The engine's save_to persists the shared surface by one exhaustive dispatch over the table, so adding an artifact without deciding its persist story fails to compile; the op-log View's entries derive from the captured rows in ordinal order, with ordinals below the pinned inline count encoding inside each op and every later ordinal riding its own trailing section — the discipline bisect (#390) and resolved (#744) established by hand, now produced by the ordinals themselves, so old op logs decode unchanged and a new captured row is one inventory row whose existence IS its undo coverage. Structural tests pin the table: dense unique ordinals, capture implies position ownership, and every row's path agrees with its class (keyring/escrow project, ADR 0047).
    handle 187ab501·d05a0c46·dbf3dbe6…
    • supersedes 69dab367 · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 5 sealed · by lock: 5 internal
  17. the conflict resolution keeps both sides whole, appending the --remote test after the archive and shortlog tests (#860)
    handle cc9ba4f3·d1ad475b·dbf3dbe6…
    nothing readable · 1 sealed · by lock: 1 internal
  18. a --remote name resolves through the remote registry, and a verb's positional is scanned past the flag values it consumes (#860) (conflict resolution: crates/loot-cli/tests/cli_smoke.rs)
    handle 77e72133·93255f97·dbf3dbe6…
    nothing readable · 1 sealed · by lock: 1 internal
  19. adopt: catch up to landed main 1b57778emerge · 2 parents
    handle c7622957·67478c73·dbf3dbe6…
    nothing readable · 1 sealed · by lock: 1 internal
  20. loot archive exports only the paths its caller may read and says what it left out rather than looking complete, and loot shortlog rolls the changes loot log lists up by author (#416)
    handle 8fbc3f3b·1b57778e·dbf3dbe6…
    • supersedes e8e93959 · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 8 sealed · by lock: 8 internal
  21. a --remote name resolves through the remote registry, and a verb's positional is scanned past the flag values it consumes (#860)
    handle 794a8b73·798707da·dbf3dbe6…
    • supersedes e9cf3149 · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 3 sealed · by lock: 3 internal
  22. a lineage catch-up brings the objects and keys its nodes reference, and a ferry that dies mid-projection names the oid in hex and the recovery (#778) The filed hypothesis was that a change node can become visible before the objects it references are durable. It is wrong: save_to already writes objects before the graph that names them, and that order is deliberate and commented. The real defect needs no race at all. The object store and the keyring are loaded exactly once, at load_from, while the shared graph is deliberately re-read mid-process by ingest_shared_lineage (the 265 catch-up primitive). So any peer that finalizes after this process opened contributes a node whose bytes and keys this process will never hold. A land guarantees a long window there: it opens the workspace, runs the pre-land tests, and only then ferries, so the ferry aborts mid-projection while holding the harbor lock. ingest_shared_lineage now refreshes objects and custody after it re-reads the graph, and load_from reads in the reverse of save_to write order, so a reader never blends a newer graph with an older object scan. Also: an Oid renders as hex instead of a 32-element decimal byte array (Debug full width, error strings short), and a mid-ferry abort now names its recovery with flags checked against the verbs that parse them. hex moved from loot-core to loot-codec because RepoError is defined in loot-codec and the dependency runs one way only; loot-core re-exports it, so every call site is unchanged.
    handle 0e5b19b4·0ba6d577·dbf3dbe6…
    • supersedes 3c05ea0b · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 8 sealed · by lock: 8 internal
  23. a forge advertises its retention window on /info, and burn prints one honest bound per host it disclosed to (#814)
    handle 5c53b651·652f4023·dbf3dbe6…
    • supersedes 063f8e8b · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 13 sealed · by lock: 13 internal
  24. loot diff --stat counts the lines each path moved, and a path it cannot read says why rather than reporting zero (#416)
    handle 49f6a68c·08d586c7·dbf3dbe6…
    • supersedes 0f0e95b1 · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 6 sealed · by lock: 6 internal
  25. settling onto a tip is one dance that always clears the tree-hash, and the finalize binding has one home (#862) The settle dance - bring the tree to show a finalized tip, move the position, clear the tree-hash, persist - was hand-assembled at eight sites, and only four remembered the clear. The drift was benign solely through an unstated proof (every no-clear site leaves the Draft clean, so the snapshot fast path cannot fire); a future caller settling with a live draft would have broken silently. Two private Workspace coordinators now own it: settle_advance / settle_seed (Position's advance-vs-seed vocabulary stays visible at the call site) share one tail - clear tree-hash, persist - and a closed SettleTree enum carries the tree half: Materialize { from }, OnePath (resolve's #233 single-path write, which must never widen), or InPlace. Draft moves and signing stay with callers; finalize_working and restart_on remain composite coordinators wrapping draft-handling around a settle. The finalize signature (version-id, change-id, predecessors, authored_at - ADR 0029/0032/0043) was typed verbatim at four sites; a fifth that forgot authored_at would mint a valid-looking, unverifiable signature. sign_version(&Oid) is now the one binding, keyless gate inside, no persist (the carry loop signs N and persists once); public sign_change keeps its interface as sign_version + persist. Decision: #850 (map #849). fast_forward_to, converge_heads's survivor-adopt and resolve_conflict now clear the tree-hash they skipped; the extraction is the fix, no separate tickets. CONTEXT.md gains the Settle glossary entry.
    handle f3bbea58·d4ed0644·dbf3dbe6…
    nothing readable · 4 sealed · by lock: 4 internal
  26. every loot-first failure reaches the exit status, and a land whose fast-forward is refused no longer reports a landing (#832)
    handle f27c6f31·f641cfe4·dbf3dbe6…
    • supersedes 48adc32a · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 5 sealed · by lock: 5 internal
  27. an offer-corpus harness measures loot's own history, where a delta-scoped offer already carries the whole tip tree (#803)
    handle 53673e5d·8139603c·dbf3dbe6…
    • supersedes 62066733 · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 2 sealed · by lock: 2 internal
  28. a relay is measured, not capped, and the only bytes it may forget are torn writes (#817)
    handle 0a0d3e37·f52d53e4·dbf3dbe6…
    • supersedes 6bf11d1e · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 15 sealed · by lock: 15 internal
  29. a PR no longer uploads a cache nothing reads, and a daily sweep keeps the artifact budget under its own alarm (#835)
    handle 681642ea·2a1e459e·dbf3dbe6…
    • supersedes 95cfbad4 · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 5 sealed · by lock: 5 internal
  30. the mirror's tree may carry paths loot has no record of, and ADR 0028 never recorded the public-delta (#645)
    handle 7d787f08·c612e0e3·dbf3dbe6…
    nothing readable · 5 sealed · by lock: 5 internal
  31. the install page verifies integrity, not provenance, and every link on it resolves anonymously (#809)
    handle fe231a0c·9f40928f·dbf3dbe6…
    • supersedes 07f8f4a3 · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 3 sealed · by lock: 3 internal
  32. adopt resolves its target in the shared graph, so a lane-landed change is refused by name, not reported missing (#829)
    handle 445e542c·52dd2c3d·dbf3dbe6…
    • supersedes 533b74b7 · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 5 sealed · by lock: 5 internal
  33. a lane's embargoed key crosses into the shared escrow, and the reap cannot take the reveal with it (#828)
    handle e5241669·e126b8e3·dbf3dbe6…
    nothing readable · 4 sealed · by lock: 4 internal
  34. lootignore: local env files, which tools create without being asked (#808 follow-up) `vercel link` writes a `.env.local` holding a VERCEL_OIDC_TOKEN as a side effect of linking a project. It landed in a loot working change as `internal` on 2026-08-07, unasked for, during the site deploy for #808. Nothing was landed or pushed, so there was no exposure — but `internal` is readable by the relay, so riding along with a land would have put a live token there. ⭐ .gitignore already covered it and .lootignore did not, so the two disagreed about the same file. An ignore rule present in git but absent in loot is a gap, not a duplicate: git's copy silences the warning that would otherwise have surfaced it. `.env` / `.env.*` with `!.env.example`, matching how .gitignore treats them. Verified by recreating .env.local and confirming `loot status` stays clean. Also carries the `.vercel` / `.env*` lines `vercel link` appended to .gitignore, which are correct and worth keeping.
    handle 74a4d5cb·82fab4e6·dbf3dbe6…
    • supersedes 1afe1ede · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 3 sealed · by lock: 3 internal
  35. release: bump loot-cli and loot-forge to v0.4.3 for the relay grant-auth redeploy (#818)
    handle 559ca38a·a595bfd9·dbf3dbe6…
    nothing readable · 4 sealed · by lock: 4 internal
  36. adopt: catch up to landed main 941cafb9merge · 2 parents
    handle 8b678edf·042f960e·dbf3dbe6…

    No path recorded as touched by this change.

  37. a lane carries its own hold, and custody crosses back whole at finalize (#811)
    handle 52869b25·941cafb9·dbf3dbe6…
    • supersedes a8b50369 · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 22 sealed · by lock: 22 internal
  38. perf: record the benchmark series for the #808 land attempt A byproduct of loot-first's perf step, captured as its own working change when the land adopted a concurrently-landed main (#818/#816 reached main while #824 was in flight) and rotated the change underneath it. Content, not intent — the land's own gate wrote it.
    handle 094a01ef·bff33142·dbf3dbe6…
    nothing readable · 1 sealed · by lock: 1 internal
  39. adopt: catch up to landed main a5e2ffcfmerge · 2 parents
    handle ab859437·666f3e19·dbf3dbe6…

    No path recorded as touched by this change.

  40. installer: serve the R2 base first, and turn the curl | sh gate back on (#808) The hero one-liner has been returning 404 in production. The site's /install.sh proxy fetched the installer from GitHub anonymously, and the repo is private permanently (ADR 0045), so there was nothing to fetch. #807 put the artifacts on R2; this points the installer at them. The proxy now reads upstream from dl.millerbyte.com and rewrites the generated ARTIFACT_DOWNLOAD_URLS default to list the R2 base FIRST and GitHub second. dist's installers already try each base in order, so the fallback costs nothing and keeps working for anyone with credentials. ⭐ The rewrite derives the version from the line it is rewriting. The anchor already contains the release tag, so capturing it means the site needs no version knowledge, no 'latest' pointer to resolve and no credential — a test moves the tag and the R2 base follows. ⚠ The two installers genuinely differ and one regex would have silently matched neither: sh builds a space-separated string, ps1 builds an array. The ps1 anchor is pinned to the ASSIGNMENT rather than the URL, because the same URL also appears in that script's help text — a loose match would rewrite the comment, leave the real download list GitHub-only, and still pass every check that greps for the R2 base. The rewrite THROWS if the anchor is absent. A silent no-op is the current bug wearing a different hat: it would ship an installer pointing only at URLs that 404 for exactly the audience the one-liner exists for, while the route returns 200 and the bytes look like a real script. Nine tests cover both installers, both drift cases, and the help-text trap; the anchors were also validated against the real 54 KB v0.4.2 scripts. publish-r2 now also writes unversioned installer copies to /installers/. That is the one deliberately mutable object in the bucket — every v{VERSION}/ prefix stays immutable and year-cached, but 'latest' has to move or the one-liner pins itself to whichever release shipped first. It carries max-age=300, matching the proxy. smoke-install.yml loses its `if: false` and now defaults to the hero path rather than a GitHub-direct URL. Testing a URL no user is told to run proved nothing; this exercises the whole chain — proxy, rewrite, R2. The skip comment is kept as history, because why it was disabled is why the gate is worth having.
    handle 40c63a46·6bf1df11·dbf3dbe6…
    nothing readable · 4 sealed · by lock: 4 internal
  41. the grant lane is fixed-width and acked, so a deposit frames no length and a read destroys nothing (#818) Closes #818 and #816, deliberately together. Both are hard wire breaks on the same two endpoints, and #818 said so itself: landed separately it buys a second relay-before-clients redeploy for a shape improvement. Landed as one, the grant lane breaks once and comes out uniform. #818 — the deposit body is `[recipient pubkey 32][grantor envelope...]`. `split_deposit` is still the only thing that runs before authorization, and it is now a constant-size slice: no length field, no UTF-8, no hex decode. This was never a vulnerability — the old length was attacker-controlled but correctly bounds-checked, and #621 already moved `Frame::decode` below the gate. What it was is a shape every future reader had to re-verify, and a "the grantee is a key" rule enforced by a validator that a later well-meaning change could relax. A fixed-width field cannot be relaxed. The mailbox index stays hex-keyed on disk, so the relay now mints that hex instead of parsing the caller's spelling. #816 — `/pull-grants` returns the due blobs and keeps them; a new `POST /grants/ack` names the content addresses the caller durably applied and drops exactly those. Handing bytes to a socket was never proof of receipt: the connection can drop, or `apply_sealed_grant` can fail after they arrive, and the grant was then gone from both sides. `loot pull-grants` acks only what it applied or quarantined — anything that hit a `skipping` branch stays pending, or this would be drain-on-read wearing an extra round trip. An ack is scoped to the acker's own mailbox, and since blobs are content-addressed a shared file is unlinked only when no index entry anywhere still refers to it. This also shrinks #621's accepted replay cost: a replayed read envelope now re-reads bytes the holder already had instead of destroying them. Not a format major, in either half — store and bundle formats are untouched and the on-disk mailbox index is unchanged, so a relay carrying pending grants keeps them across the redeploy. Recorded as the second amendment to ADR 0015 (2026-08-07), with CONTEXT.md's grant-allowlist, grant-discovery and forge entries corrected to match; the forge lost one of its four named differences from a relay, because the relay adopted it here.
    handle 4386d067·a5e2ffcf·dbf3dbe6…
    • supersedes 9b503e2a · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 7 sealed · by lock: 7 internal
  42. publish-r2: mirror release artifacts to Cloudflare R2 for anonymous download (#807) The repo is private permanently (ADR 0045), so Release assets 404 for an unauthenticated fetch — which is what broke `curl | sh`. This adds the anonymous path that replaces them: every asset the Release publishes is mirrored to dl.millerbyte.com/<tag>/, served from R2 with no credentials. The bucket, its scoped credential and the dl.millerbyte.com custom domain are provisioned by scripts/setup-artifacts.js (scripts @ 736f6e8), and the anonymous fetch is already proven live against that bucket. A *publish* job, not post-announce, and the ordering is load-bearing: publish jobs run after `host` uploads the Release and `announce` waits for them, so R2 is populated before the post-announce smoke test. Listed post-announce instead, #808's `curl | sh` gate would race the very artifacts it fetches. The job body is hand-owned in its own file so `dist generate` cannot clobber it — the same shape as smoke-install.yml (#258). It carries a workflow_dispatch tag input so it can be exercised against an existing release rather than first running during a real one, verifies every mirrored asset anonymously against the Release's own sha256, and warns (not fails) if the edge is not caching. ⚠ dist-workspace.toml also documents that it must be edited with `dist generate`, never `dist init` — init rewrites the config from its own defaults and strips every comment, which today destroyed the #270 native-ARM64-runner rationale and the whole ADR 0045 attestations block before they were restored.
    handle b74b2923·5b710e89·dbf3dbe6…
    nothing readable · 4 sealed · by lock: 4 internal
  43. #652 step 4 lands as accept, and the seal stays (#652) ADR 0045 deferred one judgement -- whether the 2026-07-30 window means docs/pitch/zk-host.md should be treated as disclosed. Resolved by grilling: accept the disclosure, keep the seal. The instrument was wrong first. loot burn does not apply: zk-host.md was never mis-sealed in loot, and the loot object is correctly restricted to this day. What leaked was the git PROJECTION -- a plaintext blob in refs/pull/161/head, which is not a loot object and which burn cannot address. ADR 0038 section 4 already drew that line, and it was still reached for wrongly during this very decision, so the amendment records it explicitly. Nothing is rotatable in ~1.6 KB of product thinking, so ADR 0038's accept-and-rotate resolves to accept, chosen rather than defaulted to. The empirical half is recorded as inconclusive rather than reassuring: the ticket's premise that the repo has no traffic is false for the exposure day (9 of 14 days sit at uniques=1 tracking CI exactly; 07-30 shows 64 clones from 17 uniques), a tag-push fan-out is a plausible benign cause, and the same model fails on 07-24. The raw capture is deliberately not landed -- bare numbers without the baseline read as an incident. The seal stays on an asymmetry: unsealing cannot un-disclose the blob but would disclose the whole directory going forward. CONTEXT.md's Restricted bullet gains the escape path it never named.
    handle 13d67aca·e7963d9b·dbf3dbe6…
    nothing readable · 3 sealed · by lock: 3 internal
  44. the ADR 0045 markers go back to 2026-08-05, which was right the first time (#652) 2f3c162 moved ten dated markers from 2026-08-05 to 2026-08-07 on the theory that they recorded the wrong day. They did not. de79d39, the commit carrying them, is stamped 2026-08-06T05:02:51Z -- which is 2026-08-05 23:02 local, and this repo dates its markers in local time. Two other landings from the same hour agree: ADR 0046 (f3f8a3d, 05:23Z) and the ADR 0015 amendment for #621 (f88cf89, 05:33Z) both read 2026-08-05 in CONTEXT.md. The 39-hour gap between that land and the correction was real elapsed time inside one session, not a clock defect -- a land taken immediately after the gap stamped within 22 seconds of the OS clock. The three doc files are restored byte-identical to the blobs de79d39 landed. CONTEXT.md keeps everything other sessions have added since; only its one date line reverts.
    handle 7af08075·97218886·dbf3dbe6…
    nothing readable · 5 sealed · by lock: 5 internal
  45. the ADR 0045 markers now carry the day they were actually written (#652) The supersession blocks landed in de79d39 were dated 2026-08-05. The work happened on 2026-08-07 -- the date was taken from surrounding context rather than from the clock. Ten markers across four files, including the two read-date citations on the Cloudflare documentation that settled the subdomain-setup and r2.dev questions, where when it was read is the whole point of recording it. Corrected: ADR 0045 (3), ADR 0037 supersession blocks (3), docs/specs/loot-site.md amendments (3), CONTEXT.md correction note (1). Untouched: the six other 2026-08-05 entries in CONTEXT.md, which belong to ADR 0044, ADR 0046, #39 and #621 and are correctly dated.
    handle d8bb946b·80d4409e·dbf3dbe6…
    nothing readable · 5 sealed · by lock: 5 internal
  46. the relay's grant mailbox authorizes before it parses, and a read addresses only the caller's own (#621)
    handle 9e2a53e9·4b349b72·dbf3dbe6…
    • supersedes fff7bfee · not stored here
    • Kept, not rewritten: a carry replays a suffix as a new version and the one it replaced stays addressable. That is the difference between a carry and a rebase.
    nothing readable · 12 sealed · by lock: 12 internal
  47. a forge backup is operator recovery, and a restore replays the revocation journal (#586) #586 asked whether a backup defeats a burn. It does, but not where the ticket looked, and the grilling moved the question in both directions at once. NARROWER: the #502 amendment means the forge files a content key only where `publish::published_rows` authorizes one, so an operator backup reconstitutes plaintext ONLY for content that was Published -- i.e. world-readable anyway. And `published_key` is not "the one table with no other copy": the rows come from the client's own bundle at ingest, so a re-push re-supplies them. Painful, loud, not unrecoverable. WIDER, and this is the find: burn is not the only thing a restore inverts. Three columns are monotone capability-removals that no client can push back -- `burn_tombstone`, `publication.retracted_at`, `grant_log.revoked_at`. A restore is the single operation that runs time backwards over all three. Stated once, because it is the whole ADR: A RESTORE RE-GRANTS A CAPABILITY SOMEONE DELIBERATELY TOOK AWAY. Burn is just the one with an ADR attached. So the cure is not a shorter window alone. Snapshots stay immutable at rest and the RESTORE PATH is scrubbed by construction: a key-free, content-free revocation journal, exported continuously and replayed before the forge binds a port. The window (7 days, enforced by an R2 lifecycle rule rather than by a prune script that can fail silently) then bounds media at rest only, never a running system. The dump is `age`-encrypted to a key the VPS does not hold, because `tree_entry.path` and `path_touch.path` are PLAINTEXT for every tier -- #610's barrier views protect the live database and protect a dump not at all. The journal is deliberately NOT encrypted: putting the one unrecoverable artifact behind a losable key buys nothing. R2 gets no mirror. The realistic threat to blobs is #493's own unbuilt reaper, which that ticket says of itself deletes live data unrecoverably when it drifts -- so the reaper reaps into a `reaped/` prefix under the same 7 days, and burn keeps deleting outright. Two paths remove blobs; only one may be recoverable. Weekly automated restore-verification is rejected as SELF-DEFEATING rather than expensive: automating decryption puts the private key back on the VPS. The one scoping correction: #586 said the work lands beside `setup-forge.js`. That holds for the machinery. The honesty half -- burn's third tier and the retention window advertised on `/info` -- lands in loot proper, so this is two build tickets in two repos. Decision only; nothing here is built. ADR 0046, three CONTEXT.md entries, a third tier marked into ADR 0038 in place, and forge-datastores.md's closing "still unspecified" line replaced with a plan that says out loud it is a plan until the drill's negative has been run.
    handle 7730460d·79fa0586·dbf3dbe6…
    nothing readable · 5 sealed · by lock: 5 internal
  48. the repo never goes public, so the anonymous download path moves to R2 (#652) #652 recorded a gate: flipping this repo public discloses sealed docs/pitch/zk-host.md through PR #161 surviving refs/pull/161/head, verified live 2026-07-30. Re-swept today across 321 PR head refs (up from 242), two ways -- still exactly one carrier, unchanged. But the gate own remedy needs GitHub Support, is not self-service, and has no date. ADR 0045 stops waiting. The repo stays private permanently, and the anonymous artifact path moves to Cloudflare R2 at dl.millerbyte.com instead. Attestations are out rather than deferred; sha256 is the integrity story by decision. Build: #806 DNS zone move, #807 R2 artifacts, #808 installer retarget and the smoke test back on, #809 the Install page attestation claim. ADR 0037 is superseded in two places and docs/specs/loot-site.md in three, marked in place with dated blocks. The comments that called #652 a temporary gate now say permanent, and CONTEXT.md no longer calls the GitHub mirror public.
    handle 926464bd·9a04ab6f·dbf3dbe6…
    nothing readable · 10 sealed · by lock: 10 internal
  49. what a peer declares in a negotiation is a type now, so the head list that strands a pull cannot be passed (#799) #40's fault-injection harness found a peer holding 3 of 6 files whose head had advanced to the sender's tip, with the negotiation reporting up to date. The ticket read that as "an interrupted pull cannot resume." It does resume: `pull_via_interrupted_fetch_resumes` has been proving that since #217, and `pull_via` declares `negotiation_have()` at all three of its call sites. The harness resumed by declaring `bob.repo.heads()` instead. That is the defect — not the sync path, but the fact that `have` accepted any `Vec<Oid>` and the obvious thing to reach for was the wrong one. `Repo::heads`' own doc said "what a peer passes as have", so the trait was teaching it. `loot clone` was doing it too, correct only because a freshly inited repo has no heads. What a peer may declare is now `Have`, and `negotiation_have()` is the only thing that makes one — the #217 filter is the check the type certifies. `Have::nothing()` is the one other constructor, for transports probing a relay and clients with no repo to ask yet; declaring less can only over-send, and over-declaring is the strandable direction. Threaded through the receiver-declares half only: SyncTransport, loot_net::{offer,fetch,pull} and the forge's signed twins. The sender side keeps `&[Oid]` deliberately. `have` means one thing in both directions — what the recipient of the bundle holds — so there is no second concept to name; what differs is provenance, and a type cannot carry a guarantee across a network. Wrapping it would advertise a check that does not happen. That reasoning lives on `Have`'s doc, which is the only place it is written. Candidate 1 from the ticket — refuse to advance the head over an incomplete closure — is not built, because ADR 0024 already priced and rejected it under "cross-batch atomicity is deliberately not provided". A confirmation note says so there, so the next reader does not re-derive it. The new `tests/sync_resume.rs` asserts the head advance rather than treating it as the failure, and covers the fault the suite genuinely missed: a bundle that is short but valid, where every batch succeeds, the pull returns Ok, and the operator is told it worked while holding half the files. The next pull heals it, which is what is pinned. Acceptance criterion 3 ("am I up to date" must answer no while any object is absent) is deliberately not built: `closure_complete` is unsatisfiable on the forge path, where a reader legitimately never receives ciphertext it holds no grant for, so the warning would fire forever on every forge repo with restricted content. That is #803. `an_interrupted_transfer_resumes_to_convergence` runs with its ignore deleted.
    handle cec6b2e9·271dd5cf·dbf3dbe6…
    nothing readable · 17 sealed · by lock: 17 internal
  50. tenant_blob counts what a tenant references, and the account tier it belongs to stays unwritten on purpose #612 asked what `tenant_blob.bytes` counts before anything counts it, and said the dedup question decides whether the producer belongs at the blob `put` "where dedup is visible" or at `ingest` "where tenancy is". Both halves resolve, and neither the way the ticket framed them. `bytes` is REFERENCED FOOTPRINT. What settles it is #482's own accepted cost -- deleting a tenant is "refcount-decrement-and-delete-if-zero, because a fork legitimately holds the same object". A decrement presupposes many tenants holding a row for one oid, which is the reference reading; under the origination reading there is one row per oid forever and nothing to decrement. The shorter argument -- that the primary key forces it -- is tempting and does not work, so the comment says so rather than leaving the next reader to try it. `(tenant_id, object_oid)` does settle the ticket's other half, running total vs append-only ledger, because a set whose `bytes` is a property of the oid cannot accumulate. It does not separate reference from origination: "one row per oid, for the tenant that introduced it" is equally a set with that key. Origination is already recorded and is not this table's: `object.introduced_by` (#501) is first-write-wins on the address, keyed by PUBKEY, not tenant_id. What it lacks is a byte count, so billing on origination is a column on `object`. The put-vs-ingest question dissolves rather than being answered by the dedup verdict. Dedup is not visible at `put` at all -- `BlobStore::put` returns no novelty bit, and an `exists`-then-`put` is a race between concurrent pushes -- and a set-membership upsert never needs to know. So: ingest, where tenancy is. The reason nothing counted anything is bigger than this table, and is the find worth keeping: `tenant` HAS NO PRODUCER EITHER. #504 resolved "first push auto-creates the `tenant` and `repo` rows"; only `repo` was built, correctly, because `repo` is keyed by owner_pubkey and has no tenant_id at all. `tenant`, `account_key`, `repo_member` and `tenant_blob` are one unbuilt ACCOUNT TIER -- #487 decided its shape and is closed, #753 is the build. So tenant_blob was never a missing producer; it is a member of a tier held whole, flagged alone because #482 named it by table. Its consumer is behind the same door: quotas arrive with #504's open multi-tenant push. No producer is built, and no migration is added. The record goes in the schema comment, which is legitimate because migration 0001 IS docs/sql/forge-schema.sql and comment-only edits are the #720-enforced exception to append-only -- `released_migration_statements_are_pinned_by_checksum` proves no statement token moved. Per-tenant export, the third consumer, is recorded as deferred rather than answered: it needs #493's reachability walk, which a byte count is not. tests/account_tier.rs is the tripwire that keeps the absence from re-opening silently, and it is written to be deletable when #753 arrives. Its own first cut failed open twice -- on a `\` line continuation (the house SQL style) and a quoted identifier (`INSERT INTO "ref"` is real) -- so the scan now normalises both, plus schema qualifiers and Rust escapes, and covers the migrations directory rather than only src/. Every spelling it claims to catch is pinned by a positive control, because a scan that has quietly stopped matching reproduces the exact silence #612 was filed about, inside its own guard. Two claims in the first draft were corrected by review before landing: the primary-key argument above, and pointing the reader at #487 (closed) rather than #753. #690's allowlist is also named as what it is -- a deployment setting, not a code closure, since an empty list means open and the binary only warns. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
    handle dcda9416·a0106e52·dbf3dbe6…
    nothing readable · 5 sealed · by lock: 5 internal