connor / loot

connor/loot

Changes touching this path

  • Forge service skeleton: /ingest, the sync surface, and CLI forge remotes (#502) A new `loot-forge` crate and binary, sibling to the relay and never a mutation of it: `loot-net` is a dependency of `loot-cli`, so a storage driver in the relay would ship inside the released CLI binary (ADR 0041:53-57). The ban runs one way -- the forge may use the other crates; none of them may gain a driver. Every endpoint is envelope-authenticated, where a relay authenticates only /stow. The one declared exception is GET /info: a client reads the capability probe before it knows how to authenticate. POST /ingest = envelope_sign(bundle || head_declaration), one signature over both, so a genuine bundle can never be replayed under someone else's head claim. CAS first; nothing is written before the generation compare. A lost CAS answers with a 409 BODY carrying the current generation and head set -- behind, not bounced -- so the client re-carries with no extra round trip. /stow keeps relay parity and moves no ref, and consumes no generation either, since a client reads the generation once and then stows N batches. It DEFERS a change whose objects have not all arrived; /ingest REFUSES one, because a declared head whose objects are missing is a repo no pull can complete. That asymmetry is what keeping /stow is for. Bundles are filtered PER OBJECT by the caller's access class, closing the leak the ticket names: bundle_impl ships a key for every ANYONE-granted object, i.e. every Internal object. Change metadata rides the second #494 axis and gates the whole walk -- a ChangeNode carries the full tree, so shipping one while withholding its bytes still discloses every path, address, message and author. Validation before any write: author signatures, and a tree whose visibility contradicts its objects is rejected. vis_tag is derived from the SealedObject and never trusted from the tree, which is what makes content-addressed upserts safe. Forge purge policy: burn iff burner == object.introduced_by, recorded at first arrival as introducing.author else the envelope pubkey; maroon read off grant_log, global and exact. Both are judged before any object is stored and outside the CAS transaction. Repos are pubkey-addressed at /k/<pubkey>/<repo>, auto-created on first push, and may_push holds iff the signer owns the namespace. resolve_remote is untouched -- still no default host. CORS from day one. Storage sits behind three narrow traits with in-process reference implementations the whole suite runs against; the Postgres DDL they mirror is checked in at docs/sql/forge-schema.sql and its driver is #516. CLI: /info capability detection, the live head declaration off the Liveness view, and a refusal to push a lane -- v1 ingests the primary position only. verify_authored_change moves to loot-codec so the forge runs the identical gate without linking the fs-hardwired engine. Recorded in ADR 0041, the spec and CONTEXT.md: the forge stores no content key but a published one, because filing the ANYONE key lane would let the server read every Internal object, and the keystone is that only Published is server-readable. The cost is stated rather than hidden -- a fresh clone of your own Internal content from a forge is ciphertext you cannot open until #488 lands. Closes #502. 300e06ff · dbf3dbe6…
  • forge: /stow answers the relay StowReport JSON so forge-routed pushes report wire bytes (#647) 431ade3f · dbf3dbe6…diff
  • a change records when it was authored, so a projected commit stops reading '6 years ago' on GitHub (ADR 0043) loot changes carried no timestamp, so the git bridge fabricated one: BASE_EPOCH + generation, one second per ancestor depth from a 2020 epoch. All 526 commits sat inside seven minutes of September 2020. Earlier repairs (#626's floor, the missing-generation refusal) fixed ORDERING and never touched the absolute date, which is why this kept coming back. ADR 0028 inherited the no-timestamp constraint rather than choosing it. The real reason is upstream: a version id is blake3 over authored content, and a clock inside that hash gives two peers different ids for identical content, destroying the dedup and convergence of ADR 0001/0004. So authored_at rides the label seam ADR 0029 already cut for change_id -- covered by the finalize signature (no relay can restamp it) but never folded into the version id. The wasm golden vectors prove the separation held: FROZEN_VERSION_ID, FROZEN_OBJ_ADDR and FROZEN_SIGN are byte-identical, and only the version marker and one presence byte moved. Advisory, and never an ordering input: a self-reported clock is a claim, not evidence (ADR 0025). in_order/ids_topo, buoy and path_touch.ordinal are all untouched, the forge indexes nothing on it, and the projection floors it past every git parent so ancestry holds whoever's clock is wrong. Format v11: additive for readers (a v<=10 change decodes as None and an absent timestamp adds nothing to the signed message, so every existing signature still verifies), breaking for writers, so loot-cli and loot-forge go to 0.4.0 in lockstep. Forge migration 0004 stores it as bigint, not timestamptz -- signed data must round-trip bit-exact or pullers reject the change. Only new work gets real dates. Every commit on main predates v11, main is push-fast-forward-only, and backfilling would fabricate the very claim this replaces. Perf-Baseline: reset the change body grew one presence byte, plus eight where a timestamp is present, so bundle_bytes/store_bytes/wire_bytes step once at the v11 boundary eaa56d99 · dbf3dbe6…diff
  • the forge grows an operator door list, so its first public ingress refuses all but listed keys with a typed 403 (#690) 0541e431 · dbf3dbe6…diff
  • adopt: catch up to landed main f266c856 da01da3d · dbf3dbe6…diff
  • the forge's handlers cross to the blocking stores through block_in_place, so a store-touching request over the wire stops killing its connection (#690) 2b2a87aa · dbf3dbe6…diff
  • the two servers share one auth preamble, and a forge handler reaches the router only through the crossing (#865) a10e310f · dbf3dbe6…diff
  • the forge serves the peek it always served the fetch for: /grants/peek mounted on both mounts, and a peek now says how much of its count is standing self-custody instead of inviting the ADR 0057 alarm (#1114) cc003626 · dbf3dbe6…diff
  • the two forge backends stop each keeping their own copy of when an embargo opens, because ADR 0027's gate and ADR 0057's standing split are lifted out of the adapters into one choreography both servers call, and a live-Postgres case now reads the same mailbox at five clocks and compares the driver's answers to the reference's (#1412) 882f9837 · dbf3dbe6…diff
  • loot grant-relay stops sending the relay's /grant body at a forge remote, because the two body shapes are now the type of one client function's host argument instead of a branch every caller has to remember — the branch push had and grant-relay, one file over, never did (#1463) e1dfdbb4 · dbf3dbe6…diff
  • a repo open stops materializing half a million manifest entries no verb asked for: ChangeNode.tree becomes a Manifest holding either the decoded map or a proved-decodable byte range into one shared Arc, so topology decodes eagerly because reachability needs it while a change's path manifest decodes only when something reads it - which is where the cost actually was, since framing the 37.9 MB graph without building the maps takes 6.8 ms against 507 ms to build them, and that 507 ms was the bulk of the 1050 ms every verb paid, including loot whoami whose whole job is to print 93 bytes out of id.pub. Deref carries the ~270 existing node.tree read sites unchanged and Deferred is module-private, so a deferred manifest cannot exist over bytes Manifest::walk has not already refused with the same framing the eager pass uses, which is what earns an infallible &TreeManifest return rather than a Result; and an unmaterialized manifest is pinned never to read as an empty one, the rule read_graph_required already states for an absent graph file. Verbs also declare what they read now: RepoNeed rides beside CustodyNeed through the already-pub(crate) open_at_clocked_needing, so no new public door is added and the sealing door custody_lock pins by string and call-site count is untouched, with whoami, conflicts and manifest narrowing to POSITION_ONLY, defaulting to EVERYTHING everywhere else, and a withheld graph or store aborting loudly rather than reading as empty. whoami 555 to 42 ms against a 40 ms control, conflicts 557 to 41, manifest 557 to 42, log -n 5 626 to 144, status 704 to 227, lanes 4069 to 717, peak RSS for whoami 148 to 7.1 MB, and twelve verbs byte-identical against main including 414 KB of loot log. Three of this ticket's premises were wrong and are corrected rather than worked around: the keyring it named as the second cost measures 1.1 ms and is left alone, read_graph_outline did not fit because it discards the parents reachability needs, and the object-store half it called the boolean that costs a gigabyte had already landed in #1545 - while the stat cache stays unbuilt, which is the whole of what status and lanes still spend (#1536) b923abb1 · dbf3dbe6…diff
  • a contributor can offer work to a repo they do not own: loot propose over a three-path family - posture, propose and withdraw - and none of them is the ref-moving endpoint, which stays single because ADR 0075 refused putting the contribution path one flag away from the path that advances someone's tip. The bytes ride /stow unchanged, since the forge's stow literally calls the same push, so the batches are byte-identical and there is no new transport. One premise had to be WIDENED and the reason is a real replay: the ticket says sign the claim exactly as the head declaration does, but a head declaration names no repo and does not have to, because require_pusher catches a replay at another namespace - while a proposal is BY DEFINITION a write by a non-owner, so every repo with an open door admits the same signer, and a tip-and-base-only envelope is replayable by any observer at every one of them, in the contributor's name. The claim therefore carries the repo path and the server compares it against the URL's namespace, proved by RUNNING the replay and watching the second namespace admit it rather than by arguing it. The disclosure is an ORDERING rule and the posture route exists only to make it one: a client that learned metadata_public from the act's own answer could only ever speak afterwards, so posture comes first, the disclosure is printed second, and only then the ref read, the stow and the claim. It is pinned twice - once by a transport that records every call into the SAME trace as the output lines, so the assertion compares positions rather than presence, and once by byte offsets in real CLI stdout against a real forge - and a shut door still discloses first and sends nothing at all. Withdrawal is the tip change's AUTHOR and only them, where visibility admits three readers, because seeing is not acting and the carrier's remedies are the author's withdrawal or the owner's decline; it does not consult the door, since a shut door must not strand what is already offered, and absent and concealed refuse in byte-identical sentences. The lane refusal keeps every one of its old assertions, including that nothing reaches the forge before it fires, and gains the sentence naming the alternative. Twelve breaks were each run and read before being restored byte-identical, and the ones worth naming are the replay above, deleting the author check so a presenter can withdraw work they did not write, adding the door to the withdraw path so a shut door strands an offer already disclosed, and declaring the tip as a head so the CAS counter moves. The ref-moving path is asserted untouched rather than described as untouched: a proposal leaves generation and head set alone, and the SAME fixture then lands a change the ordinary way and the generation does move, which is the control (#1651) 83c5afa5 · dbf3dbe6…diff
  • a move becomes a recorded fact instead of a later guess, and the premise this ticket rested on was false: #98's object reuse is keyed by PATH, so a moved path is absent from the outgoing tree at its new key, falls through to put_sealed and gets a fresh address - the same object under a different key was not a fact waiting to be read off the tree, it had to be made true by extending the reuse across the move, and everything else follows from that. The rule is that a move is recorded only when the path's sealed object survives it, so a move whose content also changed in the same capture window shares no object, records nothing and is two rows, while a move and then an edit across two captures of one change composes and reads as one row saying the content also changed. Empty content and any ambiguity are refused for the same reason the whole design exists: zero bytes equal all zero bytes, and choosing between two vanished twins would make a signed fact depend on iteration order. On the boundary the render side compares nothing at all - resolve reads keys and never an address, a visibility or a byte, pinned by running it twice over trees that agree on every key and differ on every address at three unopenable tiers, with a positive control beside it so agreement is not evidence it answers nothing. The capture side compares once: it opens a vanished object with this identity's own keys, fail-closed so an unopenable object is never read or hashed, and pairs only against an addition at an identical visibility and publication tier, with the digest living for one call, never an address, never stored and never on the wire. What a relay newly learns is that two keys held equal ciphertext, which recording a move states in plaintext anyway since tree paths are plaintext at every tier, so it is inherent to the feature rather than the ADR 0004 oracle - written into that ADR rather than left in a message. Renames ride the label seam change_id and authored_at already use: covered by the finalize signature so a relay cannot rewrite a move, never folded into the version id so two peers reaching one tree by different routes still agree on its address, which is why every existing id and signature is unchanged and a v11 store reads with no move recorded. That was tested rather than argued, against a real store built by the shipped binary, where the old move still renders as a delete and an add in the same repo the new one renders as a rename, because inferring the old one would be the equality oracle arriving through the compatibility door. Three further things were wrong and are corrected rather than worked around: ADR 0019 says an additive change bumps the minor and has never described this project, since the minor is still zero and all five additive changes took the major; plan_moves own doc comment claimed the tier is checked before the digest, three lines above code that does the lookup first, when the property actually holds by the stronger route that nothing unopenable enters the index at all; and the empty-content refusal was written on both sides of the pairing, where each made the other unprovable and removing either left the test green - a duplicated guard is not belt and braces, it is two guards neither of which can be shown to be doing anything (#1539) 3c7e029b · dbf3dbe6…diff
  • the skew this ticket reported never happened, and the trap that produced the report is the finding: a land pushes with the loot.exe sitting beside the running loot-first.exe, which is the primary's last cargo build --release, not the tree being landed - the only build a land performs is the perf gate binary in the position. So the land that RAISES FORMAT_MAJOR pushes with the major before it, and reading the constant out of main's source is not reading it out of the pusher. Verified by timeline rather than argued: both pushes ran at 23:26 and 00:08 while the primary's binaries date from 01:28 the next morning, so the pusher predated all three lands and wrote major 11 to a relay serving 11. Two further claims in the ticket were false and are refuted by the tree rather than reasoned away. stow DOES version-check, at the frame decoder before a single object is stored - handle_stow to RelayStore::stow to DagRepo::stow_from, whose first statement is Frame::decode and whose UnsupportedFormat maps through NetError::Engine to a 400 - and it was already pinned by a green test when the ticket was filed, so the acceptance criterion asking for it was asking for something that shipped. Which means the observed 200 and its byte count are themselves proof the marker was readable, since StowReport is constructed only after stow returns Ok and put_version writes the compile-time constant unconditionally. What survives is worth landing on its own merits and not as this incident's cause. The fail-open branch stops being silent: relay_can_read_our_writes returns Checked or Skipped carrying the probe's own failure string, push returns that beside the report, and cmd_push prints a warning to stderr where the refusal would have stood - a value on the result rather than a log line, because the broken pairing was a promise asserted by the path that fires and inverted by the path that does not, and a caller may decline to say a returned thing but cannot fail to be told it. The new test is the first that watches the wire at all: every prior skew pin simulated one by moving the CLIENT to FORMAT_MAJOR plus one, a value production never has, and none of them observed a byte - this one stubs a relay that reports a chosen major, asserts the request log is exactly the probe with zero bytes sent, and carries its positive control in the same function so that no bytes recorded and this harness cannot record bytes stop being the same observation. Two mutations were each verified present in the file before being run red. And the doc comment on relay_push now names the trap rather than the code, because the code was correct every time (#1768) 25a5a122 · dbf3dbe6…diff
  • a fetch gains a depth the host honours: the request carries a trailing depth after its wants, written only above zero so a request at zero is byte for byte what every client sent before, and an old host decoder returns after the wants and never sees it, which is what makes it safe to send to any host; the relay and the forge confine the change lane to the nodes within that many generations of their live heads, one being the heads and nothing older, intersected with the delta past have and, on the forge, after the entitlement gate, so a caller refused metadata in a full bundle is refused it at any depth and a node the caller holds is never re-sent, while a want is answered by address whatever the depth, the lane walking the cut changes as it walks the held ones; the seeds are live heads and not childless ids, the forge reading the ref declared set a client computed with its retire applied and the engine excluding any version a node names as a predecessor, since on a host that ingests amends a superseded sibling stays childless and would otherwise seed a generation of its own, 213 such tips against 31 real on this repo; /info advertises it as fetch_depth, false when absent, so a caller that needs the bound refuses a host without it and a caller that can afford the fallback proceeds. the receiver still cuts and that stays the rule, ADR 0089 amended rather than overturned: pull_metadata_via and the depth round of a bounded pull ask the host for the depth they will keep, FromTips as its n and a deepen as zero since the frontier is this position own, and applies IngestDepth to whatever arrives, so a host that predates the field sends the history and the position is the same one generation deep, which the test relay pins both ways by playing a host that honours the depth and one that does not. the WASM core encodes the same bytes, frozen in the parity suite against the native vector at depth one. decided by a grill of six questions on 2026-09-20 and recorded on the ticket and in the ADR: bounded per invocation regardless of persistence, a depth on the existing fetch rather than a listing endpoint, counted from the host heads, search kept on the receiving side over bodies fetched by address, the host cut an optimisation the client never depends on, and the SDK and the cache cap to follow. this is the wire half of the browser SDK stopping its 53 MB stateless read and of the serverless runner per-job pull; measured against the live relay in the landing comment once the hosts are deployed. pinned on the same shapes at each host so the two walks are held to one answer, a chain at depths one, two and zero and past a have, a fork whose two heads are both seeds, a superseded sibling that never is, and depth zero byte-identical to the one-pass walk this walk replaced, the forge with a reader the gate refuses getting nothing at any depth; in loot-net on the field decoded both ways with an old body as zero, an odd remainder refused, a pre-field info as false and one frozen vector both encoders pin; over the wire on a spawned relay and a spawned forge each answering one node of two at depth one and advertising the cut, with a want riding across the cut; and in the CLI cache refresh asking depth one. a clone at a depth asks the host too, so its declined count is 0 under a host that cut, since nothing behind the cut arrives to be declined, and the frontier width is what says the position is bounded, which the shallow suite now pins against a host that honours the depth and one that predates it; the count stays exact on a deepen, which asks the host for no cut because the frontier it deepens from is this position own. red under mutation, counts read each time: the engine ignoring the depth (0 passed and 1 failed), the engine cut counting one generation too many (0 passed and 1 failed), the depth never written (1 passed and 1 failed), the depth never read (1 passed and 1 failed), the relay not advertising the cut (1 passed and 1 failed), the relay handler dropping the depth (0 passed and 1 failed), the forge ignoring the depth (0 passed and 1 failed), the forge cutting before the gate (0 passed and 1 failed), the forge not advertising the cut (0 passed and 1 failed), the cache refresh asking no depth (0 passed and 1 failed), the receiver stopping its own cut when the host cuts (0 passed and 1 failed), the wasm framing never writing the depth (0 passed and 1 failed), the forge handler dropping the depth (0 passed and 1 failed), the engine seeding from a superseded version (0 passed and 1 failed), the forge seeding from every childless id declared or not (0 passed and 1 failed), an odd remainder read as no depth (1 passed and 1 failed), and the wants lane skipping the cut changes (0 passed and 1 failed). no migration and no format major move: a trailing field the old side never reads is a minor move, and /info default false is the whole compatibility story; the relay and the forge owe a deploy, which the release cut carries. the workspace suite is green (4017 passed over 126 binaries, 7 ignored) (#2123) e3ddfdce · dbf3dbe6…diff
  • the forge gains the runner routes, part 1 of 2 of this ticket: the owner registers, retires and lists runner rows through /runners/add, /runners/retire and /runners/list, and a runner claims a job and answers it through /jobs/claim and /jobs/verdict, each with its client half in the new loot_net::runners. a runner key is refused at push and propose by absence and admitted at the claim by its row, and since the live operator door lists the owner alone a route a runner calls passes a delegated door, server::authenticate_runner, which admits a live row only while its registering key still passes the operator list, asked every request, so an owner the operator stops listing takes their runners with them. a verdict is accepted from the job claimant whatever the lease says and refused from anyone else, including a runner whose expired claim another has since taken, which narrows ADR 0091 section 7 and keeps its reason; the compare runs inside the store write, FOR UPDATE in the driver, and the signed pass is written in that same write into the attestation table, after the route checks it is present iff the job passed, verifies, and is this runner pass over this version under this job role. retirement is now terminal per key, because the 2157 upsert rewrote retired_at and a forge envelope carries no freshness, so a replayed add could bring a stopped key back; an account key, the owner own included, is refused as a runner; the claim filters by the runner trust floor through Trust::admits, one predicate for both ends; detail is capped at 16 KiB, a log tail at 256 KiB stored by its hash, a lease at 24 hours, a scope must reach .lootpipeline, and a wake-up URL must be https to a host that is not literally private, with the resolved-address check left to the sender in 2159. JobOutcome, the pass roles and the pipeline file name move to loot_net::pipeline and are re-exported, and the forge act tags become one repr u8 enum so a duplicated tag cannot compile. the job.log_oid cross-reference to 1720 is written in migration 0018 as a comment, so its checksum is unmoved. measured on a throwaway Postgres 18 on the desktop and not the VPS: the claim is an index scan of job_claimable at 0.14 to 0.17 ms over 50000 jobs, 4.0 ms at worst over 20000 inadmissible candidates, and one polling runner gets about 139 claims a second while 32 level off near 2150. red under mutation, counts read each time: fourteen named mutations through the routes and the reference store each went red at 0 passed and 1 failed or 1 passed and 1 failed with the pg stamp skipping, one of them only after a first attempt proved too weak to be a mutation, and two driver-only mutations on Postgres 18 went red at 0 passed and 1 failed, each restored green. bash ci/local.sh is green against Postgres 18 (4243 passed over 135 binaries, 10 ignored). no migration and no format byte moves, and the forge needs a deploy for the routes to exist (#2158) 8dc22d7d · dbf3dbe6…diff
  • the kinds trailer on /ingest and /propose and the job creation it drives, with the wake-up sender; the runner-deposit reap is not built. loot_net::forge::HeadDeclaration and ProposalClaim gain kinds: a push declares the kinds of the on main steps of its live heads and a proposal the kinds of the on change steps of its tip, read by pipeline::declared_kinds from the .lootpipeline each version holds, as one trailing byte in Kind::ALL order that is not written when nothing is declared, so a payload declaring nothing is byte-identical to the one an older client signs; a decoder reads the byte iff bytes remain, and a bit this build cannot name is dropped. FORMAT_MINOR is not bumped, per the 2026-09-22 comment on the ticket that overrides step 1 of its body (a minor bump makes persist_codec rewrite every store graph file, the #2180 finding), and adding_the_kinds_moves_neither_format_constant pins both constants; a new client payload decodes on a frozen copy of the old decoder and an old client payload decodes here as declaring nothing. /ingest makes a main job per declared head and declared kind, less those on file, inside the ref-moving transaction (IngestTxn::jobs on both stores, with a conformance case run on memory and on Postgres), and /propose makes a change job per declared kind for the tip once the proposal row stands; member is the author of the version classified by AccessClass::of and approved is a verifying pipeline/approve from a key require_pusher admits, both read once at creation. after the commit each live runner whose row covers a created job kind and carries a URL is woken through jobs::Wake, whose HttpWake calls loot_net::runners::send_wake: the URL checked as registration checks it, the send refused if any resolved address is one registration would refuse (refused_wake_address, which both ask), the checked address pinned, no redirect followed, the request bounded by WAKE_TIMEOUT_SECS. the ticket said the site TypeScript client learns the field, and no code under site or sdk encodes an /ingest or /propose payload, so nothing there changed. the reap is recorded as unbuilt in the ADR 0091 #2159 amendment: grant_inbox is keyed by recipient alone while runner, ref_head, proposal and job are bound to one repo under migration 0017, so a reap run per repo cannot see an address live in another repo the same runner key serves, and how to scope it is a decision left to the reap ticket; nothing writes a runner deposit before #2130. measured: the trailer is one byte when a kind is declared and none otherwise, and ingest::job_cost pins that a push declaring nothing makes no call for jobs and that job creation reads per declared head, not per kind. red under mutation, counts read each time, each 0 passed and 1 failed on a filter selecting its one pin unless said otherwise: the trailer written before the heads, the trailer read unconditionally, the trailer always written, FORMAT_MINOR at 1, every kind made rather than the declared ones (through the push route, the proposal handler and the binary end to end, each), a wake-up sent to every row with a URL, a wake-up sent before the commit, member never set, approved by any attester, the memory ingest dropping jobs, the memory ingest overwriting them, the Postgres ingest dropping them (through bash ci/local.sh, 461 passed and 1 failed in loot-forge), only the first resolved address checked, the binary declaring the kinds of every trigger, the push declaring nothing, approved read once per kind, and the no-kind early return removed; each restored to green. no migration, no format byte and no published wording moves; the forge binary changes, so a forge makes jobs only once it is redeployed, and a forge older than this still accepts a client that declares kinds. the workspace suite is green under bash ci/local.sh against Postgres 18 (4345 passed over 137 binaries, 12 ignored) (#2159) 09cefc35 · dbf3dbe6…diff
  • the repo owner can decline a proposal: propose::decline beside withdraw, POST /propose/decline, and loot propose --decline <change-id>, the flag named as its siblings on the verb each spell their act. a declination is signed over the repo, the change id and the tip, and tagged Act::ProposalDecline so it can never be read as a bound withdrawal or a read; on the wire it is a bound withdrawal plus the tag byte, and neither format constant moves. the owner is the key require_pusher admits, the rule jobs already asks for an approval; a member reads the proposal and is refused in words naming the author withdrawal as the other route, and a key the read gate conceals the row from gets one sentence whether the row exists or not. may_propose is not asked, so a shut door does not stop a decline; a repeated decline is the same event and is not re-dated, a landed row refuses by name, and a withdrawn row refuses as the withdrawal refuses a declined one. a declination replayed after a revised re-proposal is refused by the tip binding, the same stack re-proposed is declined again, and one signed for another repo of the same owner is refused by the repo binding. the CLI signs the tip the forge reports at the moment of declining and prints it. uncontended, a decline is one close_proposal and no graph read, pinned on the store call log. it touches no job made for the declined tip, which ADR 0091 leaves undecided. ADR 0075 records the build and what a decline does to the bytes, with CONTEXT.md and the forge spec. red under mutation, counts read each time, each 0 passed and 1 failed and then 1 passed restored: the owner check skipped, the visibility gate skipped, the repo binding removed, the tip binding removed, a declined row refusing re-proposal, a landed row declinable, a withdrawn row declinable, the decline walking the stack, the route asking may_propose, the act tag dropped, the tip left out of the signed bytes, and the declination written under its own minor. no migration and no format byte move; the forge binary changes and an older forge answers 404 on /propose/decline, so this owes a forge deploy before the flag works against the live host. the workspace suite is green (4376 passed over 139 binaries, 12 ignored), and green under bash ci/local.sh against Postgres 18 (#2176) b45cbbf3 · dbf3dbe6…diff
  • the review-sweep fix-up over #2307, #2176 and #2193. a seek busy marker is believed while its clock is within the window of the reader clock on either side, so the round that claims first with the later clock is no longer taken over, and a marker that does not parse is dated by its mtime against that same now. loot propose --decline takes the version it declines, the full tip --show prints or a selector naming a version held here, following the grammar that already reads a version where a change id is expected; a change id is refused, the CLI finds the row standing at that tip and refuses when none visible does, so a revision made after the owner read the proposal is not declined. two act flags on loot propose refuse through ProposeAct::from_args, where the first one checked ran. the format-constant pin compares the marker of each trailer and act payload with the one a client from before #2159 wrote, recorded in the frozen codec copy, so a bump of either constant reddens it; a push declaring each head its own kinds is pinned through a two-head repo; the decline cost pin asserts the whole call sequence with the gate calls measured alone; the forge door tests ask every route in Route::ALL, now public, that the router mounts. each GATES row declares what its finding is read off (Judged): a finding off files gets a merged remedy that goes to loot edit at once, with no re-run and no file lock, and the pre-land pass rather than each finding says nothing has been signed or published, so the merged pass no longer prints it beside a signed merge; the #2193 census reaches each spawn after passing ones and holds every Judged declaration against the spawner. false sentences fixed in ADR 0055, 0075, 0090 and 0091, workflow.md, npm_not_started and the census doc, including a network-specific NAT64 prefix, which the wake-up rule cannot recognise; the forge refusals of withdraw and decline spell the tip as a version id; the cmd_propose doc sits on cmd_propose; the wake slot test waits for its places to come back. red under mutation, counts read each time, each restored to green: a marker ahead of the clock read as dead (2 passed and 1 failed), the unparseable marker dated by the system clock (2 and 1), the decline signing the tip the forge holds (4 and 1), a change id accepted (4 and 1), two acts not refused (4 and 1), FORMAT_MINOR at 1 (1 and 2), the push unioning kinds (0 and 1), a second read in the decline (0 and 1), /propose/read mounted without the door (0 and 2), the pre-land state line dropped (2 and 1), the files remedy replaced by the run remedy (2 and 1), the second perf spawn failure a finding (2 and 1), the site row declared Files (2 and 1). no migration, no format byte and no wire byte moves; the forge refusal wording changes, so that is live once the forge is redeployed, the decline argument once the CLI is released, and a land runs the primary release loot-first, so the gate changes are live only once those binaries are rebuilt. the workspace suite is green (4392 passed over 139 binaries, 12 ignored), and green under bash ci/local.sh against Postgres 18 (#2325) ff3b789d · dbf3dbe6…diff
  • the review-sweep fix-up over #2325, #2207 and #2208. a proposal landed close is bound to the tip it was decided for, on both stores: ingest decided the landing outside the transaction and each store closed the row on state open alone, so a revision through record_proposal between the decision and the transaction, which leaves the row open and moves no ref and so is invisible to generation_expected, was closed landed at a tip nobody landed. the rows proposals_this_push_lands hands the store already carry the tip decided on, and the Postgres close now adds tip_version = $4 and the memory close compares the tip, the binding a decline has; no other writer closes a row this way. a new conformance case, a revision between the landing decision and the ingest stays open, runs on each store: red first on the memory store (1 passed and 1 failed, the pg half skipping without a database) and on Postgres 18 with the tip term defeated (106 passed and 1 failed), green with it (107 passed). CONTEXT.md, store.rs, pg/meta.rs, memory.rs, ingest.rs and ADR 0075 stop calling the CAS the whole of the soundness. false sentences fixed: ADR 0012 eleventh amendment now says the ledger ran after the lanes until #2208, and the fifteenth names the plan pin as the fixture where the timed walk reads one seal, measured by hand; the plan pin now deposits every row it plans at another forge as well as the Restricted row at a relay, so dropping the remote from the dedupe empties the plan rather than dropping pitch.md alone (20 passed and 3 failed, all six rows gone), restored green (23 passed); Route::ALL is written by a routes macro from the enum variant list, so a variant added to Route is in it with no second edit, checked by adding a probe variant, and the http.rs sentence states that. the --decline refusal says the handle reads as a change id, and the Judged census doc says it sees only the Spawner. no migration, format byte or wire byte moves; the landed close is live once the forge is redeployed. the workspace suite is green under bash ci/local.sh against Postgres 18 (4404 passed over 138 binaries, 13 ignored; site live suites 7 files passed) (#2347) facefe81 · dbf3dbe6…diff
  • review sweep 13 over the proposal conversation: loot propose --show verifies a comment against the repo and change id of the proposal it reads, since one change proposed to two repos shares its tip and a forge could serve one repo comment as said in another, and cages the body, the path and a refusal quoting the envelope through render sanitize, so ESC or a bare CR from a stranger prints as its control picture. an author is an account: a live key of the account whose key wrote a comment edits and withdraws it after a rotation, the key that signs an edit becomes its author so readers still verify it, and the author withdraws without the visibility check, so a lost view does not strand their words. the door arm calls may_propose_in and a party is asked live_account_in, its second half, where a copy stood. the comment routes read at most COMMENT_REQUEST_MAX, refusing a larger request before its signature is checked. /propose/read serves a thread a page of THREAD_PAGE comments at a time with a cursor, a trailer on both payloads, and --show follows it. an anchor must be spelled as a tree spells a path and is asked of tree_entry by its key through manifest_holds; Manifest::address_of reads manifest bytes the forge does not hold. a runner key under no account is refused moderation, and ADR 0095 now says any live key on the owner account moderates. finalized_before_review sends a lane to lane_landing_route rather than a land with no PR to name. ADR 0095 records the account rule, the paged read, the unbuilt withdrawal warning of its section 6 and the rewritten #2332 pin; ferry.rs says the #2370 pins run in-process; a pin holds the 0022 CHECK equal to COMMENT_BODY_MAX. red with each piece undone, counts read each time, each restored green: the envelope not bound to its proposal (0 passed and 1 failed in loot-net and in the CLI), the body or the path printed uncaged (0 and 1 each), authorship by key, and an edit keeping the old key as author (0 and 1 each), the author asked to see before withdrawing (0 and 1), the door arm a copy (0 and 1), no per-route limit (0 and 1), the forge thread unbounded and the CLI stopping at one page (0 and 1 each), anchors matched by Path over the whole tree (0 and 1), a runner key moderating (0 and 1), the lane land its own (0 and 1), the cap moved on one side (0 and 1). bash ci/local.sh is green against Postgres 18 (4498 passed over 139 binaries, 13 ignored). no format constant or migration moves; the proposal read gains trailers and the forge behaviour changes, so this owes a forge deploy (#2374) bb95f4fb · dbf3dbe6…diff
  • review sweep 14 over the proposal conversation: the proposer and the tip author are accounts where #2374 left them keys, so a live key of either account is a party at a shut door and sees the proposal on a metadata-private repo, through propose::speaks_for, now beside visible_to, and propose::sees, which read and the comment routes ask one row at a time while list keeps the key arm by key. migration 0025 adds proposal_comment_page on (repo_id, change_id, created_at, comment_id), so a thread page is a range scan the driver statement comment_page reads, where every page sorted the whole thread, and a pg pin reads its plan with the sequential scan and the sort priced out. /propose/decline takes the comment routes body limit, --show says the decline reason prints on the forge word and refuses a thread page that brings nothing, stands still or repeats a comment, and the reason disclosure says a re-proposal clears it. the comment.rs door sentence names may_propose_in and lists no members, PROPOSAL_COLUMNS replaces four copies, and ADR 0095, CONTEXT.md and the code docs say the party rule, the index, the decline limit and that the reason is unverified pending the call ADR 0095 records. red with each piece undone, counts read each time, each restored green: a party by key and seeing by key (0 passed and 1 failed each on the rotated-party pin), the index dropped on a throwaway Postgres 18 (0 and 1), a refusal quoting the envelope printed uncaged (0 and 1), the reason printed without the forge word, the decline route uncapped, a cursor that does not move taken and the re-proposal unsaid (0 and 1 each). bash ci/local.sh is green against Postgres 18 (4525 passed over 139 binaries, 13 ignored). no format constant or codec byte moves; migration 0025 rides the forge binary and the forge rules change, so this owes a forge deploy (#2378) f168d689 · dbf3dbe6…diff
  • a relay with a push allowlist now gates its reads on it too: every relay read route was unauthenticated while every bundle carries the key for every Internal object (ADR 0011), so an allowlisted relay.millerbyte.com served this private repo to a stranger key in plaintext (#2388). a route is a read when its answer comes from the store, and the store now sits behind Hold, whose only doors are a gated read and a gated write, with the router built from one match over Route that has no wildcard, so a later route cannot answer from the store ungated; the reads today are /negotiate, /offer, /fetch, /wants and /haves, /info stays the one open probe, and the grant lane is unchanged. with no list a relay stays open and unsigned, and loot serve and loot-relayd now warn at startup that anyone who can reach it can clone everything, Internal content included. /info advertises authenticated_reads and a client signs its reads iff it is advertised, so a new client reads an old relay unsigned and an old client gets a 401 naming the upgrade; loot seek records the posture and the SDK signs its reads the same way. no format constant moves. ADR 0011 and 0015 amendments, CONTEXT.md, the forge spec, sdk README and the site cli, guides and concepts pages say it. red under mutation, counts read: gate never on (the stranger clone succeeds), gate admitting any valid key, the 401 without the upgrade wording, /haves filed as open, /info not advertising, client never signs, client signing whenever a list exists, the startup warning dropped, the SDK never signing; each restored to green. workspace suite 4539 passed over 141 binaries, 13 ignored; SDK 145 of 145; site gate green (777). owes a release before loot serve users get it; the live relay stays stopped (#2389) f6b5ecc7 · dbf3dbe6…diff
  • the private shell unlocks without waiting for its mailbox, and the mailbox pull becomes incremental: measured live, forge /pull-grants took 2.78 s of a 4 s /private load, because the whole mailbox of 1,640 standing self-grants was downloaded before the shell counted as unlocked. /pull-grants now takes an optional 17-byte cursor in its signed payload (a tag byte, then the inbox seq high-water mark and the forge clock at the answer, issued by the server and opaque to the browser, which may only send the all-zero one) and answers rows with seq past it or a reveal_at past its time, due on the forge clock, followed by the next cursor after the counted frames; the Postgres read takes a share lock on grant_inbox so a deposit that took a lower seq but commits later cannot fall behind every future cursor, and an empty payload answers byte-identically to before, so the CLI, the SDK and the relay client are unchanged and either deploy order works. the site keeps the sealed grant blobs and the cursor in IndexedDB beside the vault (version 2, the seed record kept), builds the keyring from them, shows the shell unlocked and pulls only the delta in the background; a file whose key is missing waits for an in-flight pull, the bars say keys are updating, and Lock clears every store with the vault. the gate shows Unlocking while a silent unlock runs rather than flashing the unlock card. forge tests on memory and Postgres and site tests, each red under a named mutation and restored; bash ci/local.sh green against Postgres 18 (4559 passed), site gate 819 passed. owes a forge deploy and a site deploy (#2403) 11cc1e3a · dbf3dbe6…diff
  • every compiled-in and current-tense loot host moves to loot.build (map #2412, ADR 0099): loot --help names security@loot.build and https://loot.build/trust, ALPHA_PROMISE_URL is https://loot.build/install and the telemetry DEFAULT_ENDPOINT https://loot.build/api/telemetry, so the next release carries them; the site install one-liners, R2_BASE and HOP_BASE (https://dl.loot.build, https://loot.build/dl), the metrics SITE_SCOPE and own-host referrer, the disclosure links on trust, terms, privacy and known-issues, and the install, quickstart and guides pages follow, with the privacy and terms markers moved to 25 September 2026 and re-pinned since readers see the new address; README, CONTEXT.md (the forge door now forge.loot.build), the release checklist, site CI and test fixtures follow, and the two specs carry a note instead of a partial rewrite. the destination census gains build in WEB_TLDS, without which security@loot.build would be invisible to its bare-host clause, and exempts the two shipped lines that tld makes read as hosts (state.build, r.build()) by their exact text; ADR 0074 section 9 says twelve-entry to match. 37 lines still name millerbyte.com outside ADR bodies, evidence, research and scratch, each kept on purpose: dated history, millerbyte.com the site and its @millerbyte/ui tokens, the two noted specs, and relay-era tooling with no successor host, filed as #2438. census red with build dropped from WEB_TLDS, restored; site gate 819 passed and within budget; workspace suite 4559 passed over 142 binaries, 13 ignored (#2418) c5663115 · dbf3dbe6…diff
  • the forge refuses an /ingest that would drop a current head it neither descends from nor retires by name (ADR 0098 section 3, map #2422): ingest::heads_this_push_drops judges the declared heads against the heads read at the push generation, before the store transaction, so the CAS makes it sound and a push at a stale generation still loses the swap as before; the walk over the push own changes answers an ordinary push with one read, the head set, and only a head that walk does not reach costs the repo graph, through the landed closure propose already has. a refusal is a 412 whose text body names the count, the remedy (loot pull first) and each head, so a client from before this reads a sentence and this client prints the count it read with the same remedy. retirements ride the signed head declaration as a trailer after the kinds, written only when a push names one, so a push retiring nothing is the old bytes and a forge from before this reads past the names and replaces its heads wholesale as it always did. the client names each forge head its declaration does not reach and that this position has seen, holding the change or naming it in its abandoned record, so abandon --head and supersession are covered with no list of verbs, and never names a head it has not seen. four conformance cases run on the memory store and on Postgres through the assembled forge: a fast-forward carried or already held, a dropped unseen head refused and named with the ref unmoved, an explicit retire that lifts only the head it names, and a racing push that still loses the CAS; a runners test that replaced its root with a new root now retires it by name. red under ten named mutations, each 0 passed and 1 failed (2 failed for the trailer) and restored: no refusal, no generation guard, retirements ignored, no overlay fast path (an existing pin saw the graph read), the overlay alone, the client retiring nothing, the client retiring unseen heads, a view-only seen, the kinds left out ahead of the names, and the client not reading the 412. bash ci/local.sh is green against Postgres 18, 4599 passed over 143 binaries with 13 ignored and the site pg suite at 67 passed. no migration; the forge behaviour changes, so this owes a forge deploy (#2426) e1e5c828 · dbf3dbe6…diff
  • the forge answers where a request spent its time: the new loot_forge::timing records a span per step, each ended where its step ends so the spans sum to the total, the last named answer or until_error, plus counts beside them, and a repo-scoped route whose steps report returns them as a Server-Timing header and writes the same text as one INFO line with the repo, endpoint and status, names durations and counts only. /ingest (ppwukxrx) and /stow name their handler and prepare steps, the ancestry check, publish, proposals, attestations, jobs, and on Postgres each statement family inside the transaction from store.open to store.heads_read, then commit and wake, and count the tree_entry rows written and the parent tree rows read. /fetch (zxkpzxvz) names the serve walk steps from a new Phase enum whose words the budget refusals now use, and counts each object read as a cache_hit or cache_miss with summed times, the time keeping copies took and the width, tallied per thread through the new BlobStore::get_with_source and reported on a refused walk too. CORS exposes Server-Timing and each answer carries Timing-Allow-Origin *, as the CORS layer already answers every origin. measured on a local Postgres 18 of 7.6M tree_entry rows, the ingest of one change onto a 7,240-path tree took 192 to 566 ms, 55 to 79 percent of it the 7,240 tree_entry rows written whole (106 to 447 ms), and a Tickets-shaped walk of 5,463 wants spent 77 to 81 ms outside the blob reads; against a plain-HTTP stand-in bucket at 50 ms a get the real S3 client read 2,048 objects in 6.54 s at 16 wide and 1.66 s at 64. sweep 2 fix-ups of rxxtvlvl: only the serving process opens the blob cache (Forge::serving_from_env; Forge::from_env, and so --reap-runner-deposits, reads the bucket bare) and an open removes no temp file younger than STALE_TEMP; the integrity sweep reads the bucket under the cache through blob::tier_of; the budget phase test covers every Phase by construction, not four by hand; and the MAX_CONCURRENT_GETS doc no longer calls 44 ms a floor. the Dockerfile makes /var/cache/loot-forge, owned by the forge user, for a cache volume. red under named mutations, each restored: spans measured from the start (6 passed and 1 failed over the timing tests, 0 and 2 over the two http tests), every read tallied a miss (0 and 1, and 0 and 1 over http), reads reported only when the walk answered (0 and 1), the sweep reading through the cache (0 and 1), an open removing fresh temp files (0 and 1), a refusal naming the span token (0 and 1), Server-Timing not exposed (0 and 1), no header on a refusal (0 and 1), held manifests counted as tree rows (0 and 1, against a throwaway Postgres 18). cargo test green, 4800 passed over 145 binaries with 13 ignored, and loot-forge green at 696 passed against a throwaway Postgres 18. owes a forge deploy; it also carries comments on vrxsvlsy, zkkkyqun and rxxtvlvl, the new tickets zxkpzxvz and uqooxqvx, and the resolution of zykuxznx, whose gzip change is scripts 3a21f24 (ppwukxrx) 2aacc76d · dbf3dbe6…diff
  • a push deposits its keys at a forge many to a request: the forge mounts POST /grants/deposit on both grant lane mounts, taking up to loot_net::forge::MAX_GRANT_BATCH grants each as /grant takes one, parsing every blob before filing any, and says grant_batch on /info; Workspace::deposit seals each grant with the new DagRepo::seal_grant, which records nothing, delivers them in calls of at most that count and at most BYTES_PER_BATCH unless one grant alone is larger, and records and persists a call manifest and ledger rows only once the call is answered, so a failed call records none of its deposits and every earlier call stays recorded; a host whose /info does not say grant_batch, a relay or a forge deployed before this, is sent one deposit a request on /grant as before. measured against an in-process forge behind a proxy holding each request 20 ms, a push owing 60 standing self-grants sent 60 /grant requests in 2.73 s to a forge without the flag and 1 /grants/deposit request in 0.68 s to one with it. the narrower lock for the land sync is not built: outside the harbor the no-arg primary adopt would catch up to a main another land has projected but not yet published or format-checked (#1776), and the ADR 0098 race fold writes landed main from a position a later land may have passed, both needing a design decision. ADR 0057 and CONTEXT.md say so, and the ADR 0057 sentence that only seal_and_deliver_grant writes the ledger is corrected. red under named mutations, each restored: one deposit a call at a batching forge (0 passed and 1 failed), the forge filing each blob as it parses (0 and 1), no byte bound (0 and 1), recording a call before delivering it (0 and 1), the /info flag unread (0 and 1). cargo test green, 4815 passed over 144 test result lines with 14 ignored, and the site gate green at 889 passed. owes a forge deploy, and the primary release binaries a rebuild for a land to batch its deposits; it also carries a comment on ywuxnuxp; it also files yznnvzks, the lock half parked on a naming and a format decision (lwsrylrv) 772e1f9d · dbf3dbe6…diff
  • loot pull-grants asks a forge from a cursor, where it fetched and filed the whole mailbox on every run: the cursor the forge issues with each answer is kept in .loot/grant-cursors per canonical remote and mailbox key beside the keyring, read by the grant collection and by no open and no save, written after the keys are saved and never past a grant left pending, and a cursor the forge refuses as a bad request is asked again from the origin once; a relay, and the first run, pull the whole mailbox as before. the apply says whether it filed a key, so a pull counts the grants already held and prints the surface hint only when it filed one. on a copy of the desktop store against the live forge a whole pull of 8,612 standing self-grants took 102 s before and 96 s after, and the pull after it 0.33 s with a 21 byte answer. the 142 s the ticket put on the re-apply was the 52 MB answer arriving, 132 s timed inside the verb against 0.68 s for the loop that unwraps and files the grants, so skipping held keys was not built. red under named mutations, each restored: the kept cursor never sent (3 failed and 1 passed), no fallback on a refused cursor (1 and 3), a delta answer dropped (2 and 2), the cursor moved past a pending grant (1 and 3), held grants not counted (1 and 3), the surface hint unconditional (1 and 3), and a save that reads the cursor file (1 and 0). cargo test green, 4907 passed over 145 test result lines with 15 ignored. CONTEXT.md and ADR 0057 say so (wvyrkooo) 1d53db98 · dbf3dbe6…diff
  • a loot grants peek at a forge now counts the mailbox without reading a blob, where it read every grant blob of the inbox and verified each due envelope to count them, 3.6 s to its headers live: migration 0030 files grant_inbox.envelope_signer, a stored generated column holding the signer each blob envelope names, the in-process inbox reads the same bytes when it files a blob, GrantInbox::held_counts answers the mailbox grouped by reveal_at and signer, and peek_counts applies the pull is_due and counts as standing the rows naming the mailbox key, so the signer is verified at the door, parse_deposit, and not at the peek. over 8,700 rows of about 6 KB on a throwaway Postgres 18 the peek went from about 420 ms to about 1.5 ms with the same counts. pinned by a conformance case asking the peek through a backend whose blob reads panic and beside a pull, one holding each backend to one signer reading at each envelope edge, the count statement read as text, and a live count of the TOAST blocks it fetches: red under named mutations, each restored, failed and passed of 6: the peek reading blobs (4 and 2), the statement reading blob (2 and 4), the in-process inbox verifying (2 and 4), a strict embargo comparison (2 and 4), the column made virtual (1 and 5), the column without its version check (1 and 5). cargo test green, 4932 passed over 145 test result lines with 15 ignored, and the forge suite green on a throwaway Postgres 18. CONTEXT.md and ADR 0057 say so. owes a forge deploy, which runs migration 0030 (yxwluyyl) 6882672f · dbf3dbe6…diff
  • the forge records its wide events (ADR 0101): every request under server::scoped and lane is one JSON line on standard output in the shape the site error shipper reads, named on its answer in x-loot-event, which CORS now exposes; a signed caller is named by a key reference, a BLAKE3 derivation of the signing key set where the envelope verifies and cleared per request, never the key; a 4xx is an ok event with a refused note and only a 5xx is an error, its kind the ForgeError variant off the derived Debug, its message scrubbed, its frame the endpoint; errors, slow and signed requests are kept and 5 percent of the rest, and every request is counted into an exact per-minute line; each burn delete job run that did or failed anything is a forge.job event. pinned in wide.rs, 9 tests, a_verified_caller_is_named_on_its_event_by_a_key_ref and every_answer_names_its_wide_event_and_a_page_may_read_it; red under named mutations, each restored, failed and passed: the caller not recorded (1 and 8), no event header (1 and 0), the header not exposed (1 and 0), a refusal as an error (1 and 8), quotes kept (2 and 7), the key itself as its reference (1 and 8), a signed request sampled like the rest (1 and 8), begin keeping the caller (2 and 7). owes a release and a forge deploy, and files mwvpnyss for its deploy half (kwlnqtmy) 9a3350b1 · dbf3dbe6…diff
  • a burn at the forge drops every grant_inbox row whose grant names the burned address: the burn delete job (purge::delete_burned_bytes) drops them through GrantInbox::drop_grants_for beside its blob tier delete and records the address only when both succeeded, so a failed drop stays owed and is asked again, where it deleted the blob tier copy and left the standing self-grants, whose bodies carry the object ciphertext, in Postgres and its dumps; migration 0032 generates grant_inbox.object_oid from the blob, the address its sealed-grant header names (Frame::sealed_grant_oid, inbox::named_object), indexes it, and owes again each recorded burn whose address a grant still names; a grant deposited for a burned address is dropped by the deposit, which reads the burn state after filing and owes the address again (Forge::deposit_grants); the job wide event counts the grants dropped. CONTEXT.md and ADRs 0038, 0046 and 0057 say so. pinned: a_burn_leaves_no_grant_naming_its_address_in_any_mailbox and a_drop_takes_every_grant_naming_the_address_and_no_other over memory and Postgres 18, migration_thirty_two_owes_the_drop_of_a_burn_already_recorded, migration_0032_reads_the_address_the_codec_writes and the_sealed_grant_address_is_read_off_the_header_alone; red under named mutations, each restored, over the six selected forge tests against a throwaway Postgres 18: no drop in the job (2 failed and 4 passed), a failed drop recorded as done (2 and 4), the memory drop a no-op (2 and 4), the Postgres drop a no-op (2 and 4), the column one byte early (4 and 2), no re-owe in the migration (1 and 5), no burn read after a deposit (2 and 4); the codec reader with no tag check (1 failed and 0 passed). ci/local.sh green over the forge database steps and cargo test with the live suites, 4997 passed over 145 test result lines with 15 ignored. owes a forge deploy, which applies migration 0032 (qusqlqwm) e71742ae · dbf3dbe6…diff
  • a burn at the forge drops the grants naming a burned address on every run of the burn delete job, derived from burn_tombstone in one keyed statement (GrantInbox::drop_burned_grants, pg::inbox::DROP_BURNED_GRANTS_SQL) and recorded nowhere, so burn_bytes_deleted records the blob delete alone and nothing the previous forge records during a deploy can end the drops, where a record it wrote after migration 0032 owed a burn again ended them for good; the deposit read after filing is a fast path that owes nothing, and a filing that fails is the deposit answer whatever that drop does; the grant door refuses a grant whose body carries an object other than the one its header names, or anything in its keys, changes or attestations lanes (grant::parse_deposit), and the builders whose grants a deposit sends are pinned to carry that object or none and leave those lanes empty; a 400 from that door reads as the door refusing the grant with the forge reason, where it told the reader to compare format versions; a migration waits at most 5 s for a lock (pg::migrate::MIGRATION_LOCK_TIMEOUT, below the pool checkout wait), and a wait past it stops --migrate with that migration rolled back and named, which stops setup-forge.js before the container swap; a test fails if a statement this crate ships deletes from or truncates repo_change, which would leave repo_object stale; a forge push refusal names an address burned here apart from one not held here, with the remedy of each. CONTEXT.md and ADRs 0038, 0046 and 0057 say so, the 0057 amendment carrying the deploy window the checksummed 0032 text does not. pinned: a_burn_leaves_no_grant_naming_its_address_in_any_mailbox over memory and Postgres 18 (a drop that fails, then a run with the blob delete on file, then a grant filed past the deposit check), a_failed_filing_is_the_answer_when_the_drop_after_it_fails_too, a_grant_carrying_an_object_its_header_does_not_name_is_refused, a_grant_carrying_a_key_in_its_body_is_refused, a_grant_carrying_a_change_in_its_body_is_refused, a_grant_carrying_an_attestation_in_its_body_is_refused, a_browser_grant_carries_its_object_and_nothing_else, a_forge_grant_door_400_says_the_door_refused_it_and_why, the_burned_grant_drop_asks_the_index_by_address, no_statement_this_crate_ships_deletes_a_version_from_a_repo, a_migration_waiting_past_the_lock_timeout_gives_up_and_applies_nothing, the_lock_timeout_is_below_the_checkout_wait, a_sealed_grant_carries_the_object_its_header_names_and_no_other, a_self_grant_carries_the_object_its_header_names_and_no_other and a_history_naming_an_object_burned_here_is_refused_as_burned; red under named mutations, each restored, over the nine selected forge tests against a throwaway Postgres 18: no drop in the job (2 failed and 7 passed), the Postgres drop a no-op (1 and 8), the memory drop a no-op (1 and 8), no burn read after a deposit (2 and 7), the drop error answered before the filing error (1 and 8), no door check (1 and 8), the drop written as IN (SELECT) (1 and 8), a repo_change delete in meta.rs (1 and 8), the timeout at 15 s (1 and 8); the drop run only while a blob delete is owed (2 failed and 0 passed over the two burn pins), no lock_timeout (1 failed and 0 passed, applied after 20 s), seal_grant carrying a second object (the custody pin 1 failed and 0 passed, and a_forge_push_deposits_embargoed_keys_to_peers_and_to_self refused with a 400 at the door, 1 and 0), the ticket self-grant carrying a second object (1 and 0), the burn log not asked (1 and 0); no keys, changes or attestations check at the door (each 1 failed and 11 passed over the grant tests), seal_grant carrying a key (the custody pin 1 failed and 0 passed, and the embargo push refused at the door, 1 and 0), the browser grant carrying a key (1 failed and 1 passed), the ticket self-grant carrying a key (1 and 1), the door 400 routed to the generic text (1 failed and 3 passed), the reason dropped (1 and 3). ci/local.sh green over the forge database steps and cargo test with the live suites, 5011 passed over 145 test result lines with 15 ignored, and the site gate 1071 passed. owes a forge deploy, with no migration of its own, and 0032 deploys with it (wurtzskp) 8cf84317 · dbf3dbe6…diff
  • a standing self-grant carries the key alone: a push deposits it with DagRepo::grant_key_only, and the browser ticket write too, where each body carried a copy of its object ciphertext; a forge filing a key-only standing self-grant (grant::Deposit::supersedes_standing, its grantor its grantee, no object, due and never expiring) drops the other self-grants of that object in that mailbox (GrantInbox::supersede_standing, one keyed statement over the columns of migrations 0030 and 0032, no migration of its own) and says standing_supersede in /info; loot grants --replace-standing reads the mailbox whole and re-deposits each full self-grant this identity signed as its own header with an empty body, at a host that says standing_supersede; the browser device database moves to version 5, whose upgrade drops the grant cache and its cursor once. ADR 0057 and CONTEXT.md say so, and no reader of a standing self-grant this change found takes the object from its body. pinned: a_key_only_standing_self_grant_supersedes_the_full_one over memory and Postgres 18, the_standing_supersede_asks_the_index_by_address, only_a_due_key_only_self_grant_with_no_expiry_supersedes, a_standing_self_grant_carries_no_object_and_a_timed_one_carries_its_own, replacing_the_standing_self_grants_leaves_one_key_only_grant_an_object_that_still_opens, a_self_grant_carries_the_key_its_header_names_and_no_object and the site upgrade test; red under named mutations, each restored: no drop at filing (2 failed and 2 passed over the four supersede tests), a full self-grant replacing (3 and 1), an expiring one (3 and 1), a grant to another key (1 and 3), an undue one (1 and 3), the memory drop ignoring the signer (1 and 3), the Postgres drop ignoring the signer (1 and 3), the Postgres drop taking the grant it keeps (2 and 2), the drop not keyed by address (1 and 3), the push depositing a body (1 failed and 0 passed, twice), no capability check, key-only grants replaced again and the replacement keeping its body (each 1 and 0), the ticket self-grant carrying an object (1 and 0), no drop on the upgrade (1 failed and 18 passed). cargo test with the live suites over Postgres 18 green, 5017 passed over 144 test result lines with 15 ignored, and the site gate 1094 passed. owes a forge deploy, then the replacement run, then a site deploy (kwxvxtqm) 1f363845 · dbf3dbe6…diff
  • forge.loot.build hands every request that is not the forge protocol to the forge app, split by what the forge router routes and by the envelope, with no list of protocol paths: the router fallback answers a request it does not route 421, server::NOT_THE_PROTOCOL, unless its body verifies as a signed envelope, which keeps the empty 404 an old host answers, and it sits outside the CORS layer so the forge answers no preflight for a path it does not mount; in the scripts repo the edge hands only a 421 to a named location, for now a temporary 307 to the same path on loot.build until lrvstoyz moves the pages, and setup-forge reads that back over the public name. red under named mutations, each restored: the fallback gone (4 failed and 23 passed), the fallback inside the CORS layer (2 failed and 25 passed), a signed request handed on (1 failed and 26 passed), a refusal at 421 (1 failed and 8 passed); on the edge, a 404 intercepted too and the inheritance check dropped (each 1 failed and 7 passed). owes a forge release and deploy and a setup-forge edge run. cargo test green, 5020 passed over 144 test result lines with 15 ignored (novxrtxz) 217ac11b · dbf3dbe6…diff
  • forge.loot.build serves the forge app beside the protocol and loot.build keeps the brochure, ADR 0103 decisions 1 and 2: site/tools/surface.mjs reads which routes are the forge app off each route import graph at build time, a route that reaches Clerk, the vault or a forge database other than the anonymous read tier, and the /k/ repo pages; one build serves both hosts, and start.ts sends a forge app route asked on any other host to the forge with a 308, a brochure page asked on the forge to loot.build with a 308 and the forge root to /private with a 307, while the root route beforeLoad makes a navigation that crosses a full page load and SurfaceLink writes a crossing link with the other origin. the loot.build header loses the Private tab and the key chip for one Open the forge door; the sign-in and the unlock card say a reader signs in and unlocks once more on the new host, and brochure pages delete the device database a browser kept on loot.build. the forge sets X-Content-Type-Options nosniff on every answer, and no_site_route_sits_at_a_path_the_forge_serves reads the site route tree against server::protocol_path_patterns, every Route at both mounts. ADRs 0096, 0099 and 0103 and CONTEXT.md say so. red under named mutations, each restored: a forge route served on any host, a brochure page sent to the forge and the forge root sent to the brochure (each 2 failed and 12 passed), dynamic imports unread (7 failed and 7 passed), the account capability gone (3 failed and 11 passed), the repo pages gone (1 failed and 13 passed); on the built server with a split, the host middleware dropped (3 failed and 2 passed); in loot-forge, nosniff off and a site route at a repo endpoint path (each 1 failed and 1 passed). site gate green at 1174 passed with no split and 1178 with one; cargo test green, 5048 passed over 146 test result lines with 15 ignored. owes a forge release and deploy, the scripts repo edge from setup-forge.js, then a site deploy (lrvstoyz) e1ddbc90 · dbf3dbe6…diff
  • an account claims a handle on /account, once, and forge.loot.build/<handle>/<repo> resolves to the newest live key of the account, ADR 0103 decision 3: migration 0040 adds account_handle, keyed on the account and written by the site identity module, which may insert a claim and never change or release one, and forge_read_handle, the read tier half of the seam 0008 gives a retired key; the forge role reads account_handle and writes none of it. the forge rewrites /<handle>/<repo>/<endpoint> onto the /k/ mount of that key ahead of its router (loot-forge handle.rs), so a clone, pull or push through a handle is the /k/ request, the write rule included, and a handle nobody claimed is handed to the web as before; the site route /$handle/$ answers a 307 to the same path under /k/<key>, or the 404, on either host. a claim refuses a handle equal to any first path segment the host serves, read off the site route tree, the forge router through a copy a forge test holds equal to handle::served_first_segments, and the client asset directory. every answer to a request the forge rewrote and every answer of the /$handle/$ route carries X-Loot-Log-Path, the path with the handle and repo as :handle and :repo, a remainder of lowercase words kept and any other as /:path, never the query, so the edge can log it in place of a repo name. the ADR 0103 amendment and CONTEXT.md Handle say so. red under named mutations, each restored: the served-segment guard removed (1 failed and 1 passed of the handle unit pins, 1 failed and 2 passed over http), the rewrite layer removed (3 failed), a handle let match a literal in the overlap matcher (1 failed), the site copy short a segment (1 failed), a handle route sent to the forge from the brochure (2 failed and 17 passed), the reserved set without the forge segments (1 failed and 10 passed), handleHref matching inside a longer segment (1 failed and 10 passed), a 301 for the 307 (1 failed and 2 passed), the forge logging any remainder (1 failed and 2 passed), a rewritten answer untagged (1 failed and 2 passed), the site logging any remainder (1 failed and 12 passed), the route without its log-path middleware (1 failed and 3 passed); on Postgres 18, the forge handle read keeping retired keys (1 failed and 2 passed) and a second claim answering the old handle (1 failed of 27). cargo test green before the log header, 5104 passed over 148 test result lines with 15 ignored, and loot-forge green after it, 851 passed over 14 with 2 ignored; ci/local.sh green on Postgres 18 with the site live suites at 136 passed; site gate green at 1257 passed, every surface under its ceiling. owes a forge release and deploy, which applies migration 0040, and a site deploy (pkwrxnly) 6aa831db · dbf3dbe6…diff
  • loot-forge --restore-account undoes no removal made since the backup and holds no live transaction through its run, which keeps the /terms promise (review sweep 5): each copied table in pg::restore::CLASSING says how a row of it leaves the live forge, and where a removal deletes the row, one missing under a repo or key the live forge still holds is withheld, so a collaborator removed, a stored seed withdrawn, a key name cleared, a delivery acknowledged or a head a push dropped stays gone, while one under a repo or key the live forge lost comes back with it, so a lost repo returns whole and a repo made again since takes nothing of the old one. a unit census holds each class to the delete statements the forge and the site ship. the restore stages the dump rows in temporary tables of its own session, compares them in one read-only snapshot, asks the bucket with no live transaction open, and with --apply writes in one short transaction that locks the held repos ref rows first and decides again over what the comparison left (yuvtxxrm). measured on Postgres 18 with 16,525 addresses and 169,000 tree entries at 2 ms a bucket ask, the dry run longest live transaction went from 45.1 s of 47.0 s to 0.3 s and a push wait from 40.7 s to none, and an apply held 2.2 s. the forge also tags every answer to a handle-shaped path with X-Loot-Log-Path whether or not the handle resolves. the ADR 0046 and 0103 amendments, CONTEXT.md Account restore, Handle and Account tier, the account_tier.rs header, the --restore-account usage, and the forge.ts and handle route prose say so. red under named mutations, each restored: the holder rule off (1 failed of 1), every repo read as held (1 failed of 1), the bucket asked inside the snapshot (1 failed of 1), repo_member classed as kept (1 failed and 4 passed), an unresolved handle answered untagged (1 failed and 32 passed). cargo test green, 5118 passed over 149 test result lines with 15 ignored; ci/local.sh green on Postgres 18 with the restore suite at 5 passed and the site live suites at 136 passed; site gate green at 1257 passed, every surface under its ceiling. the grace write ordering is left for its own ticket. owes a forge release and deploy and a site deploy (kkxnznxu) e7abc9d6 · dbf3dbe6…diff
  • a push the forge refuses after the plan admits it starts no storage grace, and a push it takes during one is told so (ADR 0103 amendment): plan::require_room only reads, the grace through MetadataStore::plan_grace_started, and answers plan::Admitted, which /stow and /ingest hand to Admitted::committed after their own write, so plan_grace starts or ends a grace only for a committed push and one refused for a missing object or a lost CAS moves none, the question still asked before anything is stored, after burns, with the crossing push counted and a strict bound. a push taken during a grace carries plan::notice, the 402 sentence with how far past the bound the account is and when the grace ends, as plan_notice in the /stow report and as a trailer after the ref state in the /ingest answer, which an older client and loot-wasm read past, and loot push prints it once on stderr with the /account and loot burn remedy without failing. in the wording the operator approved, the notice, the 402 refusal and both remedy lines end with a full stop, and one byte reads 1 byte. CONTEXT.md Plan and the ADR 0103 amendment record it. red under named mutations, each restored: the grace written before the unresolved check (1 failed of 1) and before the CAS (1 failed of 1), the question writing the grace (2 failed and 8 passed, 1 failed and 3 passed), no notice on /ingest and none on /stow (1 failed of 1 in each of two pins), the CLI not printing it (1 failed of 1), the ingest notice not kept (1 failed of 1), the bound at greater-or-equal (3 failed and 6 passed), the singular byte reverted (2 failed and 7 passed, and 1 failed of 1), the notice full stop dropped (1 failed and 8 passed, and 1 failed of 1). cargo test green, 5134 passed over 148 test result lines with 15 ignored; the live suites green on Postgres 18, the loot-forge lib at 738 passed, its integration tests at 134 passed with plan_enforcement live at 4, and the site live suites at 138 passed. owes a forge release and deploy and a CLI release (vwznltvo, lloqxrls) 68500f78 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • the loot-cli, loot-forge and loot-first tests that drive the real client against a relay or forge in their own process stand a 600 s transfer floor where they stood the production 30 s: the in-process host helpers of the verbs::sync and forge_view unit tests, of the loot-forge http and runners tests and of the loot-first land tests set the per-thread floor, loot-forge and loot-first turn on loot-net test-floor in their dev-dependencies, the custody_lock, relay_reads and shallow tests pass the floor to the loot they spawn, the inline relays and forge in verbs::sync use its helpers, and the requests the tests send by hand, the counting proxy included, wait as long; with a 31 s stall injected into the first stow, grant and runner registration of each in-process host, 58 tests failed before (26 of 47 in the loot-cli unit tests, 5 of 22 in its integration tests, 24 of 32 in loot-forge, 3 of 5 in loot-first) and the same tests passed after; TRANSFER_IDLE is unchanged, test-floor reaches no release build, the gated counters do not move, and the suite is green at 2093 passed (wwmqpnvz) 684ea10f · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • forge: hosted agents, ADR 0119 §1 and §4 — agent.hosted set only by the owner-signed registration's trailing hosted byte, /info hosted_agents, loot agent list shows hosted, plan_limit.hosted_agents (free 0, pro 5, migration 0072) counted per account under one lock at /agents/add with the typed 402, and the newest hosted agents past the allowance paused at the agent door, none retired (opnxlqzn) 641f6682 · dbf3dbe6…diff
  • a forge door is rows its operator signs and invites a key redeems (ADR 0061 §3 amended, migration 0074): the deploy list LOOT_FORGE_ALLOWED_PUBKEYS names the operator own keys, which alone admit and revoke a key and mint an invite over /door/admit, /door/revoke, /door/list, /door/invite and /door/invite/revoke, and any key presents an invite secret at /door/redeem, so admitting a key takes no environment edit and no deploy; a live key of an account is admitted with any key of that account, a revoked key returns only by an admission signed after its revocation, and each act carries its signing millisecond, so a captured request sent again changes nothing; loot door admit, revoke, list, invite and redeem drive it with porcelain and JSON, /info says door_rows, the door 403 remedy names loot door admit and loot door redeem, and a door act refusal carries no other remedy; with the account join dropped the door tests went red (2 passed, 1 failed), with a row-admitted key allowed to write rows (0 passed, 3 failed), with a stale admission taken (13 passed, 1 failed) and with the door skipped (0 passed, 3 failed); cargo test 2609 passed and ci/local.sh green against Postgres 18 on the lane before it met landed main (uyxsxlqo) eba60608 · dbf3dbe6…diff
  • every write answers --json with what it wrote, and every verb form takes a machine format or a written exemption held by a census test (ADR 0122): 78 forms without one become 13 exemptions; the refusals an agent branches on carry their own codes, two of them the forge app's to say; plan refusals name loot plan upgrade; unlock and id lock take --passphrase-file; pull --json counts the paths it left sealed; the login refusal names the keyed route; loot update refuses over a linked build and a ticket write refuses in a primary that lanes share (rkumrwrk, mmppxtww, tvonnmqo, koqxltqm, svrkqxqu, sptuokrx, lvqmsuzl, utokolzp) e7002bc6 · dbf3dbe6…diff
  • a second account reaches a Free owner's repo with no browser, a key the door refuses can ask, a handle origin proposes, and the forge carries out deletions itself (migration 0078): loot repo metadata public|private sets metadata visibility by a signed request to /repo/metadata behind the owner's door, refusing to publish without --allow-publish, where nothing could set the flag before; propose --door open says who a private repo's open door serves, a proposer shut out of its history is refused history_private before anything is sent, and the repo page says a clone serves members only; loot door request files one bounded, lapsing row a key at /door/request that admits nothing, and loot door requests lists the asks for the operator to admit or --dismiss (ADR 0061 section 3 amended); /info names the namespace a handle address answers as, which repo_path_for asks, so propose, --list and --mine work from a handle origin while a push asks nothing new; a deletion request waits 24 hours from its signing, its answers name carried_out_after and carried_out_by and that the door's admission is kept, and --delete-requested and --delete-account delete the account's rows in loot_metrics (ADR 0103 decision 10 amended, with scripts PR 31's daily timer); the hosted forge page names the ask, the metadata verb and the window; red with each check off (667 passed, 1 failed; 85 passed, 2 failed; 12 passed, 1 failed), cargo test green, and ci/local.sh's Postgres 18 suites green with the site live suites 106 passed (sksvrusm, rzkpvxxk, mnutwvlo, snqtrvzo) c7d7be2b · 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.