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… - Give the forge an operator channel, with one redaction rule (#522)
f9ca9f91 ·diffdbf3dbe6… - Forge storage drivers: Postgres metadata tier, S3 blob tier, and one conformance suite both must pass (#516)
f65970e6 ·diffdbf3dbe6… - loot-forge drains on SIGTERM and SIGINT instead of waiting out SIGKILL (#657)
0485a488 ·diffdbf3dbe6… - forge: /stow answers the relay StowReport JSON so forge-routed pushes report wire bytes (#647)
431ade3f ·diffdbf3dbe6… - the forge grows an operator door list, so its first public ingress refuses all but listed keys with a typed 403 (#690)
0541e431 ·diffdbf3dbe6… - adopt: catch up to landed main f266c856
da01da3d ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - the relay's grant mailbox authorizes before it parses, and a read addresses only the caller's own (#621)
4b349b72 ·diffdbf3dbe6… - a forge advertises its retention window on /info, and burn prints one honest bound per host it disclosed to (#814)
652f4023 ·diffdbf3dbe6… - the two servers share one auth preamble, and a forge handler reaches the router only through the crossing (#865)
a10e310f ·diffdbf3dbe6… - info names the build, not only the wire format: a deploy becomes verifiable from outside (#922)
ffe01788 ·diffdbf3dbe6… - the review's findings: one shape for an unstated build, the glossary carries the field, and the ignore rule gets the test that was its point (#920, #922)
8784832a ·diffdbf3dbe6… - retirement starts meaning something on the write path: may_push and burn entitlement go account-aware, and a rotated identity keeps its namespaces and its burns (#927)
7b9bbaf2 ·diffdbf3dbe6… - the forge door stops being a quota stopgap: the push allowlist is recorded as a custody list, and the six places promising open multi-tenant push behind metering now name what actually shuts it (#1045)
a790ec8e ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - the peek stops telling a fresh second machine there is nothing to receive, the glossary catches up to #1114, one predicate decides standing self-custody, and the shared warn gets its provenance back (#1120)
e9544471 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - a forge that cannot be reached, or that says no, stops answering with a message naming no request and a relay that was not in it, because both clients now send over one Endpoint that carries transport_failed's four-way diagnosis and knows which kind of host refused, collapsing four hand-kept endpoint lists into one (#1415)
21b9625e ·diffdbf3dbe6… - may_propose is born beside may_push and provably does not widen it: the write rule stays exactly as narrow as it was, and the pin is not a sentence but #927's whole matrix - five signers across an accounted and an accountless namespace - run through require_pusher with the contribution door SHUT and again with it OPEN, demanding identical rendered answers including the message text. That covers the rule's entire reachable input space with respect to this change, because require_pusher reads signer, owner_pubkey and account_of and nothing else, and the break that proves it is the conflation a careless implementation would actually write: consulting the door at the top of require_pusher collapses the whole open column to ok, which IS a stranger moving the owner's ref, and it is quoted in the test's failure rather than described. The door is two halves in order, the repo's own accepts_proposals and then a LIVE account_key row, returning Result rather than bool so the refusal sentence is the product; retirement bites for #927's reason, since a rotation retires a key so a leaked one stops writing and a proposal is a write. The account tier is READ and never written - account_tier.rs survives completely untouched, and rather than assert that, its scan was proved to reach the new files by planting an UPDATE of tenant_blob in the migration and watching it name the file. The setting is migration 0012's boolean defaulting to false with no backfill and no wire caller, so it ships CLOSED on every repo, and that is recorded in the ADR amendment so nobody later reads a shut door as a bug. It cannot be derived, proved four ways rather than argued: a behavioural case over both stores that makes the four tempting facts true - the repo has a tip, holds changes, is metadata-public, publishes a path, each asserted by its own control first - and then re-reads the flag and finds it still false; a DDL check that 0012 contains no UPDATE, GENERATED, TRIGGER, SELECT or CASE WHEN and names none of the tables an inference would read, guarded by a vacuity check and the inverse read that its prose still names them; the DEFAULT plus absent backfill; and the upgrade shape run against a REAL database, where a repo that is both metadata-public and carries a live publication comes out of 0012 shut. Two things are recorded because they were caught rather than avoided. An existence-oracle guard initially passed WITH the oracle planted, because the fixture repo had never been ingested to and so was the same state as an absent namespace to every trait method - it needed a real tip plus a control asserting the two states differ before the break went red, and the reason is written beside the helper. And account_of has THREE consumers rather than the two a pre-existing header credited it with, having missed purge::same_live_account, untrue since #927 - so all three sites now NAME the consumers instead of counting them. The Postgres run earned its keep independently: a conformance case omitting put_object before publish is tolerated by the in-memory tables and rejected by a real foreign key, so memory alone would have shipped it (#1650)
8403defb ·diffdbf3dbe6… - the third sweep's fix-up, and the worst of what it found was a doc block that had been separated from its subject by an insertion: proposal_of landed BETWEEN changes_of's comment and changes_of, so thirteen lines ending in a cross-tenant isolation warning - that without the repo_change join a named id from another tenant's repo answers with that tenant's whole tree - came to sit on a row decoder that makes no join at all, while the function that actually carries that join had no doc. Nothing was broken and that is the point: a tenancy guarantee attached to code which cannot provide it is a claim nobody can check, and it is now back on changes_of with proposal_of saying explicitly that it joins nothing and that the scope belongs to the query which produced its row. Two authored counts go the way #1650 already sent account_of's consumers, from counting to naming: server.rs said authorization is three rules where require_metadata_access is a fourth and IS a function in that file, while the AccessClass rule listed among the three is not a function there at all but is applied in readable_rows, the seam both /offer and bundle share - and the self-justifying sentence explaining why the count was written down is deleted rather than updated. CONTEXT.md's copy turns out not to be merely authored but WRONG, saying second caller where there are three, one entry away from the account_of entry #1650 had already fixed the same way. Two more sites carry the same defect the ticket located in only one: store.rs calls the four proposal methods writes where two are reads, and its list of the repo-scoped group's non-CAS writers was missing set_accepts_proposals entirely, while a second passage both mis-describes the writes and double-counts the refusals, the walk BEING refusal one. #1650's fourth not-derived proof was written on its issue as if pinned when it had been a manual run, so it is pinned rather than downgraded: a reusable prefix harness applies migrations up to n against a scratch database, plants a repo that is metadata-public and holds a live publication and is old, applies 0012 and finds both repos shut - proved red four ways by appending a real backfill to 0012 each time and reverting, with every migration file verified byte-identical afterwards. That fixture also tripped the repo's own tenancy guard, because planting repo_member to cover the membership derivation made account_tier.rs report a Rust producer of the account tier, which is #753's boundary doing its job - so the arm was backed OUT rather than the tripwire evaded, and the membership derivation is recorded as argued from 0012's text rather than from rows, covered by no row-level test before or after. The DDL guards' comment stripper could be blinded by ordinary SQL, since it cut at a double dash with no awareness of string literals and those guards are what prove 0011 and 0012 do not backfill; it now skips quoted regions using the checksum lexer's own primitives, so there is one answer in the file to where a literal ends, and its five cases each carry a control that runs the OLD parser and REQUIRES it to lose the bytes, so a case discriminating nothing cannot be added (#1723)
1abd431b ·diffdbf3dbe6… - the sync surface learns membership, which is ADR 0077's other half: AccessClass::of stops being a byte compare and becomes owner-or-member, with the owner compare staying FIRST because a repo can have an owner with no account at all - repo carries no tenant_id and a push creates no tenant - and the membership arm resolving through a LIVE account_key row, since a rotation retires a key precisely so a leaked one stops working and reading a collaborator's sealed metadata is what a leaked key would be used for. The read is a new trait method with no writing sibling, and liveness stays in the CALLER so the two stores cannot disagree about #927's rule. Two breaks prove it and the interesting one is the small break: resolving membership before the owner compare moves exactly ONE cell of twenty-one, which is the point rather than a weakness, because a matrix without an accountless owner in it would not have moved at all. The dangerous shape is the other one - resolving from account_key alone with no repo_member join, which makes every account a member of every repo - and it turns eight of twenty-one green including two whole columns; the same break is red in SQL against a live cluster, and the unjoined query is run BESIDE the shipped one inside the test and asserted to admit the repo it should not. The write rules are pinned by #1650's method rather than described: the whole matrix of five signers across both door positions, run with membership rows planted for every account and again with none, demanding identical rendered answers including the message text, with a control that those same rows really do move the read class - and folding membership into require_pusher flips the contributor cell from a 403 that names another account to ok, which IS a stranger moving the owner's ref. The may_ship_key pin found something that strengthens ADR 0077's sixth decision: widening the class ships no key that was not already world-readable, and a member gets the Internal object's BYTES with the key set asserted as exactly the published oid rather than as an absence - but making may_ship_key answer true left the case GREEN, because verify_publication independently refuses a non-world object, so the lane is closed THREE times and not twice and the pin cannot be broken by widening Member in any spelling. A gap the ticket and the ADR both missed is pinned rather than fixed: a rotated owner's OTHER live key reads Anon on their own repo while require_pusher admits it, which this change did not cause since a byte compare answered the same way, but the new matrix makes it visible - the remedy needs no new predicate, only a repo_member row for the owner's own account. The claim that there is exactly one read method here was a live count in nine places and staled the moment a second arrived, so all nine become names and no number is written anywhere (#1728)
1fc1f6a2 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - a proposal row gains an owner, because it had none: /propose asked whether the signer may propose here and never whether this ROW was theirs to write, so both stores upserted unconditionally with the state reset to open and only landed excluded - which made the ban-and-quota handle rewritable by any account holder who could present the same change id, and made the author's withdrawal reversible by a stranger. It was proved by running the hijack rather than by reading, with a throwaway witness that printed the takeover happening: state Withdrawn with the presenter as proposer before, state Open with the hijacker as proposer after. The rule is the party whose act would be overwritten and nobody else, and it is refusal FIVE because it needs the change id the byte refusals produce. Open lets the PROPOSER amend, which is the carrier re-presenting an updated stack and is the legitimate case the rule cannot simply forbid, so it carries a positive control. Withdrawn lets the AUTHOR alone reopen, because a withdrawal is the one-actor decision withdraw already makes and letting the carrier undo it reaches that decision from behind. Declined lets EITHER party, and that asymmetry is argued rather than assumed: the decline is the OWNER's act and an owner cannot propose, so a stricter rule would leave a declined change id with no exit at all, which is precisely ADR 0075's honourably re-proposed arm. Landed is untouched and stays the store's own invariant rather than being restated. Every party is read from the row ON FILE and never from the presented tip, which the caller chose. The refusal is kept from becoming an existence oracle twice over: concealed and visible-but-not-yours collapse into one sentence that names no term of the row, asserted byte-identical across two keys and both settings of metadata_public with a loop proving it names no proposer, author, tip or state - and the structural half is the stronger one, since both entitled parties are already standing readers, so the write gate is a PROPER SUBSET of the read gate, pinned with the owner as the control because the owner reads and is refused writing. One instruction was subtly wrong and is recorded rather than followed: withdraw pairs ABSENT with concealed, but /propose has no absent refusal at all since an unused change id is ADMITTED, so the assertable pair is concealed against not-yours and the residue - that being refused says the change id is taken - is stated in the amendment instead of being claimed away. The disclosure stops overclaiming: it said nothing has left this machine yet while a SIGNED posture read had already gone and a test welded that sentence, so it now names what went and what it told the forge. And burn stops calling a proposal a push, which is the rule disclosure.rs states two files away, with is_disclosure and the tier token both untouched and a test asserting the prose moved where the token did not (#1746)
db0f3142 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - a rotated owner now reads their own repo on the sync surface: AccessClass::of asks, after the byte compare and the membership arm, whether the reader is a live key on the account that holds the repo owner pubkey, which is the require_pusher rule asked as a read, so a key that may push to a namespace reads it too. the owner is resolved through the account rather than given a repo_member row, because the forge creates repos on push and may not write that table, a row could be removed from the access panel, and it would put the owner in the member list; ADR 0077 records the choice, the residual that a retired namespace key still reads through the byte compare, and the pins that moved. the byte compare still comes first, so an accountless owner still reads as a member with no store read. the sibling cells of the model.rs matrix flip to Member, a new model.rs case covers the rotation with no membership row, a server.rs case asserts every signer require_pusher admits reads as Member, and member_class.rs now plants the owner pubkey as a retired key of its account and asserts the successor reads Member while a retired key of that account and the same key on another repo read Anon. each went red against the old predicate, and dropping the tenant check, the retirement check or the owner-first order, or comparing the two accounts as options, turned them red. the workspace suite is green bare, and the loot-forge suite is green against a throwaway cluster with the CI env block (#1744)
dd139483 ·diffdbf3dbe6… - withdraw and its close can no longer be separated by another writer: close_proposal takes the row its caller read and closes only if that is still the row on file, compared as a whole row, answering false otherwise, and withdraw reads again and decides again when it does, as admit has since 1747, so an author whose tip a carrier moved in between meets the author check against the moved row. the reference store compares under its lock and the postgres driver reads the whole row with FOR UPDATE in the transaction that already read its state; no migration. a conformance case holds a carrier amendment between the read and the close, and it went red on the old code on both stores (0 passed, 2 failed) with the withdrawal closing a row whose tip another key wrote; a second pins the compare on both stores, and a postgres case holds the row from another session inside the call and went red with FOR UPDATE removed. ignoring the answer in withdraw, or removing either store compare, also turned cases red. binding_census now opens a fn item only outside another fn body, found by counting braces outside the string and char literals and comments it recognises, and fails a file whose count does not close; a planted pg/planted.rs method holding a nested fn before unbound SQL went red under the new census (2 passed, 1 failed) and stayed green under the old one (1 passed, 0 failed), and a fixture case with unbalanced braces in literals went red on the old census and on the new one with its string or char handling removed. the visibility fixture now covers pub(super), pub(self), pub(in path) and private methods, the stale upsert prose and the statement count in pg/meta.rs are fixed, the misplaced memory.rs comment moves to its arm, CONTEXT.md points at the matrix doc instead of a column count and adds the 1955 caveat, the evidence entry calls the 1956 mechanism suspected, the rewrap leftovers in model.rs, ADR 0078 and conformance.rs are fixed, and ADR 0075 and CONTEXT.md record the withdraw follow-up. the loot-forge suite is green against a throwaway cluster with the CI env block and bare, and the rest of the workspace is green bare (#1959)
e3d4cd50 ·diffdbf3dbe6… - a read of a proposal no longer answers with the offering refusal when its tip has stopped reaching the landed history: propose::read runs the same walk as stack_of but reports a failed walk beside the row as propose::Underivable, which names the tip and what the walk found and no key, while admit and stack_of still return ForgeError::Unrooted at WARN with the presenter. the read-back in handle_propose answers an underivable stack as a 400 at INFO instead of Unrooted at WARN, so the status is unchanged and only the body and the log level move on that path; no client parses that body. a new case moves the head set under an admitted proposal, asserts the offering refusal unchanged as the control and the read as a fact about the row, and went red on the old read (0 passed, 1 failed), and again with the offering refusal weakened or the read rendered as Unrooted. ADR 0075 and CONTEXT.md record it. the loot-forge suite is green against a throwaway cluster with the CI env block, and the rest of the workspace is green bare (#1748)
3bd8f756 ·diffdbf3dbe6… - a retired namespace key no longer reads its own repo on the sync surface: AccessClass::of still asks about the owner pubkey first, and now asks account_of about it once, answering no row or a live row Member and a retired row Anon, which is the require_pusher answer for the same key, so a leaked retired namespace key stops pulling the Internal tier. the owner arm gives up its zero-read property, and ADR 0077 decision 3 is amended with the cost, one account_of read on every sync read the owner pubkey signs, accountless owners included, as the correction on the ticket restated the done bar, and with why no per-request cache is needed. new model.rs tests pin the retired namespace key reading Anon and, through a counting store, the reads each branch costs, where the owner pubkey cells moved from none to one and the accountless owner asks account_of once, about itself; a new server.rs test asserts that over the #927 cast every signer the read rule admits as owner may push; member_class.rs now asserts the retired namespace key reads Anon against Postgres, with a live namespace key on a new repo as the owner control. before the change the in-memory selection went red (17 passed, 3 failed) and member_class against a throwaway cluster went red (2 passed, 1 failed), and so did the arm with retirement ignored (18 passed, 2 failed; 2 passed, 1 failed), with a missing row read as Anon (14 passed, 6 failed; 2 passed, 1 failed) and with a second owner read (19 passed, 1 failed). the serve.rs cost double now delegates account_of, CONTEXT.md and store.rs state the rule, the workspace suite is green, and the loot-forge suite is green against a throwaway cluster with the CI env block and LOOT_FORGE_TEST_REQUIRE_DATABASE (#1955)
1ef40df6 ·diffdbf3dbe6… - a retired key no longer burns what it introduced on the forge: purge::honor_burn now asks account_of about the burner and applies the require_pusher rule with the introducer as owner, so a key with no account row burns by the byte compare as before, a live key burns as the introducer or as a key of the account that holds the introducer, and a retired key is refused, as the new RetiredKey verdict where the live rule would admit it and as NotEntitled otherwise. same_live_account becomes same_account and no longer asks liveness. the maroon arm still asks no retirement, since it is the only way to revoke a forge grant and has no account lane, and the relay and peer policies read no account tier, so none of them moves. a new server.rs test asserts that the burn verdict agrees with require_pusher over the #927 cast plus a retired stranger, and member_class.rs runs the rule against real account_key rows. before the change the in-memory reproduction went red (11 passed, 1 failed) and member_class against a throwaway cluster went red (3 passed, 1 failed). over the purge tests and the server.rs agreement tests the pins went red with the retirement check removed (13 passed, 4 failed), with the introducer compare answering first (14 passed, 3 failed), with an accountless burner refused (15 passed, 2 failed), with retirement asked before entitlement (15 passed, 2 failed) and with the tenant equality dropped (14 passed, 3 failed), and member_class went red under the first three (3 passed, 1 failed each). ADR 0038 and ADR 0077 are amended, CONTEXT.md, store.rs and server.rs name honor_burn, and the Rotate card on the account page no longer says burning is not covered and names the maroon limit instead. the site gate is green, the workspace suite is green, and the loot-forge suite is green against a throwaway cluster with the CI env block and LOOT_FORGE_TEST_REQUIRE_DATABASE (#2004)
e6641d95 ·diffdbf3dbe6… - a retired namespace key no longer learns that a metadata-private repo holds a proposal: propose::visible_to decided ownership with a byte compare against repo.owner, the shape #1955 took out of AccessClass::of, so the withdraw route, which asks that gate before the author check, refused a retired namespace key as not the author with a 403 where a key that is no party to the offer is told no such proposal with a 404, and the difference between two refusals discloses the fact metadata_public governs. the gate takes AccessClass::may_read_metadata whole now and compares no pubkey of its own, so the two read gates in loot-forge ask ownership in one place, and the answer is a live or accountless namespace key, a live key of the account that holds the namespace (#1744) and not a retired key (#1955); the two standing readers, the tip author and the presenting proposer, are unmoved and still need no account. taking the class whole widens the gate to a live key of a member account, deliberately and pinned: may_read_metadata is the same axis, a member already pulls every message, tree and author in ref_head, and no content moves, where an account holder with no membership row on this repo still sees nothing. the other half the ticket named, a rotated owner treated as a stranger, is latent, as the correction on the ticket established: no route reads or lists proposals, propose::read runs in production only for the presenter, propose::list has no production caller, and on withdraw the successor key only got a different refusal. the class is resolved once per read, per listing and per withdraw attempt, outside the listing row loop and only for a row that exists, and a party to the offer pays it too. red first, on the unchanged predicate: the three new propose.rs cases went red over that selection (24 passed, 3 failed), the read arm handing a retired namespace key the whole proposal view where a stranger reads none and the withdraw arm answering 403 against 404. with the old byte compare put back as the class answer the four in-memory cases go red (400 passed, 4 failed) and the new member_class.rs case against a throwaway cluster goes red (4 passed, 1 failed); with the class dropped so the flag answers alone nine go red, the write-gate and one-sentence pins among them (395 passed, 9 failed; 4 passed, 1 failed). ADR 0075 and ADR 0077 carry the #2002 amendment, CONTEXT.md names the class, the cost and the widening, and AccessClass::of stops claiming every caller reaches it through serve::Reader::new. one flake was found on the way and fixed: pg::tests the_migration_lock_is_one_lock_for_the_whole_cluster probed the advisory key once after dropping its own hold, and hold blocks, so a queued harness takes the lock as it comes back, which was red on both runs of a loaded workspace suite against a cluster and green on three runs of the lib suite alone; the probe waits for the release now, bounded, and still fails on a leaked lock (0 passed, 1 failed after the whole wait, run alone). no migration, and the forge binary changes, so this owes a forge deploy. the forge suite is green against a throwaway cluster with the CI env block and LOOT_FORGE_TEST_REQUIRE_DATABASE (474 passed over nine binaries, no skip note), and the workspace suite is green against the same cluster (3838 passed) (#2002)
eed4d01c ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - the owner can finally see what was offered to them, and a read request had to stop being a withdrawal in disguise: propose::list had no caller outside its own tests and propose::read only handle_propose_withdraw, so ADR 0075's store half was built and unreachable and an owner could see nothing. /propose/read and /propose/list join the contribution family with loot propose --show and --list on the CLI side, flags rather than a verb because a new verb trips seven censuses here and a flag does not. the finding the ticket did not anticipate is that a read naming repo and change id would have encoded BYTE-IDENTICALLY to a withdrawal, and the route lives in the URL rather than in the bytes the envelope signs, so a captured read envelope from the tip's author - the one party withdraw admits - could have been re-posted to /propose/withdraw and ended their own offer, a non-destructive act becoming a destructive one with no forgery at all. every new payload in this family now leads with an act tag and the replay is run in both directions rather than argued. the reads dispatch before run and touch ProposeTransport nowhere, because that seam exists to make the propose-time ordering assertable and a read has no ordering to assert, and --show resolves its handle before the remote and before the key so a mistyped id is answered by the refusal for the thing mistyped. terminal rows are listed rather than filtered at the last hop, an empty list says visible to you rather than claiming the repo has none, and an underivable tip is rendered beside its row rather than as a refusal. the propose-time disclosure gains the presenting key, which ADR 0075's #2162 amendment decided is world-visible on a metadata-public repo and which the old sentence omitted while naming the author. two enums share one vocabulary by WORD rather than by numbering, pinned total and injective, because loot-forge depends on loot-net and never the reverse. three censuses refused and each was right: the dispatch table lost a row to a multi-line verb declaration, a source-walk anchor spelling [Route; 16] went stale and is now count-free per the rule its own header already states, and the selector census demanded --show declare its kind, which is evolog's - one proposal by construction, borrowing evolog's resolver rather than growing a fourth. red under mutation, counts read each time: the act tag dropped (118 passed and 1 failed), the handler telling concealed from absent (422 passed and 1 failed), the list filtering terminal rows (422 passed and 1 failed) and the disclosure reverted to naming only the author (11 passed and 1 failed), each restored to 119, 423, 423 and 12. no migration and FORMAT_MAJOR does not move, but two routes are new, so an old forge 404s them and this owes a forge deploy before the flags answer against the live host. the workspace suite is green (4156 passed over 132 binaries, 8 ignored) (#2174)
09b5ad09 ·diffdbf3dbe6… - landed becomes a state something actually writes, and the walk that decides it had to see the push's own changes: ADR 0075 declares three terminal proposal states and until now close_proposal's only non-test caller was propose::withdraw, so landed - the one that is nobody's act, the work being in ref_head - was unreachable and a row read open over work the repo had already taken. ingest now closes the proposals its declared head set lands, decided OUTSIDE the transaction because IngestTxn is assembled and validated outside so the transaction stays pure writes after the CAS, and that same CAS is what makes the decision sound rather than racy: generation_expected pins exactly the head set the walk assumed, so an interleaved push fails the swap and takes the closes down with it. the ticket and ADR 0092's predecessor both said this needed nothing new because walk already reports an empty extent for a landed tip, and that is true of the STORED graph and the stored graph is the wrong one: a maintainer lands a proposal by MERGING it, so the change making the tip an ancestor of the new head set rides in this bundle and is not in the store yet, and walking stored edges alone closes nothing on exactly the push this exists for. the walk overlays the prepared changes' parent edges and is red without that overlay. only open rows are candidates and the store applies the decided row only over an open one, so a proposal that went terminal between the decision and the commit keeps its own declaration and its own date - a push cannot overwrite a withdrawal it never saw, asserted in the conformance suite against both stores rather than in one. a repo with no open proposal reads its proposal rows and stops without fetching the graph at all, which is every push to every repo never proposed to. red under mutation, counts read each time: the prepared overlay dropped, so the merge in this bundle lands nothing (421 passed and 1 failed, restored to 422). the SQL is new so it was run rather than read: bash ci/local.sh against a throwaway Postgres, where pg::tests::an_ingest_closes_the_proposals_it_declares_landed passes beside its memory twin and 166 pg tests ran, so the UPDATE was parsed by a real server rather than only by a text test. no migration, no wire or format byte moves, and the forge behaviour moves, so this rides the next deploy (#2177)
fb7c63c8 ·diffdbf3dbe6… - a withdrawal binds the tip it was written for, and the format minor deliberately does NOT move: a withdrawal names a proposal by its durable change id, which is stable across revisions on purpose, so a captured envelope replayed after a REVISED re-proposal ended an offer its author never withdrew - and the author is the only party withdraw admits, so the captured envelope is exactly the one that works. the signed bytes now carry the tip, compared inside the retry loop against the row that round actually read rather than once outside it, which is the same window #1959 closed for the author check. the replay is run end to end: the author withdraws at one tip, revises and offers again, and the byte-identical envelope is refused with the proposal left open, while a withdrawal naming the version actually on file still works, so the refusal is the binding and not a wall. ⚠⚠ the ticket instructed a FORMAT_MINOR bump and following it would have been a mistake, which is the finding worth more than the field: the marker's minor is ONE GLOBAL CONSTANT stamped onto every artifact rather than a per-payload version, and persist_codec's is_canonical compares a persisted store against the major and minor pair to decide whether the graph file must be REWRITTEN, so bumping it to announce one optional field on one wire message would force a rewrite of every local store on every machine. every read_version caller discards the minor, so the bump buys no reader anything the trailer's presence does not already give, and a test pins both constants unmoved with that reasoning beside it. the same plan sits on #2159 for its kinds trailer and is flagged there rather than left. an older client sends no tip and is accepted unbound, exactly as safe as before the field existed and no less, since an attacker cannot cause that shape and can only replay one already signed - so the exposure shrinks to withdrawals old clients signed rather than widening. both interop directions are pinned: an old payload decodes here reporting no binding rather than inventing one, and a new payload is byte-identical to an old one up to the trailer, which is what every deployed forge reads. red under mutation, counts read each time: the tip comparison made unreachable so the replay succeeds (430 passed and 1 failed, restored to 431). ⚠ three rounds of missed call sites, each invisible to the scope before it - a package lib run compiles neither integration tests nor other packages, and only the full suite answered. no migration, FORMAT_MAJOR and FORMAT_MINOR both unmoved, and the forge behaviour moves, so this rides the next deploy. the workspace suite is green (4169 passed over 132 binaries) (#2180)
7f2cbeca ·diffdbf3dbe6… - the sentence written to replace a deleted list names the definer instead of counting, and the fix-up is read back under the rule it enforces: ADR 0073 said the gated work counters were the object pair and a further one at each amendment since, which is false because the #1903 amendment added none, so the clause now names measure::WORK_COUNTERS and stops. every other count beside a set that can grow is replaced by what decides membership rather than by a corrected number - the first nine and the six artifact counters and the other three Work variants in gate::COUNTERS become every row WORK_COUNTERS does not name, the Tally Display doc shows one label=value per Work::ALL entry and an ellipsis instead of hand-listing the labels, the deposit lane counts point at kind.widens, and the landed proposal state points at store::ProposalState. THE SWEEP MISSED THREE COPIES OF ITS OWN ITEMS and they are corrected here too, because a corrected claim left standing in a second copy is how #1903 shipped one stale: the three lanes sentence in loot-core custody and again in its test, and the ADR 0075 three terminal states sentence duplicated in a forge server test. two code fixes ride along: #2174 landed the wire_state doc inside the propose withdraw doc comment, so the may_propose rationale documented the wrong function and the route documented nothing, and the stale-tip refusal was broken across source lines with no continuation, so an operator read the indentation of the source in the middle of the message. ONE ITEM IS CORRECTED RATHER THAN FOLLOWED: the ticket reads that literal as carrying a newline, and on the tree it is a single line carrying two runs of collapsed indentation, so the rendering defect is real and its shape is runs of spaces rather than a break. red under mutation, counts read each time: the continuations removed so the break rides in the string again failed the strengthened pin (0 passed and 1 failed, the panic printing the refusal across three lines), restored to 1 passed. the CONTEXT rewrap is a pure reflow, identical byte count and identical word stream, so the generated membership sentence and its pin are untouched. no migration, no wire or format byte moves and no host behaviour moves, so this owes no deploy. the workspace suite is green (4174 passed, 0 failed, 8 ignored) (#2234)
f7721acb ·diffdbf3dbe6… - the forge keeps the attestations a push carries and serves them back with their change, where until now it kept none: ingest never read the bundle attestation lane and every bundle serve built carried an empty one, so a tag, a note or a sign-off pushed to a forge was gone and the push said nothing, while a relay was never affected because its store is a DagRepo. the rules are the engine own two and none is new: an /ingest keeps an attestation that verifies and whose change rides the same bundle and drops the rest without failing the push, and a pull serves one only with its change in the bundle being sent, so a caller already holding a change is not re-sent its attestations and a metadata-private repo needs no new rule. /stow keeps none, because it is also a proposer path and a stranger attestation must not write into the owner repo. migration 0019 adds the attestation table, repo-scoped, keyed on the engine dedupe triple so a re-push is a no-op and the first signature stands, with row security enabled and bound by the 0017 policy, and it joins the rls census, whose doc still said eight tables with ten listed and whose shipped-policy check named migrations by index - it now reads every migration from 0017 on. the driver sorts role COLLATE C, because the reference store orders by bytes and a text column otherwise sorts by the cluster collation. a bundle that sends changes pays one more batched read, so the two offer-cost pins move from 4 to 5 and a no-op pull still asks nothing. a late attestation on an already-pushed change still does not travel - that is #2251, in the engine and on every host - and a pin refuses the forge keeping one outside the bundle so that widening is done on purpose. red under mutation, counts read each time: keeping unverified attestations (0 passed and 1 failed), keeping them outside the bundle (0 passed and 1 failed), serving none (0 passed and 1 failed), a read that ignores the ask and a last-signature-wins upsert (1 passed and 1 failed each, the pg stamp skipping off-cluster), each restored to 1 and 2 passed; and on a throwaway Postgres 18 the COLLATE dropped failed the ordering case (0 passed and 1 failed) where the unmutated arm had passed, restored byte for byte. bash ci/local.sh is green against Postgres 18 (4200 passed over 134 binaries, 9 ignored), after one unrelated loot-cli flake on its first run, filed as #2258. migration 0019 rides the forge binary and nothing on the wire or in a format moves, so this owes a forge deploy (#2250)
97ace3ec ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - loot runners lists the runner rows a forge holds for this repo, part 2 of 2 of this ticket: name, key, the step kinds each may claim, live or retired, and when the forge last heard from it, owner-only because it is the owner configuration, retired rows included because who was allowed to run a version is what an audit asks. last seen needed a column, migration 0021 runner.last_seen_at, written by the runner door on every admitted request and throttled in its WHERE clause to one write per runner per 60 seconds, so a runner polling every second costs one write a minute; a registration never sets or clears it, so a runner registered and not started reads never seen, and deriving it from job rows was rejected because an idle runner finding no work leaves none. the first spelling of that throttle, last_seen_at <= $3 - $4, failed on Postgres 18 at the first touch, which would have made every runner request a 500 on the live forge while every in-memory test passed; the edge is computed in Rust now, and landed part 1 never wrote the column. the shape is born frozen under ADR 0023: porcelain pubkey state capabilities last_seen and the name last because it may hold a space, JSON with contract, remote and one object per runner, absent times as null, both from one value and pinned byte for byte. the verb census cost, counted: MACHINE_OUTPUT gains runners, the README block and its sentence move to 85 verbs, verb lines 133 to 134 at three main.rs sites and one ADR 0066 claim, dispatched verbs 84 to 85, dispatch table 83 to 84, machine output 32 to 33 with its named list, and two ADR 0066 lines that are dated records were left alone as the census skips them; the site verb list gains runners and its gate is green. the verb runs end to end through the spawned binary against a real forge. red under mutation, counts read each time: the touch unthrottled (1 passed and 1 failed), the door never touching (0 passed and 1 failed), the name not last (0 and 1), an absent time spelled as a dash in JSON (0 and 1), and a registration allowed to set last seen (1 and 1) once its pin moved into the store, where the defence lives, after a first attempt at the route proved unobservable; on Postgres 18 the throttle removed from the SQL went red at 0 passed and 1 failed after a green unmutated arm, each restored green. bash ci/local.sh is green against Postgres 18 (4258 passed over 136 binaries, 10 ignored). migration 0021 rides the forge binary, so the forge owes a deploy (#2158)
6dd6ae69 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - the review-sweep fix-up over #2303, #2159 and #2172. the wake-up sender: its client is built with no_proxy, so a proxy named in the environment is not used, pinned in a test binary of its own that sets the proxy variables and sees the request reach the pinned address and not the proxy; refused_wake_address now refuses every address that is not globally routable unicast, an ipv6 address carrying an ipv4 one (mapped, compatible, nat64 64:ff9b::/96, 6to4) judged by the one it carries, so 64:ff9b::a9fe:a9fe is refused, with the refused blocks copied from the iana special-purpose registries at the code and a table of example addresses pinning the rule; name resolution runs on a thread waited on for at most WAKE_TIMEOUT_SECS with the request given what is left, and the wake-ups in flight are bounded by MAX_WAKES_IN_FLIGHT, a resolver that outlives its wait keeping its place until it returns. the ingest kinds trailer is now a byte per head in head order, still absent when no head declares a kind, so each head is given jobs for its own kinds only and no job is made for a kind a head has no step of; the pre-2159 decoder still reads the new payload, the one-byte union shape was in no release, and neither format constant moves, pinned against the marker put_version writes rather than its digits. MetadataStore::ingest answers the jobs its commit wrote (store::Ingested) and a push wakes runners for those alone, so a triple a racing request filed first wakes nobody here; the proposal job half answers no error once the proposal is committed and logs instead. the job_cost no-kind pin now states the property, that the job half calls the store for nothing when nothing is declared, instead of a list of methods. the seek busy marker: one that does not parse is believed until its mtime is past the window, so the instant between its creation and its clock no longer admits two holders, and a marker that cannot be created for a reason other than one standing there is retried and then refused naming the state rather than counted as held; the held-marker comment is scoped to a round that claimed it. the census wire half plants each oracle into every payload sent builds and asks each payload for moving bytes, calls the now-public verbs::sync::forge_declaration instead of a copy, records that the fixture declares no kinds, and records the measured flake rate of its minimum reading (200 runs: 40 of 1600 store builds and 15 of 1600 wire builds above the floor, none red). false sentences fixed: jobs.rs says what a false proposal declaration costs the owner and what the trust floor does and does not stop, ADR 0091 section 7 and its 2159 amendment are corrected with a 2307 amendment and the reads-not-writes scope of the job cost measurement, ADR 0090 and ADR 0004 gain corrections, CONTEXT.md names the per-head trailer, the census module doc states the property instead of naming places, and an in_progress rewrap leftover is rewrapped. red under mutation, counts read each time, each restored to green: no_proxy dropped (0 passed and 1 failed), the 2159 refusal rule restored (2 and 2), embedded forms unrecognised (3 and 1), 6to4 unrecognised (3 and 1), the resolver thread not holding its place (0 and 1), the ceiling ignored (0 and 1), the resolve wait unbounded (0 and 1), the trailer encoding the union (25 and 2), the forge unioning kinds across heads (1 and 3), the memory ingest answering every handed job (4 and 2), the push waking for planned jobs (5 and 1), the proposal refusing after a failed job write (3 and 2), the job half reading with nothing declared (3 and 1), an unparseable marker read as idle (1 and 1), a failed create counted as held (1 and 1), the census reading the bundle alone (9 and 4), every payload a copy of the bundle (10 and 3), the ingest payload emptied (11 and 2). no migration, no format byte and no published wording moves; the forge binary changes, so the sender and per-head jobs are live once the forge is redeployed. the workspace suite is green (4360 passed over 138 binaries, 12 ignored), and green under bash ci/local.sh against Postgres 18 (#2307)
665b3cec ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - the browser SDK budget refusal prints how long the wait lasted beside the limit, as the native refusal has since #2079, and names it as read off the page clock: the wait runs from the moment its timer was armed, the whole request for the answer and the time since the last bytes for a silence mid-answer, so a frozen or throttled tab shows as a wait well past the limit. budgetRanOut and transport_text_from point at each other. a forge loot-forge serves writes the received and answered lines a relay writes under LOOT_NET_TIMING=1, opening loot-net: forge, through loot_net::timing_layer, which the relay now attaches through too; with the flag unset serve_until passes no sink and the forge serves the router app builds with no layer added. pinned by a stalling loopback peer across a blocked page loop and across a silence after a streamed answer, and by a forge with a timing sink. red first (7 passed and 2 failed). red under mutation, counts read each time, each restored to green: the wait printed as the limit (8 and 1), the wait timed from the first arm (8 and 1), the clock label dropped (7 and 2), the forge passing no sink (0 and 1), the forge named relay (0 and 1), the arrival line naming relay whatever the server (0 and 1), the layer ignoring its sink (0 and 1 on the forge, 2 and 1 on the relay). CONTEXT.md and workflow.md record it. no migration, no format byte and no wire byte moves; the SDK refusal text changes and the forge writes lines only under a flag the scripts repo never sets, so this owes no deploy. the workspace suite is green (4398 passed over 139 binaries, 13 ignored), the sdk suite 141 passed over 13 files, tsc clean (#2313)
1b9a9597 ·diffdbf3dbe6… - the review-sweep fix-up over #2308, #2310, #2311, #2312 and #2313. the lock note beside a failed test is said only on a Windows land: loot-hygiene failed_tests now takes whether the run was on Windows, since os error 5 and 32 are an I/O error and a broken pipe on macOS and Linux, and loot-first passes cfg!(windows); both answers are pinned on this host, red under mutation with counts read each time (recognised everywhere 2 passed and 1 failed, nowhere 0 and 3, loot-first passing false 1 and 4). the plain pre-land test finding now prints the re-run-first recovery the merged pass prints, for each gate row that runs programs and rides the merged pass, derived from the row and pinned whole (no triage 3 and 2, ignoring the merged pass or the row judgement 4 and 1 each, the order swapped 4 and 1). the timing line noun is a ServerKind enum whose relay and forge lines are pinned byte for byte (a misspelled noun 7 and 1), and the loot-s3 put refusal calls the idle duration the idle budget and keeps floor for the rate (the old word 18 and 1). tutorial.rs qualifies the #2311 halt as run on Windows and reasoned elsewhere, and a reap failure no longer prints could not run; ADR 0075 names the graph read by MetadataStore::repo_change_graph and its callers rather than a list that missed propose::admit; sync.rs states the store property the scoped forge offer rests on and what would break it, and its round-zero comments speak of the remote; land-change SKILL.md, workflow.md and ADR 0055 carry the re-run-first order and the Windows-only note. the (idle, uplink_floor) data clump in loot-s3 is left as it is. no migration, format byte or wire byte moves; the loot-first change is live once the primary release binaries are rebuilt. the workspace suite is green (4406 passed over 139 binaries, 13 ignored) (#2348)
77d9c94c ·diffdbf3dbe6… - a push now carries an attestation recorded over a change the remote already holds, so loot tag after loot push reaches a relay and a forge instead of being left behind under a success line: a local attestation ledger (.loot/attestation-ledger) records per remote what each push delivered and is read by a push and by no open or save, written by RepoStore::record_attestations_sent as a read-merge-write under the shared-store lock; the push sends the attestations over the held changes of the remote that the ledger has not recorded beside the send set and prints how many, the bundle builder keeps a late attestation only over a change inside the have closure of the recipient whoever handed it in, the forge /ingest keeps one over any change its repo holds through a new changes_held store read that costs no query when every attestation rides its change, and /info gains an additive late_attestations field so a forge that does not advertise it is sent none, has nothing recorded as sent, and the push warns how many it left behind. the land gate store_file_reads is 24 on its workload with no move, where a first cut that read the ledger on every open measured 26 and was refused; an open reads 20 store files, 21 with that cut. the #48 bound holds on the wire: a push carrying one late tag sent 256 B at a relay and 306 B at a forge over both 2 and 24 held tags. the ticket recipe, whose fresh clone lacked late-tag2 through the 0.4.24 binary, shows it through a lane build. red under mutation, counts read each time, each restored green: the open reading the ledger again (0 passed and 1 failed), the ledger write overwriting instead of merging (0 and 1), the ledger ignored (0 and 2), the late lane dropped (0 and 2), the privacy filter removed (1 and 1), the forge back to in-this-bundle (2 and 1, and end to end 1 and 1), the forge keeping any change (2 and 1), a relay push recording nothing (0 and 2), a push recording to a forge that does not keep them (1 and 1), the /info flag ignored (1 and 1). no format constant, codec byte or migration moves; the forge change is live once the forge is redeployed. the pull half is not built: a pull still carries an attestation only with a change it sends. the workspace suite is green under bash ci/local.sh against Postgres 18 (4425 passed over 139 binaries, 13 ignored; site live suites 7 files passed) (#2251)
414ba6b2 ·diffdbf3dbe6… - a proposal has a conversation on the forge, stored and written and read, and no CLI flag posts to it yet: migration 0022 adds proposal_comment, keyed under the proposal row so a thread outlives a decline and a re-proposal, holding the envelope its author signed and its body, both set to NULL by a withdrawal that leaves a tombstone saying author or owner, with CHECKs that refuse a withdrawn row holding either, row security bound by the 0017 policy and the rls census widened. POST /propose/comment, /propose/comment/edit and /propose/comment/withdraw are tagged acts over propose::comment, where the rules live: a signer must see the proposal and is otherwise told what an absent one is told; the owner class writes, the accountless namespace key included; anyone else needs a live account key, so a bare keypair or a retired key is refused; members, the proposer and the tip author write through a shut door, anyone else only through an open one; a comment binds the tip on file when it arrives; a path must be in that tree and a reply must name a comment on the proposal; the body is at most 16 KiB of UTF-8, refused and not cut; only the author edits, re-signing the same id, anchors unmoved and bound to the BLAKE3 of the envelope it replaces; the author or the owner class withdraws, and members and proposers do not moderate. the comment id is signed by its author, so the same envelope again is one comment and a withdrawn one is not re-posted back. the thread rides POST /propose/read as a trailer and loot propose --show prints each body only when its envelope verifies against the author and anchors beside it. the flags that post, edit and withdraw a comment, and the disclosure printed before posting, are not built, since ADR 0095 names no flags; ADR 0095 amended and CONTEXT.md updated. red with each piece undone, counts read each time, each restored green: a bare keypair admitted, the door not asked, visibility not asked (each 0 passed and 1 failed on the writer-set pin), a member moderating, the owner editing another comment (0 and 1 each), anchors free to move (0 and 1), a withdrawal that writes nothing (0 and 1), no cap, and the body cut to the cap instead of refused (0 and 1 each), no tip binding (0 and 1), an edit not bound to its prior (0 and 1), an edit past the writer rule (0 and 1), the read sending no thread and an unverified body printed (0 and 1 each); on a throwaway Postgres 18, a withdrawal that kept the words with the CHECKs dropped left the conformance case green (1 passed) and turned the pin that reads the whole row red (0 and 1). bash ci/local.sh is green against Postgres 18 (4476 passed over 139 binaries, 13 ignored). no format constant or codec byte moves; migration 0022 rides the forge binary, so this owes a forge deploy (#2331)
6af9b14f ·diffdbf3dbe6… - the web can read a proposal thread with exactly the audience of its proposal: migration 0023 adds forge_read_proposal_comment, forge_owner_proposal_comment and forge_member_proposal_comment, each granted to the role of its own family and each one inner join onto that family proposal view from 0020 on both halves of the proposal key, since one change can be proposed to more than one repo; they serve every comment column but the envelope, which no rendering surface verifies, so a withdrawn comment is its tombstone with no body. tests/proposal_read.rs now compares threads as well: for every reader class the thread the route serves against each view, tombstones, an edit, a path anchor and a reply included, with a vacuity guard, the key arm pinned as the only difference, a cleared gate answering no rows, every view read whole as its own role after a withdrawal through the store, a change proposed to a public and a private repo read with no repo filter, and an executable red that rebuilds the anonymous comment view onto the proposal base table; migrate.rs text guards pin one comment view per family, its grant, its reach, the whole-key join and no envelope. red with each piece undone, counts read each time, each restored green: the anonymous and owner views joined on change_id alone (1 passed and 6 failed), the owner view alone so (6 and 1, caught only by the unfiltered read), the member view reaching the anonymous proposal view (1 and 6, and 2 and 1 on the text guards), a withdrawal that keeps the body with its CHECK dropped (6 and 1), and the envelope served, a cross-family grant and a view without security_barrier (2 and 1 each on the text guards). the timeline and the Markdown renderer are not built: an attestation row carries no time and no reader role has a view of it, the decline reason is #2336, and no site surface renders a thread yet (#2165). ADR 0095 amended and CONTEXT.md updated; setup-forge checks reader views by prefix since scripts@1b2b9ed, so the member view needs no edit there. bash ci/local.sh is green against Postgres 18 (4482 passed over 139 binaries, 13 ignored). no format constant or codec byte moves; migration 0023 rides the forge binary, so this owes a forge deploy (#2332)
38e8b55a ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - a decline may carry a reason signed with it, kept on the proposal row and shown as the thread closing event: ProposalDeclination gains an optional reason as a trailer on its signed bytes, so a decline with none is the bytes #2176 signs and neither format constant moves, and a reason a carrier swaps or strips no longer verifies. migration 0024 adds proposal.decline_reason with a CHECK holding it to a declined row, never empty and at most COMMENT_BODY_MAX bytes, and replaces the three 0020 proposal views with the column appended, which a text guard holds equal to 0020 once the column is taken out. propose::decline refuses an empty or oversized reason whole and a repeated decline with other words, close_proposal writes the reason only with a decline, and a re-proposal clears it with closed_at. POST /propose/read carries the reason as a trailer after the thread continuation, absent from an older forge, which would drop a reason unread, so loot propose --decline <tip> --reason <text> asks the read first and refuses a reason such a forge would drop, then prints who can read it before signing; --show prints the decline under the thread with its reason caged through render sanitize. frozen before_2336 codecs pin old client against new forge and new client against old forge both ways, and tests/proposal_read.rs compares the column for each reader class with an executable red that blanks it in one view (1 class disagreeing). red with each piece undone, counts read each time, each restored green: the reason left out of the signed bytes (0 passed and 1 failed), the read trailer not decoded (0 and 1 on each of two pins), the route dropping the reason, the read serving none (0 and 1 each), no cap and an empty reason admitted (0 and 1 each), a repeated decline changing the reason (0 and 1), a re-proposal keeping it and a reason written with any terminal state in the memory store (1 and 1 each, the pg stamp of the case green without a database), the CLI signing for a forge that would drop it, the reason printed uncaged (0 and 1 each), --reason admitted beside no decline and no disclosure before signing (0 and 1 each), the migration cap moved and a view joined to another family gate (0 and 1 each). ADR 0095 amended, CONTEXT.md and the forge spec updated. bash ci/local.sh is green against Postgres 18 (4519 passed over 139 binaries, 13 ignored). migration 0024 rides the forge binary and the read and decline routes change, so this owes a forge deploy (#2336)
c8d5a6ea ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - review sweep 15 over the proposal conversation and the published tier: acting on one proposal decides its parties by account as seeing it does, so the withdrawal and decline gates ask propose::sees, the withdrawal author check and the re-proposal parties in admit ask speaks_for, and a rotated tip author whose original key is retired withdraws their proposal with the account live key on a metadata-private repo, where by key it was told the proposal did not exist, and on a public one, where it was told it did not author the tip; a rotated proposer offers a declined proposal again. the #2378 rotation pin now retires both original keys on a Rotated fixture that files the offer before the rotation. the comment-page EXPLAIN pin asks for Sort anywhere in the plan, where its line-start form could never see a nested Sort node. an unread seal answers not published in rows_of and with_sealed_publish_status, the direction that never overstates, where it fell back to the rule; show renders an unread object by address as sealed, so the listing carries the pin. propose.rs, ADR 0095 and CONTEXT.md state which gates are by account as a property, a read of or act on one proposal, and cite #2006 for list, CONTEXT.md scopes the #2352 tier sentence and points at #2381, and append_page refuses a comment repeated within one page. red with each piece undone, counts read each time, each restored green: the withdrawal seeing by key, the withdrawal author by key, admit parties by key (0 passed and 1 failed each), a retired key speaking for nobody (0 and 1 on the rotation pin), a misshapen page index on a throwaway Postgres 18, comment_id before created_at and created_at descending (0 and 1 each, 1 passed restored), the listing falling back to the rule (0 and 1), a repeat within one page taken (0 and 1); the rows_of fallback mutation stays green, since no verb reaches it. bash ci/local.sh is green against Postgres 18 (4530 passed over 139 binaries, 13 ignored). no format constant, codec byte or migration moves; the forge rules change, so this owes a forge deploy (#2382)
eceef7eb ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - review sweep 16 fix-up over #2382, #2353 and #2358: the test scratch helper hands every path out inside one directory named for the process and claimed once before its first path, so a sibling a fixture derives, the <path>-lanes/ a lane spawns in, is inside what the claim cleared and a reused pid no longer hands a later run the lane an earlier run left, which stacked() in propose.rs took from read_dir; a retired key that wrote a proposal tip is refused the withdrawal in live_account_in words, decided by the retirement rule ADR 0075 already applies to an offer and ADR 0095 to a comment withdrawal, and recorded as an ADR 0075 amendment, with the account live key still withdrawing; the rows_of unread-seal branch is pinned through loot diff --json, which the doc said no verb reached; with_sealed_publish_status refuses a change this position does not hold, sharing held_tree with tiers_as_sealed, where it answered every row unpublished; the speaks_for, sees, rows_of, with_sealed_publish_status and scratch guard docs, CONTEXT.md and ADR 0095 say what the code does, the by-account property scoped to the forge routes. red with each undone, counts read each time and restored: only the handed path cleared (2 passed and 1 failed in scratch_dirs), no retired-key refusal on withdraw (2 passed and 1 failed over the three rotation pins), the decline gate by key through visible_to (0 passed and 1 failed), the rule fallback back in rows_of (0 and 1), and the empty-tree default back in with_sealed_publish_status (0 and 1). bash ci/local.sh is green against Postgres 18, 4606 passed over 142 binaries with 13 ignored and the site live suites at 78 passed. no migration; the withdraw route refuses a retired key now, so this owes a forge deploy (#2386)
6621b15f ·diffdbf3dbe6… - the forge half of #2130: the owner files key-only sealed grants for a runner of the repo through POST /runners/deposit, behind require_pusher, and a runner reads one version through POST /jobs/fetch, behind its runner row. a deposit is a SealedGrant with an empty body, due now and without an expiry, sealed to a live runner of this repo; grant::parse_runner_deposit refuses the rest by name, every blob of a request is judged before any is filed, and a request carries at most 1024, which the client splits by. that makes migration 0026's refused at the door true, through this route rather than the store method it names. the fetch takes one version id, any the repo holds, and answers a Frame::Sync bundle with the version's change node whole and the ciphertext of each object inside the runner's path scope, not burned, that the runner can open by a deposit or a live published key, and the runner's grants for exactly the objects whose bytes ride; a scope narrows content and not names, since a node cut to it would not verify. loot_net::runners::in_scope is the one scope rule, an entry naming a file or a directory and never a bare prefix, and the add route's pipeline check asks it too. the store gains runner_deposits_for, one runner's deposits by object, on both backends. act tags 12 and 13, and an old forge's 404 names #2130. ADR 0091 records the routes and the two operator decisions, and CONTEXT.md the key-only deposit. red under seventeen named mutations, each restored, counts read each time: no body refusal and no expiry refusal (0 passed and 1 failed over the parser test), no future-reveal refusal (0 and 1 there, 13 passed and 1 failed over the route tests), and 13 and 1 over the route tests each for no grantee row check, a retired grantee admitted, each blob filed as it parsed, no require_pusher on the deposit, no batch cap, no scope filter, bytes riding without a key, and grants not narrowed to what rides, which first survived at 14 passed until the test gained a keyed file whose bytes are gone; the memory read ignoring the runner or unsorted (1 passed and 1 failed over the two stamps), the Postgres read ignoring the runner or ordered by blob alone (0 passed and 1 failed on a throwaway Postgres 18), and a scope entry matching a bare prefix and the old-forge sentence naming #2158 (10 passed and 1 failed over the runner codec tests). bash ci/local.sh is green against Postgres 18, 4653 passed over 143 binaries with 13 ignored and the site live suites at 78. no migration; new routes, so this owes a forge deploy (#2130)
fffb0cca ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - the forge deletes the bytes of a burned object: the serving process runs the burn delete job #482 section 5 designed and nothing built, purge::delete_burned_bytes, once at start and then every 60 s, deleting from the blob tier each burned address that the new burn_bytes_deleted table of migration 0029 holds no row for and recording each delete that succeeded, so the job deletes only for a tombstone it reads as committed, a failed delete stays owed and is tried again on the next run, a missing object counts as deleted, a tombstone the backup replay inserts is owed like any other, and the first run deletes the bytes of every burn already on file; the delete goes through the blob cache, so it also takes the local copy off the disk. the owed set is read off the tombstones rather than kept as a queue of its own. loot burn no longer prints destroyed on the forge now, which was untrue when printed: the forge line says the forge deletes its copy of the bytes when a signed purge reaches it on a sync. pinned in the conformance cases a_burn_owes_the_delete_of_its_bytes_until_one_is_recorded and the_burn_job_deletes_the_bytes_and_asks_again_for_a_failed_delete over memory and Postgres 18, the blob suite case the_burn_job_leaves_the_tier_no_bytes_of_a_burned_address over the memory tier and the cache (not run against an S3 bucket, its test environment unset), the_burn_job_takes_a_burned_copy_off_the_disk, a_serving_forge_deletes_the_bytes_a_burn_owes, an_honored_burn_has_its_bytes_deleted_and_a_refused_one_does_not, the pg test a_burn_owes_its_delete_only_once_it_commits, and the disclosure test a_forge_line_says_the_forge_deletes_the_bytes_when_the_purge_arrives, which went 1 failed and 14 passed over the disclosure tests before the new wording. red under named mutations, each restored, over the 12 selected job tests on Postgres 18: no job in the serving process (1 failed and 11 passed), a failed delete recorded as done (2 and 10), the run stopped at a failed delete (2 and 10), the Postgres owed read without its recorded-delete clause (2 and 10), the memory store recording a delete for an unburned address (1 and 11), the owed set read off object rows (10 and 2), a cache delete that keeps its copy (2 and 10). cargo test green, 4863 passed over 145 test result lines with 15 ignored, and the loot-forge suite green against a throwaway Postgres 18. CONTEXT.md, ADR 0038 and ADR 0046 say so, with what the backup retention window still holds. owes a forge deploy, migration 0029 first, and a scripts change to the forge-restore.js restore note (wosupkwz)
dcae12fa ·diffdbf3dbe6… - a push no longer fails past what the Postgres lock table holds, and the puts beside each other earn their deadline together: burned_under_lock took one advisory lock per published key of an ingest, and on a throwaway Postgres 18 at its defaults 13,000 such locks in one transaction were granted and 15,000 refused with out of shared memory, so a push of that many keys failed on every retry (live since uzkouqqx, on forge deploy.8); every address now maps onto one of pg::meta::BURN_LOCKS, 64, under a class of its own in the upper key bits, and record_burn takes the one its address maps to. each put of a stow or ingest earns its S3 deadline from the bytes of all the puts beside it, BlobStore::put_sharing over the new loot_s3 S3Client::put_sharing and handed on by the blob cache, where up to 64 puts shared the link with deadlines each earned by its own body. also built from xyqwqnnv: prepare owes the delete of a burned address it put back again, owe_burn_deletes, before its own delete, so a failed delete there no longer strands bytes the burn job had recorded deleted; the burn job warns once a run with a count, and the server log names a failed record as well as a failed read; the loot burn forge lines say the forge deletes its copy of the bytes when it honors the purge, and that the backups retain the rows naming the object rather than a copy; ADR 0046 section 2 no longer says forge-restore.js prints the re-delete as a step for the operator. the put_cost width is asserted from a hold the stand-in tier keeps until the bound is in flight, not from the clock, and the rounds assertion is gone; the CONTEXT.md Forge phase timing entry says the transaction writes the object rows again; the tree.ts collation comment is rewrapped. pinned: a_push_with_more_keys_than_the_lock_table_holds_commits over 25,600 keys on Postgres 18, each_put_earns_its_deadline_from_the_bytes_sharing_its_link, a_put_sharing_its_link_is_held_to_the_deadline_the_shared_bytes_earn, a_put_hands_the_tier_the_bytes_sharing_its_link, bytes_put_back_after_the_job_ran_are_owed_again over memory and Postgres, the conformance case a_recorded_burn_delete_can_be_owed_again, and a_run_warns_once_however_many_deletes_fail. red under named mutations, each restored: a lock per address (1 failed and 1 passed, out of shared memory), put_blobs calling put (1 and 24), the cache not handing sharing on (1 and 24), the S3 client ignoring sharing (1 and 19), half the put width (1 and 4), one past it (1 and 4), prepare not owing the delete again (2 and 2, over memory and Postgres), a Postgres owe that deletes nothing (2 and 2), a memory owe that removes nothing (2 and 2), a warning per failed address (1 and 15), and the old media copy wording (1 and 32). cargo test green, 4872 passed over 145 test result lines with 15 ignored, the loot-forge suite green against a throwaway Postgres 18 at 739 passed, and the site gate green at 915 passed. it also carries a comment on wosupkwz. owes a forge deploy and no migration; the burn line rides the next release (qptwwkqx)
7daffdfd ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - a grant deposit is now a type: loot_forge::grant::Deposit carries the blob it was parsed from, its fields are private to grant, parse_deposit verifies the blob before it builds one and the test constructor is compiled only under cfg(test), and Forge::deposit_grant takes the Deposit and no second blob, where the fields were public and the blob a separate argument, so a route could file a blob nobody verified and the peek would count it by the signer it names; migration 0030 is held to ENVELOPE_HEADER, ENVELOPE_VERSION and an envelope wrap writes by a test reading its text, which a land runs, where only a live Postgres case held it; ADR 0057 records that 0030 relies on its length test being evaluated before get_byte inside an AND, which Postgres does not order, and that a later migration touching the column should nest a CASE, and the signer conformance case now files an empty blob, which Postgres 18 files with a NULL signer; the draft refusal names a slot another command moved to what this one would write as having done so, where it named it as a move like any other. pinned by compile_fail examples beside a positive control, the migration text test, and draft label tests in loot-cli: red under named mutations, each restored, failed and passed: the fields public (1 and 2 of the doc tests), the test constructor public (1 and 2), a serving path calling the test constructor (the lib build fails), the header constant at 98, the version at 2, the substring offset at 3 and the version byte offset at 1 (1 and 0 each), the working change never matched (2 and 1), the draft check matching against what it read (1 and 2), the pending handle always matched (3 and 0). also names the trait as what defines the mailbox reads in inbox.rs and rejoins rewrap leftovers in mailbox.rs, inbox.rs and ADR 0057. cargo test green, 4946 passed over 145 test result lines with 15 ignored, with the forge suite live on a throwaway Postgres 18. owes no deploy (xwwrskls)
b7f03ea6 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - a forge push asks the forge about the addresses its changes name that this position does not hold, beside its offer, and refuses before any /stow, naming them, when the forge lacks one (DagRepo::offered_and_unheld), where such an address ended the stowed change lane and the rest of the history rode one /ingest past the body cap; an object whose first change another author wrote rides a /stow batch of its own beside that change, so the forge files that author as its introducer, who may burn it, where every object rode a change-less batch and was filed as the pusher; the forge /stow report carries its deferred count and the push stops before /ingest on a batch that defers more changes than it was built to (StowBatches::defers); an attestation over a stowed change rides the declaration as a late one, so a forge that keeps one only with its change is not sent it and the push counts it left behind; the forge push takes its membership from the offer, so a push of one change walks no wants index, and a delta of one change is not measured for batching; the perf gate negotiation workload builds the forge push of its tip, so that work is in the gated counters, object_gets 743 to 793 and graph_sorts 8 to 11 on the dry run; docs say the declaration is bounded in its change lane alone and carries the purge lane again, and the b4dbf2d note says CatchUpBlockers::is_empty asks CaptureRefusals::is_empty. read through a proxy refusing a body past a 128 KiB cap: a history naming a lost object sent /wants and nothing after it, and one naming a restricted object the forge holds went up in 16 /stow requests, the largest body 15775 B, where its /ingest had been refused with a 413. pinned: a_history_naming_a_lost_object_is_refused_before_any_stow, a_history_naming_a_restricted_object_the_forge_holds_still_batches, a_stow_batch_the_forge_defers_a_change_on_stops_the_push, an_address_this_position_cannot_send_is_named_beside_the_offer_and_cuts_no_lane, another_authors_objects_ride_beside_that_authors_change, a_one_change_forge_push_sorts_the_graph_once, a_push_of_another_authors_change_leaves_that_author_the_introducer, and the left-behind count in an_older_forge_is_not_recorded_as_keeping_an_attestation_over_a_stowed_change; red under named mutations, each restored: the cut put back (1 failed and 3 passed over the four engine pins, and 1 failed and 5 passed over the six sync pins, the restricted one on a 413), no refusal of a lacking address (1 and 5 over the sync pins), a refusal of any unheld address (1 and 5), the offer walk naming no unheld address (1 and 3, and 2 and 4), no attribution batches (1 and 3, and the forge pin failed on the introducer), attribution batches built to cause no deferral (1 and 3, and the forge pin failed), no deferral check (1 and 5), the forge reporting no deferred count (1 and 5), stowed changes not owed late (2 and 4), and the wants index walked again (1 and 3, graph_sorts 2). cargo test green, 4990 passed over 144 test result lines with 15 ignored. owes a forge deploy for the deferred count, which a forge without it leaves unchecked; the introducer fix is client side and owes none (opywoozo)
Perf-Baseline: reset the negotiation workload now builds the forge push a land makes, so its reads and sorts join the gated work counters (opywoozo)
9e4e77c8 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - the forge measures each account referenced footprint, derived when asked and kept nowhere, so the Rust service still writes no account tier table and tenant_blob keeps no producer by decision: MetadataStore::account_footprint joins account_key (retired keys included), repo, repo_object, object.bytes and burn_tombstone, counting each unburned address once per account however many of its repos name it, with the addresses whose length is not on file reported as unmeasured; migration 0033 adds object.bytes, the normalized blob length ingest now files with the row, and forge_reads_one_accounts_footprint, a FOR SELECT policy on repo and repo_object over loot.footprint_account, which Pg::with_account binds, so the forge role reads one account across its repos and writes nothing more; the binding census now reads every migration for the repo-bound tables, where it read 0017 alone and missed repo_object, and holds a method that binds an account to the tables 0033 admits. on a throwaway Postgres 18 with 1,031,000 objects, an account naming 32,000 addresses read in 70-91 ms. red under named mutations, each restored: on memory, burns ignored, no dedupe across repos, the retired key namespace dropped (each 1 failed and 2 passed), and ingest filing no length (1 failed); on Postgres as forge, the repo policy gone or the repo_object policy gone (each 2 failed and 1 passed), no burn filter, no DISTINCT, no account bind, and writes admitted (each 1 failed and 2 passed). CONTEXT.md, the schema comment on tenant_blob and ADRs 0103 and 0078 record the decision. ci/local.sh green, cargo test with the live suites 5026 passed over 146 test result lines with 15 ignored, and the site live suites 112 passed. owes a forge release and deploy, which applies migration 0033 (ymovmvqv)
d7ada9cb ·diffdbf3dbe6… - the forge operator can take a namespace down, the technical half of ADR 0061 section 4 that ADR 0103 decision 9 builds: loot-forge --take-down <owner> [--apply], run with the superuser url and refused as the service role by Pg::with_operator, in one transaction records the takedown in migration 0034 namespace_takedown, removes the namespace repos with every row their cascades take, evicts into evicted_object each address its trees named that no other repo tree names, deletes their published_key rows, and removes the versions and manifests no other repo holds; without --apply the same transaction rolls back. server::require_pusher refuses the namespace own keys by name after the write rule and before any byte is stored, and ensure_repo refuses again inside the write transaction. an evicted address reads as destroyed wherever a burned one does, so it is refused on any later push, served to nobody, and the burn delete job deletes its bytes and drops every grant naming it. ADR 0048 section 4 no longer holds for a forge, and ADRs 0048, 0061, 0103 and 0046 and CONTEXT.md say what it drops, what it cannot reach and the policy choices it made. red under named mutations, each restored: on memory, the request door gone or asked before the write rule, the store refusal gone, a shared address or version evicted, a listing applied, no key row deleted, manifests kept (each 1 failed and 16 passed), repos kept and an eviction owing no delete (each 3 failed and 14 passed), evicted not read as destroyed (4 failed and 13 passed); on Postgres 18, the store refusal gone, the takedown unread, a shared address or version evicted, the grant drop blind to evictions, the role check gone, a listing committed, no key row deleted (each 1 failed and 6 passed), an eviction owing no delete (3 failed and 4 passed), evicted not destroyed (4 failed and 3 passed). cargo test green, 5045 passed over 146 test result lines with 15 ignored; ci/local.sh green on Postgres 18 with the same counts and the site live suites 112 passed. owes a forge release and deploy, which applies migration 0034 (vutntmlm)
15463c8f ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - a push past the storage bound of a plan is admitted and starts a seven-day grace for the account, and once the grace is over the forge refuses it with a typed 402 the CLI renders, ADR 0103 decisions 7 and 8: plan::require_room runs inside ingest::prepare for /stow and /ingest, after the write rule admits the key and after the purges of the push are honored, so a burn frees space before the account is measured, and before any blob or row of the push is stored; no read route and not /wants asks it, and nothing is deleted. it compares the measured bytes of the referenced footprint of the account with the stored_bytes of the plan the site mirrors into account_plan, free without a row. migration 0039 adds plan_grace, keyed on the namespace whose push started the grace and written by the forge, outside the account tier, read for an account as the earliest start among the namespaces of its keys and ended by a push that finds the account under its bound; the forge role holds SELECT, INSERT and DELETE on it and UPDATE of object.bytes. a measuring job in the serving forge files the blob length of each object row that holds none, read from the bucket by HEAD a batch at a time, and until it does such an address counts nothing toward the bound. versions a /stow filed count toward the footprint, by decision. the refusal names the plan, its bound, the usage and the grace, and the CLI adds the /account page of the forge that refused and loot burn. the ADR 0103 amendment, CONTEXT.md Plan and Referenced footprint, store.rs and account_tier.rs say so; the collaborator and runner caps are left to a follow-up. red under named mutations, each restored: the grace boundary moved by a second (2 failed and 21 passed), the refusal removed (3 failed and 20 passed), the check moved before the burns (1 failed and 22 passed), a read route checked (1 failed and 22 passed), a grace never ended (2 failed and 21 passed), unmeasured addresses counted (1 failed and 22 passed), the refusal at 403 (3 failed and 20 passed), a filed length overwritten (1 failed and 22 passed), the CLI remedy removed (1 failed and 9 passed); on Postgres 18, forge granted UPDATE on plan_grace (1 failed), the grace delete removed (1 failed and 1 passed), the mirror ignored (2 failed) and a filed length overwritten (1 failed and 3 passed). cargo test green, 5093 passed over 146 test result lines with 15 ignored; ci/local.sh green on Postgres 18 with the site live suites at 128 passed. owes a forge release and deploy, which applies migration 0039 (oozvwvkm)
14ed9529 ·diffdbf3dbe6… - the push that crosses a plan storage bound starts the grace itself, ADR 0103 decision 8: ingest::prepare resolves the trees of a push before the plan question and asks plan::require_room with each address its resolved changes name and the length the push carries for it, and MetadataStore::account_footprint measures the account with those among its own, an address with a row at its length on file, so an unmeasured one stays unmeasured, one without a row at the carried length, each once and none destroyed. a re-push of counted addresses adds nothing, and so does a change-less object batch, whose objects no tree names; until now the measure saw only what was filed before the request, so the grace began one request late. strict > against the bound, burns honored first, unmeasured addresses counting nothing and reads never checked are unchanged. a negative collaborators or runners limit in plan_limit is now a fault, not zero. prose: store.rs points at the callers of account_of instead of a closed list, the loot-net remedy comment points at the statuses its loop walks, plan.rs says hosted data, vite.config.ts and forge.ts name the tokens that carry the build, SITE_STATIC_KEEP_BUILDS and React error 418, trust.tsx and ADR 0103 rewraps, and the ADR says what UPDATE on object the forge role holds; the oozvwvkm amendment and CONTEXT.md Plan record the measure. red under named mutations, each restored: room asked with nothing added (2 failed and 5 passed), carried lengths not counted (2 failed and 5 passed, and the memory footprint 1 failed and 2 passed), a carried length over the one on file (1 failed and 2 passed); on Postgres 18, a carried length over the one on file (1 failed and 2 passed), carried lengths not counted (1 failed and 2 passed in each suite), a negative runners limit read as zero (1 failed and 2 passed). cargo test green, 5095 passed over 147 test result lines with 15 ignored; ci/local.sh green on Postgres 18 with the site live suites at 128 passed; site gate green at 1238 passed. owes a forge release and deploy (vkwlnmyo)
18d0d70d ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - adopt: catch up to landed main 18d0d70d
39be145c ·diffdbf3dbe6… - the plan bounds collaborators and runners at the act of adding one, ADR 0103 decision 8: the forge runner add reads the plan with plan::of_namespace and hands its runners to MetadataStore::register_runner, which counts the repo live runners and writes a new key only under the cap in one step, under a per-repo advisory lock on Postgres, and refuses with the storage bound typed 402 OverPlan, which the CLI renders with the forge /account page and not loot burn; the site membership add reads the plan through the identity tier (planOf, no row is free) and refuses an account past plan_limit.collaborators with a 402 offering the plan that admits one more, counting the repo roster without the owner account under a per-repo advisory lock. both caps count per repo, a reading made here where decision 6 does not say of what, recorded as such and not yet ruled on by the operator; a retired runner and the owner do not count, a cap neither refuses what is on file nor removes anything, and no migration was needed. the ADR 0103 amendment and CONTEXT.md Plan record it. red under named mutations, each restored: the memory store ignoring the cap (1 failed of the conformance case, 2 failed of the route tests), retired runners counted (1 failed), Postgres refusing a key on file (1 failed), no runner lock (1 failed), the add handing no cap (2 failed), the client rendering it as a push refusal (1 failed and 1 passed), the refusal without its no-pipelines wording (1 failed); on the site, the cap never asked (2 failed and 25 passed), the owner counted in code (2 failed and 38 passed, unit and live) and in SQL (1 failed and 12 passed live), no lock (1 failed and 39 passed), 422 for 402 (1 failed and 26 passed), a member on file refused (1 failed and 26 passed), a stranger repo answering the plan (1 failed and 26 passed). cargo test green, 5121 passed over 149 test result lines with 15 ignored; ci/local.sh green on Postgres 18 with the runner and plan_enforcement suites live and the site live suites at 138 passed; site gate green at 1263 passed, every surface under its ceiling. owes a forge release and deploy and a site deploy (pusvokmn)
a89165a5 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - a test is kept only for a bug whose damage outlives its detection (ADR 0105, docs/agents/testing.md): disclosure, durable bytes, signed history, silent-pass refusals and machine contracts keep their tests, everything else is trusted or fixed fast, and assertions are on outcomes, never prose. the implementer brief asks that question before a test is written and owes a mutation proof only for a must-test pin. the suite is cut to it in one pass, Rust test functions 4848 to 1665, site vitest cases 1307 to 258 and SDK cases 160 to 64, with the living docs and comments that named deleted tests corrected and ADRs, tickets and released migrations left as history. cargo test green at 1945 passed with 6 ignored, the site gate green at 240 passed, the SDK at 75 passed with its one known macOS path failure from before the cut (ruwknvpw)
61f0184b ·diffdbf3dbe6… - loot-forge, loot-net, loot-first, loot-perf, loot-relayd, loot-relay-contract, loot-s3 and loot-bench production comments cut by 70% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, wire contracts, security and safety reasoning kept; comment-only, Rust token streams identical, test modules untouched (yrkykmsn)
a94b3d35 ·diffdbf3dbe6… - site and sdk production comments cut by 71% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, security reasoning, browser quirks and directives kept; comment-only, the TypeScript AST without comments identical, built bundles unchanged but for the build stamp (yrkykmsn)
d8c01375 ·diffdbf3dbe6… - the plan page at /private/plan shows the account's plan, its referenced footprint against the bound with where it stands and the grace's end, every plan's limits per repo, and a Change plan link to Clerk's Account Portal; its numbers come from a new signed forge read, POST /plan, answering the signing key's account from plan::usage so no role gains a grant; the account menu links it; ADR 0103 amended, CONTEXT.md Plan amended; forge test pins the contract and the caller's own account, red under a mutated standing; site gate green, 70 B per budgeted page (xrqwmovz)
7441522a ·diffdbf3dbe6… - docs/agents/writing.md is the standard for comments and docs: a comment says only the why the code cannot, rg and loot log answer who-calls, which-members and when-changed better than a cached comment, and history, ticket numbers, rosters and emphasis are deleted on sight. AGENTS.md links it. CONTEXT.md, AGENTS.md, docs/agents, the skills, specs, READMEs, research and evidence are cut by about 65% to it, every cited heading, § number and test-pinned string kept; files the yrkykmsn ticket (yrkykmsn)
8e3c7b83 ·diffdbf3dbe6… - the ADRs are cut by 71% to the docs/agents/writing.md shape: Context, Decision and Consequences in about a page each, amendments folded into the decision they amend, function tours, test counts, sweeps and ticket archaeology removed; every title, Status section, cited § and numbered decision kept. ADR 0103 folds in the vmusyoxz, snmzospn and xrqwmovz amendments and restores the operator rulings of 3e1a10ce that the loot-core comment land reverted (yrkykmsn)
0fc947d9 ·diffdbf3dbe6… - pipeline logs reach key holders: a won claim names the live keys of the namespace account and every roster account (MetadataStore::log_readers, trailing the claim fields so both ends interoperate), the runner seals the tail once and grants its key to each in one runner-signed blob (loot_codec::log_tail, which still opens a single-envelope blob from before), the site mints a log URL only for a job the reader can see, and the run pane opens it with the new wasm openLogTail, refusing any envelope not signed by a runner of the repo; pinned by disclosure, signer, skew and live roster tests (zqmryyvr)
3602a6e0 ·diffdbf3dbe6… - approval to run is a repo setting with its own route: repo.members_approve (migration 0048, owner-signed POST /pipeline/approvers) lets members approve beside the owner (jobs::may_approve, shared by job creation and the route); POST /pipeline/approve keeps the signed pipeline/approve and in the same write admits that version waiting change jobs, then wakes runners, paying the late approval for this path; both acts are loot_codec::pipeline_act, signed in the browser through new wasm exports; the workbench gains Approve to run and the setting; pinned over the socket and live (lzmzworl)
f27a3059 ·diffdbf3dbe6… - the owner grants a proposer a proposal's logs until it closes: pipeline_log_grant (migration 0049) names the proposer when granted and the close that withdraws or declines deletes it, so a re-offer comes back ungranted; an owner-signed POST /pipeline/grant-logs answers the logs already written and the jobs running, a won claim of the proposal's change jobs names the grantee as a reader, and POST /pipeline/log serves a log blob to a key holder or a standing grantee and an absent-log answer to anyone else; loot propose --grant-logs opens each earlier log and deposits log_tail::regrant's key-only grant to the proposer's mailbox, opened with log_tail::open_with_key; the wasm pipelineLogGrant signs the CLI's bytes, pinned; proved over the socket, on memory and Postgres, and from the real binary, red-proved (qvllnoxp)
add7b246 ·diffdbf3dbe6… - the proposal read carries the tip's pipeline verdict: a trailer after the decline reason (loot_net::forge::ProposalVerdict, so an older client stops before it and an older forge's answer reads as none) holds each change role the tip's jobs or passes show, with the state the forge judges as it answers (a pass wins, a failed job without one is failed, anything else not yet verified with why), the unsealed step lines and the pass signers, and each signer's runner name and whether it is registered or retired or no runner; served to whoever visible_to admits; loot propose --show prints it, naming #2251 beside an absent pass; skew pinned both ways, proved over the socket, red-proved (yuozwuuw)
2cec2434 ·diffdbf3dbe6… - a pull never carries a proposal: every sync walk is seeded from the ref's declared heads, and loot propose --take <version> fetches one round's stack through /propose/take, gated by the proposal's audience, refusing a round the proposal moved past and folding the position onto it as a pull does; loot propose hands the repo owner the stack's Internal keys in their grant mailbox, so what they take opens, and its disclosure names the messages, authors and paths a take reads (zlllxtsx)
a8491692 ·diffdbf3dbe6… - the notification outbox: migration 0051's notification_event, one text-free row (repo, proposal, kind, actor key, time) written by the forge in the same transaction as every act that changes a proposal's state or thread — proposed, amended, reopened, withdrawn, declined, landed, commented, comment edited, comment withdrawn, and approved for a first review/approve over an open proposal's tip at the push's time — so a committed act always has its event and a failed or no-op one never does; close_proposal and withdraw_comment take the signing key and IngestTxn its time; row security binds it to one repo, forge only inserts and reads, a restore copies none; pinned by conformance on memory and Postgres, a writer census in pg::meta (an attestation writer other than the two pipeline ones arrives red), and the columns, CHECK and grants read from the catalogue; ADR 0097 §6 and CONTEXT (zqwpuruv)
cddcb6e8 ·diffdbf3dbe6… - my proposals across repos, the forge and CLI half: POST /proposals/mine at the forge's root answers the signing key's account, as /plan does, in JSON the forge app and the CLI read — every proposal it is party to by any of its keys (proposer, tip author, commenter) and every one on a repo it owns, each with its newest outbox event, newest activity first; migration 0052's forge_party_proposal view, bound by loot.party_account, since a cross-repo policy on repo would cycle through proposal's, lists candidates and propose::mine passes each through propose::sees, so the list never shows what the per-repo read conceals; loot propose --mine marks what moved since .loot/proposals-seen and clears it, the forge storing nothing about reading, and an offer says to check back with it; act 21; pinned live against Postgres as the forge role (a commenter who lost the repo, a retired owner key, a member not subscribed, an accountless key, the unbound view empty), in memory at the route, and in the CLI's rendering, the filter red-proved; ADR 0097 §1 and CONTEXT (zqumylvr)
e6f3dc86 ·diffdbf3dbe6… - whose move (ADR 0097 §9), one rule in two languages held to one set of cases: propose::whose_move in the forge and lib/proposals/whose-move.ts in the site both read site/src/lib/proposals/whose-move-cases.json — a failed role the reader counts as required is the proposer's move, an advisory one moves nothing, otherwise the last human act decides (a round or the proposer's comment leaves it with the owner, the owner's comment after both hands it back); migration 0053 adds each proposal's latest round time to forge_party_proposal from the outbox; /proposals/mine carries the facts, turn (judged as a reader without main's pipeline file) and the reader's own side, the reader's move first; loot propose --mine says your move or their move, counts what waits on you and names the failed roles; pinned live against Postgres, both copies red-proved by an advisory-counts mutant; ADR 0097 §9 and CONTEXT (rzyprxrz)
15304b1e ·diffdbf3dbe6… - the proposal read carries whose move's times: a trailer after the verdict on /propose/read (loot_net::forge::ProposalMoves — the latest round's time, each side's latest live comment) from propose::move_facts, the one derivation /proposals/mine now shares with it through propose::side_of, so a proposal's page judges whose move with the verdict's failed roles and agrees with the home; the round's time is the store's new proposal_round_at, migration 0053's round_at for one proposal, and NotificationKind::offers_round names the three kinds both read; an older client stops before the trailer and an older forge's answer reads as carrying none; pinned by a codec skew test, a conformance case on memory and Postgres, and a server test that the read's times equal the list's, red-proved with a swapped field; ADR 0097 §9 and CONTEXT (rzyprxrz)
4ccff2f1 ·diffdbf3dbe6… - the home's Activity, the forge half: POST /activity (act 22) answers the signing key's account a page of what happened, newest first, in JSON the site reads (loot_net::forge::Activity) — the outbox's acts on every proposal propose::party_seen admits (the candidates /proposals/mine lists after sees, now shared by both), the finished change jobs on those proposals' tips, and the finished main jobs and runners registered or retired on the account's own repos — 100 a page, never splitting a second; migration 0054's forge_party_repo lists the repos any key of the account owns, retired keys included, bound by loot.party_account as 0052's view is; records nothing new, so no pushes; pinned in memory (what a reader may see, paging, reads only), at the route, in the request codec, and live against Postgres as the forge role (a retired owner key, a member, a hidden act, the unbound view empty), the sees and owner gates red-proved; ADR 0097 §10 and CONTEXT (ywqryszs)
9ef13bee ·diffdbf3dbe6… - /proposals/mine names each proposal: title, its tip's message's first line, served to the proposal's audience, which reads the tip whole through --take (zlllxtsx) already, so the home's ledger can say what moved (roywztwy); an older forge's answer reads as untitled; and loot-net freezes the /proposals/mine and /activity request bytes the browser signs, the same hex loot-wasm's encoders freeze; ADR 0097 §10 (zqumylvr)
3e1767c6 ·diffdbf3dbe6… - the workbench's Proposals view: a proposal's page read through the forge's own routes signed with the device's key — one spine of rounds whose comments verify in loot_wasm, whose move, the verdict judged by reader against main's .lootpipeline (loot_codec::pipeline_file, held to the CLI's Declaration over a corpus), the stack drawn as a graph with each change's files decrypted through the take, the land's commands, and the decline, withdrawal, comment, edit and log grant signed with the CLI's bytes (the web decline pinned byte-equal), plus the repo's list; the proposal wire moves into loot_codec::proposal_wire so the browser builds it; the forge records each round (migration 0055, nothing backfilled) and the read carries them after whose move's times; a take may read a recorded round the proposal moved past, and its offer names each change's paths; a workbench view may open for a reader the repo read refuses, so a proposal's party reads it there; ADR 0075, 0095 §5, 0097 §9 and CONTEXT (toyysqrq)
b7c45d5e ·diffdbf3dbe6… - a key retired on its account collects no grants: the forge refuses /pull-grants and /grants/peek to it, as its sync reads already take it for Anon (ADR 0100 consequence, red with either guard removed), and the text the code contradicts is corrected: known-issues names the copies of a key and the words-plus-self-grant rebuild, loot id phrase says what the words reopen, /install line 1 names the older reader (ADR 0066 line 1 as it ships), concepts/visibility names four tiers, CONTEXT barriers are the record_op barrier flag, ADR 0023 defers to its bump rule, format history points at reference/formats, and the cli-verbs test is no longer cited (uozzsuuz)
4ab29e5f ·diffdbf3dbe6… - a proposer stows through the contribution door: /stow admits a key may_propose admits as well as one require_pusher admits, neither widened, and a shut door or takedown answers a non-pusher with the write rule's refusal; a proposer's stow is held, before a byte is stored, to three bounds — rooted in the landed history (no landed or reparented change id), whole (every change resolves, every object named), and within the owner's plan without ever touching its grace; a stranger and a member propose end to end through the binary, the owner's-account workaround dropped; ADR 0075 and CONTEXT record it, and qnwmlylk, kvlssnut and qzlqsttx file what it found (zlmlkpkk)
d1e7c591 ·diffdbf3dbe6… - runtime output stops citing ADR numbers, ticket numbers and CONTEXT.md, which users cannot read: about 150 errors, refusals, warnings, notes and banners across loot-cli, loot-core, loot-net and the forge client refusals drop the citation and keep the meaning, the lootignore negation warning says catch up with loot adopt instead of naming 843 and main copy, the serve banner and open-relay warning lose ADR 0011 and 2389, the landed-content cause states the pull order instead of a private runbook; help text left for later; three prose asserts updated, hosting docs relay output updated, crate suites and site gate green (ymsvpuos)
c8ced9c3 ·diffdbf3dbe6… - the owner opens and shuts a repo's proposal door: a signed act (act 23 in loot_codec::proposal_wire) posted to /propose/door and admitted as any owner setting is, loot propose --door open|shut saying what opening admits before it is sent, and the repo's Proposals page showing the owner the door's state from /propose/posture with an open or shut button and the same disclosure; pinned at the route (only the owner, the door left as it was after a refusal, red-proved), in the act codec, end to end through the binary (a stranger proposes only through an opened door), and the web's bytes equal to the CLI's; ADR 0075 and CONTEXT (kmnuslkp)
f7aa880a ·diffdbf3dbe6… - the CLI mentions proposal activity when it has already talked to the forge (ADR 0097 §8): after loot pull, loot push and an offer by loot propose, at a forge, one line counts the proposals someone other than the reader's key moved since .loot/proposals-seen, from one more signed /proposals/mine on the connection the verb left open; in pull's human prose only, so --porcelain and --json never carry it, never asked outside human output or of a relay, silent when the forge won't answer, and only --mine clears the marker; pinned end to end against an in-process forge and red-proved on the own-act filter (zqumylvr)
2e2b8c62 ·diffdbf3dbe6… - a late attestation reaches a puller: /attestations answers every attestation a relay or forge holds over the change ids asked, behind its read gate, as one flat list capped at 512 ids under act 24, advertised on /info; loot pull asks over the heads it declared and ends at, and loot-first land over the foreign versions before its requirement gate, each keeping what verifies and recording it in the push ledger; the site's copy of the forge's served segments, stale by four, is regenerated and pinned; the wqmuzkyz land test is un-ignored again, as 3882bab6 left it before a primary adopt re-added the attribute; ADR 0018 (ytslssxq)
5d3727cd ·diffdbf3dbe6… - the owner approves a proposal from the web: a new forge door, POST /propose/approve, takes a signed review/approve on the open round of a proposal, admits only the owner class as the decline does, so a member, runner, proposer or tip author is refused, verifies the attestation signature over the round, the signer and the role, and files it through the ingest statement with its approval event in the same transaction, refusing a round the proposal moved past; loot_wasm builds the envelope as proposalApproval, byte for byte the attestation loot attest records, the proposal page rail gets an Approve button bound to its round, and the land refusal for a missing approval names loot pull as the repair; ADR 0095 records it; red without it: the owner check dropped (0 passed, 1 failed), the signature check dropped (0 passed, 1 failed), the round binding in the store dropped (2 passed, 1 failed), the event left out (census 2 passed, 1 failed), and the browser signing another role (byte pin and end to end each 0 passed, 1 failed); loot-forge passes 584 against a throwaway Postgres 18, the site gate passes 348 and the suite is green at 2150 passed (zkkrlukv)
92f72027 ·diffdbf3dbe6… - review sweep 4 fix-ups on the perf afk-loop lands: the approval pins in verbs/propose.rs, tests/propose.rs and server.rs, the pick.rs resume note and the measure.rs line lose their emphasis markers; ADR 0095 section 13 states the web approval decision in place without its history, ticket ids or route tour; the memory and pg call sites of file_attestation stop repeating its doc and the propose::approve doc keeps only the read-order reason; the role constants are named for what they hold, REVIEW_APPROVE_ROLE in proposal_wire and PIPELINE_APPROVE_ROLE in pipeline_act, which loot-net and loot-cli re-export, with the loot-forge and loot-cli aliases and the second pipeline/approve literal gone, so the wire bytes are unchanged and the loot attest byte pin stays green; the roster keeps its copy of the pending list fingerprint check, since a shared component built a chunk of its own that the entry chunk names and grew each public surface by 13 to 20 B gzip, and a comment there says so; wording and naming only, so no test is owed; the site gate passes 348 and the suite is green at 2158 passed; it also files xxtlrzlm, a web approval signed by another live key of the owner account that the land does not count, and comments the other session findings on mlrvwxpq (lkqkkoqx)
cd62f962 ·diffdbf3dbe6… - a runner renews its claim every half lease while a job runs, through a new runner-door route, POST /jobs/renew, which the store accepts from the claimant alone, compared inside the write as a verdict is, so no other runner renews a lease it does not hold; a failure after the claim is answered rather than left to the lease: a failed fetch as unrunnable, a tail that cannot be sealed left out, and a post that fails carrying a tail sent once more without it; serve tries first the kind after the one it last claimed, so check jobs no longer starve run jobs; runner once reports the bytes it fetched, measured at 6698352 for a 2299-file version of this tree (about 18 MB plaintext) in 0.39 s against a local dev forge; the runner floor re-check is pinned with a non-member change job; ADR 0091 sections 5 and 7, its owed list and the CONTEXT runner row entry are updated, and whether a runner should check the job facts it takes on the forge word, and a CLI tail reader, stay owed; red without it: the floor re-check dropped (0 passed 1 failed), the memory renewal claimant check dropped (0 passed 1 failed in the conformance case and in the route test) and the Postgres one admitting any claimed runner (0 passed 1 failed against a throwaway Postgres 18); act tag 26 and no migration, so a forge deploy is owed; loot-forge passes 586 against a throwaway Postgres 18 and the suite is green at 2169 passed; it also resolves yznnvzks, superseded by xpvlupvn, and files rxpnuzpm, a cargo_seed sighting (zzqwymtx)
68cdb91b ·diffdbf3dbe6… - review sweep 7 fix-ups on the perf afk-loop lands: the forge refuses a lease renewal that moves the lease more than MAX_CLAIM_SECS, a day, past when the claim was taken, dated by a new job.claimed_at column (migration 0060, nullable, a null read as a longest lease before its end), and the runner stops renewing there, so a job whose step never exits returns to the queue; a fetch or verdict post that fails without the forge refusing it is sent again, a bounded number of times, and a verdict drops its log tail only when the forge refuses the request as bad or too large, so a timeout or 5xx no longer costs the owner the tail and a post whose answer was lost succeeds on the retry; the stores share one renewal predicate and the Postgres claimant read; an unheld burn from a retired owner key logs RetiredKey; ADR 0038 states that a later upload of an unheld-burned address is served by the burner repo again and that its filed tier can disagree with the row, and ADR 0091 sections 5 and 7 and the runner help record the bound and the retries; the answer doc, the moved ticket reference, the migration 0025 comment naming a deleted pin (comments are outside the checksum), the renew_lease doc, a discarded owner_of, two needless pubs and a test doc restating its name are fixed; red without it: the bound check dropped (memory and Postgres 0 passed 1 failed each), a claim dated a day late on Postgres (0 passed 1 failed), the tail dropped on any failure and an unsettled post not retried (0 passed 1 failed each); loot-forge passes 588 against a throwaway Postgres 18, the site gate passes 348 and the suite is green at 2173 passed (ozsqotkr)
7675c936 ·diffdbf3dbe6… - review sweep 8 fix-ups on the perf afk-loop lands: the ferry refuses a git commit it would ingest only when it writes back the bytes of a burned object, matched by git blob id against the blobs that mirror commits marked to versions holding the burned object wrote at its path, so a path burned and re-added through loot no longer stops every ferry and land once a trailerless git edit touches it, a burned object no mirror commit wrote has no blob to refuse, and every matched blob carries the tier of the version it came from, so no tierless match refuses at any tier; where a version holding a burned object is marked at a commit the mirror no longer holds, the ferry fails closed for that path, refusing any write to it at the recorded tier or a wider one and naming the narrower re-seal, while a version with no mark reads as never projected, as a dropped mark does too; a Restricted re-seal naming a reader the burned set lacked counts as wider and is refused, where a subset is admitted; the forge refuses a verdict on an answered job unless it repeats the outcome, log and detail on file, so a lapsed runner process re-claimed under its key can no longer overwrite the answer beside a signed pass, and the route answers 403; burned_seals_at folds into objects_at_path, which now carries the tier of each site; the CONTEXT burn entry is cut to a definition, ADR 0038 section 4 states the blob match and the fail-closed fallback, the burn text and the burn-secret skill name the narrower re-seal, the migration 0060 header loses its ticket id and the job_of claimed_at comment its history, and the RunnerFailed doc says 408 and 429 are refused and a 2xx that does not decode is unsettled; red without it: a spawned web edit of a re-added burned path went 0 passed 1 failed against the landed code, the pruned-commit pin 0 passed 1 failed before the fallback, with the unknown path left unrecorded, and with the fallback ignoring the tier, the restricted reader pin 0 passed 1 failed with the widening arm dropped, an empty burned blob set turned both blob unit pins red (3 passed 2 failed) and the spawned pin red (0 passed 1 failed), and the verdict conformance case went 0 passed 2 failed on memory and Postgres with the overwrite restored and again with the detail left out of the compare; loot-forge passes 595 against a throwaway Postgres 18 and the suite is green at 2181 passed (wtwputsu)
1f9fa06e ·diffdbf3dbe6… - review sweep 9 fix-ups on the perf afk-loop lands: the hosting relay script takes each linux target release from that triple pin in virtual:loot-release, as /install does, so a release pinning linux to an older tag no longer 404s; a refused verdict stores no log tail, since the route asks the job row whether the store would refuse before it stores the tail, where a second verdict or one from a runner without the claim left a blob no job row names; the held-edges refusal names the parents and predecessors on file beside the carried ones, and ADR 0075 says the edges on file stand whoever filed them, so a change filed first elsewhere or edges added before the bound make a later honest push refuse; ADR 0038 section 4, the burn text and the burn-secret skill state that the fail-closed ferry fallback matches by path, so burned bytes moved to another path pass once the projecting commit is gone; docs drop a ticket reference, emphasis, a caller roster, stale verdict-replacement claims and the lists of what a release moves; JobVerdict::same_answer, an Edges struct, a BurnedMatch enum, VerdictRecorded::OtherVerdictStands and named fresh sets in write_rows; red without it: the new route pin went 0 passed 2 failed on memory and Postgres with the pre-check dropped; loot-forge passes 597 against a throwaway Postgres 18, the site gate passes 348 and the suite is green at 2183 passed; it also files mlysuzmn, a change signature that does not cover its parents, and corrects the qzlqsttx resolution in a comment (zoksmpqw)
4af69673 ·diffdbf3dbe6… - review sweep 10 fix-ups on the perf afk-loop lands: the pull-grants that brings the key of a held-back path, the earlier copy a pull or tree write kept on disk because this identity could not open the version the tip records, now writes that version over the copy and retires its stale-disk entry, naming the paths it wrote and those left because their files changed, as grants --trust does, where the disk kept the stale bytes while status read clean; status lists each held-back path as a row of its own, and status --json and surface --json carry a trailing held array, recorded in the ADR 0023 ledger with porcelain unchanged; the hosting relay script takes its linux targets from the release pins in virtual:loot-release, with an arm saying the release has no build for an unavailable triple instead of dying on an unbound VERSION, so the entry chunk gains no bytes; the two prune filters share DagRepo::prunable_onto, which errors on a missing tree, materialize_target takes from before to, and surface_listing groups what it did not write; docs narrow the refused-verdict tail claim, trim the CONTEXT Absence entry, and drop the ADR 0022 date stamps, the store reason ticket and count, and ADR 0075 history; red without it: the new spawned two-identity pin went 0 passed 1 failed on the held status row before the change, and again with the pull-grants write dropped and with the held listing emptied; the site gate passes 348 and the suite is green at 2186 passed (pznnpllz)
0edeec71 ·diffdbf3dbe6… - review sweep 11 fix-ups on the perf afk-loop lands: pull-grants writes a held-back copy under the store lock and only while the position and the stale-disk entry of that path are as it read them at open, where a land adopting a version sealed away between its open and its write had it write the version it read over the copy and retire the entry, so the next capture recorded that version over the one the tip records; it names the paths it left for a moved position; pull-grants and grants --trust write only for keys the run newly filed, where a re-delivered standing self-grant wrote over a copy pull --no-surface left; the forge-view record keeps of each bundle only the changes the current forge heads reach past landed main and the objects an overlay reads, re-encoding a bundle it cuts, so a head that goes away takes its line out of the record, 99134 to 797 bytes in the new pin, while a re-read still costs 2425 bytes against 101721 cold; the object fetch names every current head, fetched or already held; status --json and surface --json name the held-back paths held_back, CONTEXT gives Held back an entry of its own and trims Absence, ADR 0022 drops its amendment stamps and consumer list, ADR 0023 says held_back, and the emit, server, grants and zmoqkzro test docs are narrowed; HeldCopies and Collected replace bare tuples, custody::surfaced builds the surface listing for surface and pull, and pull prints no listing for a surface that wrote, skipped and missed nothing; the notify-sender live pin gives the unauthored proposal an owner with an account and asserts she is told; red without it: the two pull-grants pins went 1 passed 2 failed over their filter before the change, 2 passed 1 failed with the position check dropped and again with every applied key passed on, the record pin 14 passed 1 failed with whole bundles kept, and the notify pin 87 passed 1 failed with a proposal dropped whole for an unauthored tip; the site gate passes 348, the site live suites 88 on a throwaway Postgres 18, and the suite is green at 2194 passed (kxyqkovl)
bfe73207 ·diffdbf3dbe6… - a proposer opens on the proposal page the logs the owner granted them: migration 0061 adds forge_member_granted_log, a barrier view of inner joins granted to forge_member and bound to the reader account, listing each log a change job of an open proposal wrote while the proposal grant names a key of that account; /api/private/pipeline-log now mints a URL by the rule of the forge /pipeline/log (mayReadLog: a job the owner or member family reads names the log, or the account holds the grantee key), the new /api/private/granted-logs lists the proposal logs with the runner that claimed each job, and the verdict opens a granted log of the tip in the browser with openLogTail; the forge rule moves unchanged into jobs::may_read_log, and pipeline_read.rs holds the web reads to it for owner, member, grantee, the grantee of another proposal and a reader on a public repo, before a grant, while it stands and after a withdrawal or a land; that pin went red without the view (6 passed, 1 failed), with the open-proposal check dropped (6 passed, 1 failed, at the landed proposal) and with the account binding dropped (6 passed, 1 failed); granted-logs.pg.test.ts went red without the grantee arm (0 passed, 1 failed) and with the log match dropped (0 passed, 1 failed); a log sealed before the grant still does not open on the web; ADR 0091 section 11 says so; cargo test with the live database suites ran 2232 passed and 1 failed, the known flaky loot-first a_landed_lane_drops_its_build_output_and_only_that, which passes alone, the site gate passes 348 and the site live suites 89; it also parks quxupmoq on the operator decision whether loot new signs a change whose only changes are re-seals (nnpsprvv)
77ddde7f ·diffdbf3dbe6… - the proposal read carries the approvals of its rounds and the web timeline draws them: a trailer after the rounds carries each review/approve the forge holds over the tip or a round version, read from the attestation table and no other role, so an older client reads the prefix it always did and an older forge reads as serving none; loot_wasm verifies each signature and the page shows an approval as one only if it verifies, at the end of every round that offered its version, since an attestation carries no time, and the owner Approve button reads an approval on file after a reload; links in a comment now carry rel nofollow noopener noreferrer as ADR 0095 section 11 says; ADR 0095 Status and section 12 record the placement; red without it: the trailer decoded as absent (0 passed, 1 failed), the trailer written before the rounds (0 passed, 1 failed), the role filter dropped so a note and a pass were served (0 passed, 1 failed), every approval read as verified (0 passed, 1 failed), and the new Prose pins went red with the old rel (4 passed, 1 failed), with links skipping safeHref (4 passed, 1 failed) and with paragraphs as raw HTML (3 passed, 2 failed); cargo test is green at 2247 passed, the live database run passes but for the known flaky a_landed_lane_drops_its_build_output_and_only_that, which passes alone, and the site gate passes 360; it also resolves llmsmqsv, built in the scripts repo as 5b5e086 (yzxqyqou)
442d9d9d ·diffdbf3dbe6… - the proposal read serves only the approvals a key of the owner account signed, retired keys included, and never more than a reader decodes: the forge filters each review/approve by the new MetadataStore::owner_keys, so a push carrying approvals from throwaway, member or other-repo keys neither shows them on the page nor fails the read, and the encoder writes at most MAX_APPROVALS; the read also carries the approvals of the tips its page of comments was written on and the web merges every page, so a round older than the round record gets its approvals; ADR 0095 section 12 records the choice and loses its outbox aside; granted-logs.pg.test.ts now asks the site grantedLogs and mayReadLog for the grantee of another proposal on the same repo and for a change proposed to a second repo, and pipeline_read.rs covers that second repo at the view; the NotYours-as-empty catch is one function, member.ts uses hex32, put_approvals is private, spineOf builds approvals in place, status builds its prose only for human output, the approvals placement test goes, and ticket ids and emphasis leave migration 0061, ADR 0091 section 11, api.ts, data.ts and change.rs; red without it: the read failed to decode 4101 approvals (0 passed, 1 failed), the encoder wrote 4097 (0 passed, 1 failed), with the owner filter dropped (0 passed, 1 failed), with retired keys left out in memory (0 passed, 1 failed) and in Postgres (0 passed, 1 failed), with the granted view joining jobs of any repo in the Rust pin (0 passed, 1 failed) and the site pin (0 passed, 1 failed), and with a grant reaching every proposal of its repo in the site pin (0 passed, 1 failed); cargo test with the live database suites ran 2259 passed, 0 failed and 6 ignored, the site gate passes 360 and the site live suites 89; it also files tkvpzuom, the same unbounded write for rounds (twovqosw)
23e3e214 ·diffdbf3dbe6… - the proposal read carries the newest MAX_ROUNDS rounds, so a proposal offered more times than a reader decodes no longer fails the read for every newer CLI and the web: the encoder writes the newest MAX_ROUNDS and drops older ones, keeping the tip round, and the forge serves the newest MAX_ROUNDS so the versions it looks up approvals over are bounded too; the forge still records and accepts every offer, since refusing one past the bound would leave the proposer no way to offer the change at a new tip; ADR 0095 sections 5 and 12 record it; red without it: the read failed to decode 4097 rounds (0 passed, 1 failed), and with the encoder keeping the oldest rounds (0 passed, 1 failed); cargo test ran 2259 passed, 0 failed and 6 ignored (tkvpzuom)
3248ff3d ·diffdbf3dbe6… - who reads a pipeline log has one forge owner and one shared cases file: jobs::job_log_readers names both the claim-time seal list and the /pipeline/log gate, crates/loot-forge/tests/log-reader-cases.json drives the forge rule over Postgres in pipeline_read.rs and the real site mayReadLog and grantedLogs in granted-logs.pg.test.ts, and the Rust copy web_reads_log is gone; migration 0062 narrows forge_member_granted_log to the first job naming a log by version, trigger and kind, as job_of_log takes it, so a log a main job names before a granted change job no longer reaches the grantee on the web, which the forge already refused; the retired-key and owner-tier differences the ticket named agree at the account level and are pinned as cases; the site pin went red with the 0061 view in place (0 passed, 1 failed) and the forge pin with the grantee arm dropped (0 passed, 1 failed); cargo test is green at 2262 passed, 0 failed, 6 ignored, and ci/local.sh with the live database at 2262 passed plus the site live suites at 89, the site gate at 363 (umvloynu)
19c8dab1 ·diffdbf3dbe6… - an open holds each change message as a range of the graph file it already keeps for deferred manifests instead of a copy, through loot_codec::Message, checked as UTF-8 once at decode and read as str on demand, and the loot log rows and their machine listing share those bytes instead of copying them; over 150 and 300 changes of 2 KiB messages the open peak went from 0.82 and 1.62 MB of heap to 0.51 and 1.00 MB, building the log rows from 0.43 and 0.85 MB to 0.12 and 0.24 MB, and the whole log from 1.60 and 3.21 MB to 0.99 and 1.98 MB; the version id recompute pin now decodes the plain container as well as the delta one and went red with the message range off by one (0 passed, 1 failed), and the decode refusal table gained a non-UTF-8 message, red with its check dropped (0 passed, 1 failed); the suite is green at 2263 passed, 0 failed, 6 ignored (kutykkry)
1370fedc ·diffdbf3dbe6… - agent keys on the forge, slice 1 of ADR 0111: migration 0068 adds agent (repo, pubkey, name, read and write scope, registrant, retirement, last seen) and agent_inbox under 0017's repo binding, the store files a row once, rescopes only a live one, retires for good and touches once a window on memory and Postgres, /agents/add, retire, list and scope are the owner's and /agents/self is an agent's own row through the agent door (a live row, a registrant the operator's list and require_pusher_in still admit, a namespace not taken down), loot_net::runners::refuse_scope refuses a control character, a leading slash, a backslash, an empty, dot or dot-dot name and a duplicate for runners and agents alike, an add refuses an account key, a live runner's key, a read scope naming nothing and a write scope past the read scope, and a runner add refuses a live agent's key; agents joins the served segments; 5 route tests, a conformance case on both stores, the RLS fixture covering both tables, ci/local.sh green on Postgres 18 (srskqklq)
2e816768 ·diffdbf3dbe6… - agent keys propose, slice 2 of ADR 0111: one preamble, authenticate_party, admits a key the operator's list admits or an agent key through the agent door on /stow, where an agent stows as a proposer held to the rooted, whole and plan bounds, and on /propose, posture, read, list, take offer, take and withdraw, with the contribution door and the account gate not asked of an agent; /agents/grants takes key-only grants the agent signed and files each to its own agent_inbox or to the owner's grant mailbox when sealed to the owner or a live key of the owner's account, refusing any other grantee, another key's grant or a withheld one and judging the batch whole; the key-only parse is shared by runner and agent deposits with the runner wording unchanged; ADR 0111 §4 amended as built; 4 route tests (a shut door admits the agent and refuses a stranger, retired and orphaned agents are refused at the stow, the grants route files and refuses as above, the owner and write doors refuse an agent key), an inbox conformance case on both stores, ci/local.sh green on Postgres 18 (lklyxpuo)
f72f6cb5 ·diffdbf3dbe6… - agent keys write check, slice 3 of ADR 0111: loot_codec::written::written_paths is ADR 0098's rule (a path is written when it differs from every parent's entry, a deletion included) and forge_fold's written_paths now calls it; an agent's /stow judges every change it carries against its parents (carried or held) and its /propose every change of the offered stack, refusing a write outside the agent's write scope with a 403 naming the change and the path, so a deletion, a name-prefix neighbour, any write of a read-only agent and a stack holding another key's out-of-scope change are refused; ADR 0111 §5 amended as built; 2 route tests and 2 unit cases, red under mutation with the stack check off (1 failed of 1) and with deletions uncounted (1 of 1), each restored (wtmwnquz)
8d818d9f ·diffdbf3dbe6… - agent keys read filter, slice 4 of ADR 0111: /ref admits an agent through its door past the metadata axis, and /agents/fetch serves one version the repo holds, a proposal's included, with its node whole and the ciphertext and key-only grants of each object the agent's read scope covers, not burned and openable by its inbox deposit or a live published key, and lists the in-scope objects left out for want of a key; serve::version_scoped is now the runner fetch's too, its answer unchanged; the scope is the admitted row's, so a narrowing takes effect on the next read; ADR 0111 §5 amended as built; 2 route tests, red with the scope ignored (1 failed of 1), restored (tlmsqywy)
adbcce97 ·diffdbf3dbe6… - agent keys deposits and debt, slice 5 of ADR 0111: the owner's /agents/deposit files key-only grants sealed to live agents of the repo and /agents/debt answers each live agent's in-scope Internal and Restricted objects at the declared heads, not burned, embargoed or published, that it holds no key for (MetadataStore::agent_keyed on both stores); /info says agent_keys, and only there does a push list agents, deposit each one's owed held keys through the shared scoped planner the runner deposit now uses, and print a line for any agent still owed; measured over the last 493 landed changes a deposit is 269 bytes and a whole-tree agent costs a push 1.6 KB at the median and 21 KB at p99 (20 agents 32 KB and 425 KB), and agent_inbox grows about 2 MB per agent per 11 days, filed as pzxkowrx; loot agent deposit moves to qwrzyrqm; ADR 0111 §7 amended as built; a route test, a CLI push end to end, a planning unit test and agent_keyed in the inbox conformance case, ci/local.sh green on Postgres 18 (topvoxrp)
a02762ba ·diffdbf3dbe6… - a runner rides its registrant's standing as an agent does (ADR 0111 §3, ADR 0091 §2): authenticate_runner asks admitted_on_registrant, so a runner whose registering key a rotation retired on the owner's account, or whose namespace was taken down, claims and fetches nothing, where before only the operator's allowlist was asked; ADR 0091 §2 amended; a route test, red under mutation with the old check (1 failed of 1), restored (nqlmvlom)
02e84420 ·diffdbf3dbe6… - wire delta producers, slices 3a and 3b of rtlrzpsy: the forge says manifest_delta on /info, a CLI push to it carries a change as a delta over its first parent where the forge declared that head on /ref or the push carried it first, its change batches also cut at EXPANDED_MAX of rebuilt trees, and the forge and relay /fetch send deltas over the versions have names when the client sets a new trailing deltas byte, which the CLI sets only when it holds every one and takes every generation; Frame::encode_over writes whole a change past the rebuild budget, the forge serves a delta body parents first and never over another repo version, and an older forge or a client without the byte gets byte-identical whole frames; against a local dev forge a 3-change push went from 3.0 MB to 0.95 MB (its change lane from about 2.06 MB to about 8 KB) and a 100-change catch-up fetch from 69.1 MB to 2.6 MB; without the codec budget, the batch budget, the whole path, the relay byte, the have scope, the held set or the repo scope a test goes red (0 passed of 1 or 2 each), and cargo test (2444 passed on the tree merged with main at 10c4ebb0) and ci/local.sh on Postgres 18 are green (rtlrzpsy)
d44891c7 ·diffdbf3dbe6… - an automated cryptography suite and the two holes it found (rsnkzxrl): crates/loot-crypto-suite holds 44 properties over known answers (RFC 8032, 7748, 7914, NIST GCM, BLAKE3) through loot's own entry points, tamper and truncation of every sealed, wrapped and signed artifact, fresh keys, nonces, salts and ephemerals, seed envelope and seal and mnemonic protection, a forge filing no private key and refusing forged authorship and misaddressed objects, and static guards against weak generators, fixed nonces and non-strict verification; it found that a key wrapped to a low-order or weak recipient key was public and a low-order ephemeral unsealed, now refused by a contributory check and a weak-key refusal in key_seal, and that a small-order signer key verified universal forgeries on envelopes, authorship and attestations, now refused by loot_codec::sig (verify_strict, weak keys refused) which every verifier goes through, with the forge refusing weak keys at agent and runner add; ADR 0014 amended; the attestation/change domain-separation finding filed as nwypnkpu with an ignored test; 7 red before, 43 green and 1 ignored after, workspace 2496 passed (rsnkzxrl)
e9bd8509 ·diffdbf3dbe6… - a key revokes only a key it vouched for, directly or through a chain, and vouches travel by the forge (ADR 0115 §2 to §4): own_keys applies a revocation only from a key above the one it names and not itself revoked, and loot id revoke refuses any other; migration 0069 keeps vouches and revocations in a vouch table outside the repo binding, with forge_delegated_key bound to one asked key, and /vouches/file and /vouches/list file a record only with both signatures, by its signer, naming no agent or runner key on any repo and closing no loop, and serve the signer identity whole; loot id vouch and loot id revoke file there too and loot pull stores the identity records in .loot/vouches; the web approval door counts a live account key only when every other live unrevoked key of the account is vouched to it, and agent and runner add refuse a vouched key; vouch.rs verifies through loot_codec::sig as main does since 46c3c7c5, and a weak key is refused at vouch time; red without it: the ancestry check (identity 1 passed, 1 failed; forge 0 passed, 1 failed), the loop term and the revoked revoker (1 passed, 1 failed each), and the forge revocation, agent or runner, one-signature, approval door and agent registration checks and the pull take (0 passed, 1 failed each); ADR 0115 and CONTEXT say what is built; ci/local.sh on Postgres and the site gate pass, and the suite is green at 2460 passed, 0 failed, 6 ignored; the two zkkrlukv leftovers are filed as wmzzozwn (xxtlrzlm)
9a1eefa7 ·diffdbf3dbe6… - a store re-derives the version id of every change it files from outside, so a signed change seen elsewhere can no longer be filed first with forged parents and the owner push of it refused (ADR 0116): bundle_codec decode re-derives whole frames as it already did delta frames for every receiver that files what it decodes (forge /stow and /ingest, a pull or bundle apply, a relay stow) and refuses the bundle as id_mismatch; a legacy id is checked under the fold it was minted with, today or the pre-ADR-0051 Windows one with every separator a backslash, and the 84 ids of loot history minted from trees mixing both spellings are taken by name, so all 2853 changes of this history still file where 783 failed today alone; the forge edge check compares predecessors sorted, so a reordered list no longer blocks the honest push; and slice 4 of rtlrzpsy: the forge fills path_touch for a delta over one parent from its readdressed ops and reads no parent tree, taking a 100-change delta stow of this repo from 1.24 s to 0.80 s on Postgres 18 with delta storage, 5.73 s to 5.36 s without, and 0.91 s to 0.49 s in memory, with path_touch identical to the same history pushed whole; re-deriving a 100-change whole catch-up adds about 0.07 s to its 0.58 s decode; red without it: the forge squat pin and the CLI apply-and-stow pin went 0 passed 1 failed with whole frames unchecked, the legacy-shapes pin 0 passed 1 failed without the Windows fold and again without the listed ids, the squat pin and the held-edges pin 0 passed 1 failed each with predecessors compared in order, and the path_touch comparison 0 passed 1 failed with a visibility-only upsert counted and again with a merge read from its ops; cargo test is green at 2459 passed and ci/local.sh is green on Postgres 18.6 (mlysuzmn)
60d0b78f ·diffdbf3dbe6… - a forge push declares only published keys and offers /wants only what its changes add: bundle_declaration carries the published keys alone, the only ones a forge files (ADR 0041), and a push to a forge whose /info says the new wants_names_lost asks /wants only about the addresses no tree of the forge-held changes it builds on names (PushPlan::added), since that forge now also names the addresses the repo trees name whose bytes it lost (MetadataStore::bytes_lost_in, scoped to the repo); an older forge is still asked about every address, an older CLI gets the answer it always did plus those lost addresses, and ADR 0021 says so; against a local dev forge over this tree (9,880 files) a 3-change push went from 1,006,325 to 57,805 bytes (/ingest 633,497 to 1,113, /wants 316,355 to 195), and to a forge without the flag 373,941; red without it: a push putting back lost bytes of unchanged files and keeping the published key went 0 passed 1 failed with the forge naming no lost bytes, with the scoped ask sent to an older forge, with no published key declared, and with the scoped ask dropping the added address, and the repo scope of the lost names 0 passed 1 failed unscoped; the perf counters did not move (offer_addresses 119, offer_bytes 3810), and cargo test is green at 2515 passed and ci/local.sh on Postgres 18 (rtlrzpsy)
4828b4b3 ·diffdbf3dbe6… - a /fetch past the rebuild budget comes in rounds: a forge or relay whose /info says the new fetch_rounds answers a /fetch whose deltas byte also sets the rounds bit with the changes past have, parents first, whose trees fit EXPANDED_MAX (bundle_codec::Round), as deltas, and ends the answer with a byte saying whether more is to come, and the CLI declaring its closure files each round and asks again with what it took declared until none is left, so a round boundary falls between whole changes, every delta is over a version the client holds, the ADR 0116 id check runs on each round, and a round that fails files nothing and a re-run continues; an older forge or client still exchanges one body; against a local dev forge a 100-change catch-up over this tree went from 2,822,532 to 30,780 bytes of /fetch (1.14 s to 1.18 s), and the change lane of a clone of this history from 409,626,011 bytes in one body to 16,320,721 in 8 rounds (10.5 s to 7.9 s; with objects 802 MB to 409 MB, 61.8 s to 61.2 s), 13.8 MB of it the first round from the root; red without it: the catch-up pin 0 passed 1 failed with the forge never cutting a round, with the client stopping at its last batch, with a round not parents first, with no delta over have, with rounds asked of an older forge and with an older client request cut into rounds, the interrupted pin 0 passed 1 failed with the rounds persisted once at the end, and the relay pin 0 passed 1 failed uncut; ADR 0113 and CONTEXT say how; cargo test is green at 2519 passed and ci/local.sh on Postgres 18 (rtlrzpsy)
00dd3886 ·diffdbf3dbe6… - forge: chunked objects stored and served one at a time, /info chunked_objects, the CLI and SDK refuse hosts without it (nvmlutlq)
521558b1 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - forge: a per-agent rate limit at the agent door, ADR 0119 §4 — a token bucket per signing key, never the address, 120 at once refilled at 20 a second for every agent key on every plan, chosen from measured SDK and MCP agent sessions and recorded in the ADR; past it a typed 429 with Retry-After and the wait in its sentence; nginx's per-address limit filed as twsvnxsy, which the hosted launch now waits on (nptsyzum)
bb93066f ·diffdbf3dbe6… - the hosted-agent consent page and the plan row, ADR 0119 §3 and §4: /private/connect reads the pending connection from the agent host by an opaque id (never from its query), refuses a repo not under the account or a forge whose /info lacks hosted_agents, lets the owner name the agent and pick its scopes (read . and write nothing by default, .lootattributes added for a writer as loot agent add does), names loot, Cloudflare and the model provider, signs the hosted registration with the new Identity.agentAdd and posts it to /agents/add, shows a 402 in the forge words with Pro offered, and returns only to the agent host own /consent/<id>/done; the private CSP adds the agent host to connect-src only when VITE_LOOT_AGENT_HOST_ORIGIN is set (ADR 0096 §2); loot_codec::agent_wire owns the /agents/add payload, its hosted byte and the scope and name refusals the CLI, forge and wasm share; the plan page gains Hosted agents, N per account, read through to_jsonb so it stays off before 0072; one vector file pins the envelope bytes, the 200 and the 402 for the forge test and the site test; ADR 0119 §3 gains the handoff contract as built; shot signed in on desktop and 320 px over eleven states with every write mocked, one h1, no small targets and no overflow (przzsrpt)
4b4c662d ·diffdbf3dbe6… - agent host OAuth, ADR 0119 §3: workers-oauth-provider 1.2.3 pinned, built per request for the one connector URL a request names (its resource, or its grant's), with CIMD and DCR, PKCE S256, iss returned, the 401 naming the connector's path-suffixed metadata, and claude.ai's, ChatGPT's and loopback callbacks taken; /authorize mints the key and keeps the connection in its own Durable Object under an opaque single-use id, the key line sealed under a key the starting browser holds in a __Host- cookie; GET /consent/<id> answers the page with CORS for the forge app and 404 when unknown, answered or expired; /consent/<id>/done completes only once /agents/self, signed with the minted seed, shows the agent live and hosted on that repo, with the registering key as the grant's user and the key line in its props; grants last 30 days unused and slide on refresh; one grant is one agent: the forge gains /agents/retire-self, an agent retiring itself through its row alone, signed once at /done and kept in the agent's object, and sent when a new connection supersedes the grant, the client revokes it, the forge answers the agent's row 403 after a refused call, or the object's alarm finds the grant lapsed or never completed; every forge request carries Loot-Agent-Host; ADR 0119 §3 as built, ADR 0111 and CONTEXT.md amended; oauth.test.ts gated (13), oauth.behavior.test.ts under workerd against loot-forge --dev with Claude Code's real CIMD document (9), e2e 9/9, the forge's agent tests 18; lvvwqxsr stays open for the live claude.ai and ChatGPT run, its comment naming what that needs (lvvwqxsr)
031612f4 ·diffdbf3dbe6… - a legacy id rides as a delta to a client that says it reads one, ADR 0116 §4: the decoder checks a delta frame under the fold its id was minted with, as it checks a whole one, and Frame::encode_over writes a legacy id as a delta only where BaseManifests::reads_legacy_deltas says so; /fetch gains a third deltas bit the CLI sets on a round asked of a forge whose /info says legacy_deltas, the forge writes such deltas over have and the body, and a relay /fetch, a push and every older client still get legacy ids whole; measured first, a clone of this history in rounds carried 13,815,231 B in its first round, 12,305,003 B of it the 608 legacy ids whole (554 Windows-fold, 54 named), and 16,430,090 B in 8 rounds; with the bit the first round is 2,121,406 B and all rounds 4,736,265 B, 605 of the 608 riding as deltas and every id re-derived by a filing receiver; the codec pin went red when a delta was checked under the fold of today alone, when the flag was ignored and when a delta id went unchecked, and the /fetch contract pin when bit 4 was refused (0 passed, 1 failed each); cargo test green at 2592 (yrlusmzm)
c783c10f ·diffdbf3dbe6… - an /offer leaves out the addresses the trees of the held tips of the have name only for a client that says it holds every version its have names, ADR 0021: /offer gains a trailing holding byte (loot_net::encode_offer, decode_offer) the CLI sends only when Workspace::holds_every says so, the test fetch_declared already used, and only to a relay or forge whose /info says the new offer_holding, so an older host gets the plain body and an older client the whole offer; DagRepo::offered_objects is the whole answer again, DagRepo::offered_to_holder and serve::offered_objects under holding the narrowed one, since a shallow position declares dangling parents whose trees it never asks about, and a pull from a second source holding such a parent left out the addresses its tree shares with a sibling, which arrived short with a false withheld-by-the-server note until a second pull; the new pin, a position cut one deep fetching a sibling of its dangling parent from a second relay and from a second forge, went red on both before the fix (0 passed 1 failed each) and again with the client always saying holding and with either host narrowing whatever the client says (0 passed 1 failed each), and the /offer codec pin keeps the plain body byte-identical; over this history a complete position still takes a 100-change catch-up offer of 1,268 addresses and 40,578 bytes where the whole one is 11,036 and 353,154, and a one-change one of 6 and 194, while offer_addresses_delta1 stays at 1 and the gate reads no move; ADR 0021, the offered_objects docs, the negotiation() doc and the CONTEXT.md Delta frame stamp sentence, which missed chunked bundles at 16, say what the code does; cargo test 2592 passed and ci/local.sh green (lsqxxslu)
90df54cb ·diffdbf3dbe6… - every forge route names its door in one exhaustive table: server::mounted pairs each Route with its Door and a handler whose caller type is that door, the router folds over Route::ALL, and the door runs before the handler decodes, so the owner routes that decoded before require_pusher now refuse a non-pusher 403 rather than 400, and /propose/door, /pipeline/approvers and /pipeline/grant-logs now refuse a taken-down owner as the other owner routes do; the hand list of agent-refusing routes, which accepted a 400, gives way to one table test over Route::ALL on an open and a listed forge, asking an agent and a runner key over a junk payload for exactly 403 wherever the door admits neither; with the owner door skipping require_pusher it went red (0 passed, 1 failed, /wants answered the agent 400) and so it did with the retiring door skipping the row (0 passed, 1 failed); cargo test 2593 passed and ci/local.sh green (nxwworvz)
644b30cc ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - loot propose --json prints the offer as one object, remote, change_id, change, tip, the stack the forge took and the base its walk reached, with the disclosure and the account of what was sent on stderr, and --withdraw --json names the proposal it ended; so a keyed account, which the forge already admits as a proposer by its live account key, proposes, lists, shows and takes as data; the other acts that write still refuse the flag before anything is sent; the forge refusal of a key with no account names loot account open and loot login, as the door disclosure does; the proposal JSON test was changed first and went red (0 passed, 1 failed); cargo test -p loot-cli -p loot-forge passed, 594, 187 and 661 among them (txlwtusz)
489b2d46 ·diffdbf3dbe6… - a repo and a keyed account are deleted on their owner signed request, which the operator tool carries out (ADR 0103 decision 10 amended, migration 0076): loot repo delete asks the forge over /repo/delete, behind the owner door, and the forge files a repo_deletion row and deletes nothing; loot account delete asks over the key lane, a keyed account by its live key and a signed-up one signed in, as a time on its tenant row; --cancel takes either back and --status and loot account read how it stands, each with porcelain and JSON; loot-forge --delete-requested, as the superuser and dry unless --apply, lists and then removes each requested repo by the takedown walk narrowed to that repo with no refusal recorded, and each account that asked as --delete-account does, keeping every other repo, every address another repo names, the account and its keys, and a repo pushed to since its request, which settles as moved; an act names its signing millisecond and is taken only later than the one on file, so a request sent again after its cancel or its deletion deletes nothing, and a restore does not put a deleted repo back; ADR 0062 fifth clause says carrying out a deletion its owner asked for is an agent to apply from the dry listing; repo becomes a served segment; with a moved repo deleted, the whole namespace cleared and the restore rule off the live tests went red (18 passed, 1 failed, then 16 passed, 3 failed); cargo test and ci/local.sh green against Postgres 18, the site gate 413 passed and the site live suites 104 passed (kvmrozqr)
2e682fec ·diffdbf3dbe6… - a forge operator grants an account a plan with no purchase, by a row its key signs (ADR 0118 decision 9, migration 0077): loot plan grant <key> <plan> [--days <n>] [--note <text>] puts the account that key is on onto the plan until a stated time, 30 days by default and 366 at most, loot plan revoke ends it and loot plan grants lists them, over /plan/grant, /plan/grant/revoke and /plan/grants behind the operator door, which a key the deploy lists passes and a key a row admits does not; each act carries its signing millisecond, and the forge refuses one outside its clock window, a grant signed no later than the key last grant or revocation, and a revocation of a later grant, so a captured request sent again changes nothing; the grant is kept in plan_grant, apart from the account_plan mirror a read of the merchant of record rewrites, and both plan readers, the Rust forge where a push, a runner and a hosted agent are judged and the site planOf behind the collaborator cap and the plan page, read one view, account_plan_in_effect, which gives the mirrored plan or a standing grant where that is the larger, by the database clock, with a purchase of the same plan read as the purchase; loot plan --json gains a trailing granted_until and the plan page says granted, so a grant is never shown as a subscription and a granted account can still be handed a checkout address; forge_identity reads the view and no new base table; test-accounts.md says how a test account is put on Pro, and CONTEXT.md gains Plan grant; with a merely admitted key allowed to grant, the view taking an ended or a revoked grant or reading a purchase as a grant, either store taking a stale grant, and the clock window off, the tests went red (0 passed, 1 failed each, the Postgres conformance pair 1 passed, 2 failed); ci/local.sh green against Postgres 18 with the site live suites 106 passed, and the site gate 421 passed (wzkvkkor)
ea3e12b1 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - an account asks the operator for a plan grant, every ask reaches the operator's channel within the hour, and an agent clears its own deletion requests alone (migration 0079): loot plan request files one bounded, lapsing row a key at /plan/request that grants nothing and reads pending, granted with its plan and end, or dismissed, loot plan requests lists the asks for the operator to grant or --dismiss, and over_plan and billing_unavailable name it where no plan is sold; the door's and the plan's asks share one store API over an AskQueue; loot-forge --operator-asks prints a Discord body for the asks newer than the last one raised, mentioning no one, which the hourly operator run in scripts PR 40 posts to the error shipper's webhook; --delete-requested --only <keys> limits a run to the requests those keys name and leaves every other as it is; ADR 0062 clauses 2 and 5 name admitting a key and granting a plan as the person's acts, and ADR 0118 decision 9 records the ask; red with each fix off (the plan ask 1 passed, 1 failed; its CLI shape 0 passed, 1 failed), cargo test green, and ci/local.sh green against Postgres 18 with both lists and the --only walk (mnttvskv, lnwlmyou, xwtqnwkz)
e06a5d44 ·diffdbf3dbe6… - a runner fetches a version a page at a time, so a repo the size of loot can be judged: /jobs/fetch takes a page after its version id and answers whether more is left, a page carrying at most 512 objects or 16 MiB in address order and ending early at half its walk budget, the node on the first page only, and every scoped walk reads bytes 64 at a time as a pull does; runner once asks page after page inside its lease, retrying each page as it retried the fetch, joins them into the one bundle it verifies, and refuses a cursor that does not move forward, a node past the first page or more pages than paths; an older forge answers whole and an older runner is answered whole, refused past the budget with a message naming the runner that pages; the pin goes red with the forge answering whole or the runner stopping after one page; ADR 0091 §5 says so (rlrrzskw)
a2b9df48 ·diffdbf3dbe6… - A newer main supersedes the queued main jobs of its kind: the /ingest write that files a main job retires, unjudged, every job of that kind no runner has claimed on a version off the new heads, as outcome superseded with the superseding version in its detail, so after a burst of lands the runner judges the job it holds and then the tip; a claimed job runs to its verdict, a change job is never superseded, a runner may not answer superseded, and the inbox, Activity and the site say superseded while pipeline status reads it as not yet verified; ADR 0091 §7 amended, skipping a job for an untouched path rejected (syrwssrv)
d754c13a ·diffdbf3dbe6…
Renames are not followed. loot's tree maps a path to an address, so a rename is a delete and an add. This list is the history of the name, not of the bytes.