Changes touching this path
- ADR 0091 records what #2100 decided about pipelines and runners, grilled on 2026-09-20 against the tree: a runner is its OWN keypair under no account, because require_pusher accepts any live key of the owner account and the first draft would have made every runner a full pusher; its registration is a runner row outside the account tier, written by the forge from an envelope the namespace owner signed, which is the one proof this crate may act on where tests/account_tier.rs forbids an account write, so push and propose refuse the key by absence; loot runner add is the only enrolment verb and writes a home file, with --pubkey for a key minted in place and the custody cost stated; keys ride the ADR 0057 standing deposit widened to runners, per object address and never acked, so the forge ticket owes a reap rooted from live trees; a one-shot runner fetches one version through a new route that also serves the already-wrapped keys the forge holds for it and keeps no store, which removes the 55.8 MB per-job pull #2092 measured, while serve keeps a store; the on column names the tree a step judges, change or main, never the moment, on ADR 0085 rule; one job per version, trigger and kind under a runner-named lease, with the kinds declared in the push and propose envelopes because the forge holds the pipeline file as ciphertext and cannot read it; claim by poll with a content-free wake-up URL; trust defaults to members and a stranger is admitted by an owner attestation pipeline/approve; a runner signs passes only, one per job as pipeline/trigger/kind, because the attestation lane binds no timestamp and signed fails would leave unordered contradictions, so fails and durations are forge job rows; a sealed log tail rides BlobStore with --logs forge or local and a proposer never sees bytes; and pipeline run --version materializes a scratch tree under the resolve --tool invariants, chosen against the recommendation with the cost recorded. CONTEXT.md gains Pipeline, Runner and Job entries that state each property and name what defines each set rather than counting members. Nothing is built, no wire or format byte moves, no migration; the map #2099 tickets build what this decides (#2100)
590b39bc ·dbf3dbe6… - the owner side of a proposal is decided, and only one of ADR 0075 three terminal states had a producer: close_proposal accepts withdrawn, declined and landed and both stores implement it, but its sole non-test caller is propose::withdraw and every other call site is a test or a conformance case, while propose::list had no caller outside its own tests and propose::read only handle_propose_withdraw, so an owner could not see, decline or land anything and the half of ADR 0075 naming their acts was unreachable rather than undecided. landing stays LOCAL and the forge only observes, foreclosed three independent ways rather than by preference: the forge would have to mint a HeadDeclaration carrying generation_expected, which is the one artifact this design has a client sign; ADR 0091 decides the forge runs nothing because it holds ciphertext and cannot run a step over a sealed path, and a land is a converge plus a gate; and a runner cannot stand in because ADR 0091 puts it under no account, so both write doors refuse it by absence. ingest closes the row pre-computed OUTSIDE its transaction, because IngestTxn is assembled and validated outside so the transaction is pure writes after the CAS, and that same CAS is what makes the pre-computation sound rather than racy, generation_expected pinning the very head set it assumed. the decline binds the repo, the change id AND the tip, the tip because re-proposal after a decline is permitted and a captured envelope must not end a revised one. the read surface is two transports sharing no path, the CLI over HTTP and the site over Postgres barrier views, so both are owed and a conformance pin demands that visible_to and the views answer with identical row sets, or the web discloses what the CLI conceals and nothing fails. the presenting key is world-visible and the propose-time disclosure now says so rather than naming existence alone. and one consequence of this ADR was WRONG: landing a proposal does not take policy::approval off its SelfAuthoredFastPath arm, because that function compares a GitHub PR author login with the GitHub account running the land and reads the loot change author nowhere, so an owner opening the PR keeps the fast path and a stranger code lands on the weakest approval signal with nothing in the gate knowing it was not theirs, which is why a distinct owner-signed review/approve role is required rather than the question handed to map #1014. ADR 0091 gains the landing policy home and the second human role, CONTEXT.md and spec section 7 gain the owner acts, graduated as #2174 through #2178 with #2180, #2181 and #2182 filed beside them. docs only: no code, no migration, no wire or format byte moves, so this owes no deploy (#2162)
31ecdf50 ·diffdbf3dbe6… - the land gate gets the predicate it was specified without, and proposal-derived turns out to be the wrong concept: ADR 0075's #2162 amendment said the local land enforces attestations for a proposal-derived change and never defined it, which could not be built at all because loot-first reads no loot change author anywhere and the only author it sees is the GitHub PR login, the very field that amendment had to correct. ADR 0092 replaces the concept rather than implementing it, firing on a change whose author is not in the lander's own key set, the active signing key plus the rotation archive, because what a gate should care about is code the lander did not write and the route it arrived by is incidental, which also catches a colleague's change carried in with no proposal at all, the case ADR 0075 calls a feature. two predicates stay separate on purpose and each names its own question: carry_line asks may I re-author this and must compare the current key since a rotated key cannot sign, while the gate asks did I write this and spans every key the identity has used since a rotation does not make earlier work somebody else's, so a rotated operator's own change is Foreign to the carry and theirs to the gate, and the natural repair of unifying them breaks one caller in either direction. that same Foreign arm is what makes a verdict usable at a land at all, since an attestation binds a version and a foreign suffix is merged rather than replayed, so version ids survive where a replay would have detached every pass in silence and read as not yet verified. the judged set is the ancestor closure of the lane tip minus what main covers rather than carry_line first-parent chain, because a stack containing a merge of its own would otherwise smuggle unapproved work in on a second parent and report green. an absent author counts as foreign and that was already shipped. gating is the repo policy, declared per requirement in the LANDED .lootpipeline and defaulting to advisory, which is what makes the #2162 rule about reading the landed copy load-bearing rather than prudent, while detection is always on and the verdict line states foreign authorship so that advisory never becomes invisible. the predicate itself is not configurable, authorship being a fact rather than a preference. ADR 0091 section 6 is corrected in passing: its sentence that a change step judges the merged tree at a land is an intention, loot-first naming .lootpipeline nowhere and a land running the Land gate phase off the untracked .loot/gates instead. CONTEXT.md gains Foreign authorship, and #2178 is re-specified and shrinks. docs only: no code, no migration, no wire or format byte moves, so this owes no deploy (#2216)
3c7ce4b1 ·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 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… - 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… - the reap of runner deposits ADR 0091 section 4 owed is built, which closes the last half of this ticket: a runner mailbox is now PER REPO (migration 0026 runner_inbox, keyed repo_id and runner_pubkey and blob_address under 0017 binding), because the question that stopped the first attempt was that grant_inbox is keyed by recipient alone while liveness is recorded per repo, so a reap for one repo could drop a key another repo jobs still need and the standing walk, deduped by its own ledger, would never deposit it again. the operator chose scoping the mailbox over a reader that crosses repos or refusing one runner key in two repos, and the third option turned out not to be enforceable where it would have had to be anyway, since runner is keyed repo_id and pubkey and repo-bound so a forge serving one repo cannot see that a key is a runner elsewhere; a global unique index could, at the cost of making its refusal an existence oracle about another tenant repo. it is a second table rather than a repo column on grant_inbox because row security is per table and grant_inbox mailbox is the caller own verified envelope pubkey, which is what closes the read-anyone-mailbox hole, while an owner filing a key for a runner they registered is a different fact through a different door. WHAT IS LIVE IS THREE ROOTS, and a change ships its whole tree so a root manifest entries ARE its objects and there is no ancestor walk: the declared heads, open proposal tips, and the versions of UNFINISHED JOBS - the third is not redundant, since a push moves the heads and a withdrawal closes a proposal while a job made for that version still stands, and a pin holds it alone. history is deliberately not a root, because any change references it is true of every superseded object forever, so a reap rooted there keeps everything and does nothing, which is the failure section 4 describes. the door is loot-forge --reap-runner-deposits --repo owner-hex/repo, which lists and destroys nothing until --apply, the shape reap-grants has, because the row is the only copy of that key the runner gets; it names its repo and reaps no other, refuses --dev, and refuses a missing or malformed --repo. the decision of what is dead is one implementation over the trait and the store write is pure, the split ingest keeps. red under mutation, counts read each time: ten mutations through the policy and the reference store each went red at 1 passed and 1 failed with the pg stamp skipping, each restored to 2 passed - the three roots removed one at a time, a terminal proposal and a finished job counted as roots, a listing that destroys, history as the root, the mailbox read across repos, a deposit that is not idempotent, and a drop that ignores which runner it is for; the history mutation was TOO WEAK on its first attempt and is recorded as such, since an empty version list emptied the live set rather than widening it and so duplicated the heads mutation, and re-done as rooting at every change the repo holds it goes red one line further down at the assertion it is for. on a throwaway Postgres 18 the two mutations only the driver SQL can carry went red at 0 passed and 1 failed after an unmutated green arm, the DELETE no longer naming the runner and the INSERT no longer idempotent, each restored. bash ci/local.sh is green against Postgres 18 (4565 passed over 142 binaries, 13 ignored) with all three new conformance cases running on the real database, and the forge suite is green after the sweep (638 passed). NOT EXERCISED AGAINST A REAL DEPOSIT: nothing writes a runner deposit until loot runner add, so every row this has run against is one a test filed, and the first run over a mailbox a push filled is owed to that ticket. migration 0026 rides the forge binary so the forge owes a deploy, and nothing is broken until then because no code path writes the table yet (#2159)
a4cabdfd ·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… - loot runner add enrols a runner and every push to a forge keeps it current, the second land of #2130 (ADR 0091 §3, §4): add registers the row on the forge first, which judges it, then writes the runner's key into .loot/runners, and when it minted the key writes a home file under .loot/runner-homes/ in ADR 0059's KEY=VALUE dialect with the forge URL, name, kinds, pubkey and private seed, and deposits through the same route a push takes. a push to a forge reads the repo's runner rows from /runners/list and seals a key-only grant, DagRepo::grant_key_only, for each held Restricted or Internal key inside each live runner's scope, filed through /runners/deposit and deduped by the (remote, oid, pubkey) ledger, written only once a batch is delivered; an embargoed key is never deposited, since grant_key_only reads the keyring and not the escrow, and a forge that will not answer the list is a note and not a failed push. ⚠ the #2162 amendment put a runner in .loot/peers, which is also the burn-trust set, the unquarantined grantors and every timed grant's recipients, so the runner file is its own and only the attester trust reads it, keeping the operator's trusted-but-not-a-recipient decision by construction; ADR 0091 records the correction. the scope always reaches .lootpipeline, added when left out. the verb census moves: README 88 verbs, 146 usage lines, ADR 0066 at 88 dispatched and 51 refusing the flag, PROSE_ONLY_CEILING 51 to 52 with its reason, the placeholder census and the site verb list. red under eleven named mutations, each restored, counts read each time: the key-only grant falling back to the escrow (0 passed and 1 failed), and 1 passed and 1 failed over the two workspace tests for no scope filter, no ledger check, a retired runner planned, no Internal lane, the ledger written before delivery, the attester trust ignoring the runner file and the runner file read from peers, five of which also went 0 and 1 end to end, as did the runner written into .loot/peers, a push depositing nothing to runners and the pipeline file left out of the scope. the loot-cli, loot-core, loot-identity and loot-net suites green but for two census tests fixed since, and the site gate green at 842 passed (#2130)
37a00dd9 ·diffdbf3dbe6… - loot runner once and serve, the runner side and the last land of #2130 (ADR 0091 §5, §7 to §11): a store-less runner reads its home file, or the same LOOT_RUNNER_* keys from the environment, claims one job of a kind it can do, leaves a job below its --trust floor for its lease to return, and fetches the one version through /jobs/fetch. before a byte is written the node's id must derive from the tree the forge sent and a node naming an author must carry its signature, since the pass it signs names that version; the tree opens with its key-only grants into a ScratchTree, now built from rows by ScratchTree::of_rows, which also refuses a path that would leave it, and pipeline::run_kind runs that kind on that trigger through the same step executor as run, teed so the output is kept. only a pass is signed; the detail is each step's name, outcome, exit code and duration and the count of unopened paths, and anything that quotes the tree, the unopened paths, a step's last 8 KiB and an unreadable declaration's refusal, rides a log tail sealed to the repo's owner as a runner-signed SealedGrant. serve is once in a loop, store-less too since a runner key cannot pull, claiming again after a judged job and waiting --poll after anything else. measured from an empty home against a release forge holding this repo's tree as one change of 1,693 files: runner add deposited every key in 0.42 s and runner once took 2.74 s from claim to posted verdict with the check 1.45 s of it, leaving 0 files behind. ADR 0091 records the departures from §5 and §7, what the runner cannot check and what is not built, and the review's corrections; loot_core re-exports change_id. red under sixteen named mutations, each restored, counts read each time: 6 passed and 1 failed over the seven runner tests for the id not re-derived, the signature not verified, an unstartable step not unrunnable, a stepless kind passing, output in the detail, the log keeping each step's head, the log sealed to the runner, serve waiting after a judged job, a home whose key is not its pubkey, a path leaving the scratch tree, a refusal echoed into the detail and the unopened paths unnamed; 21 and 1 over the pipeline tests for a job running every kind and a job's steps not kept; and 0 and 1 end to end for a pass signed on a failed job. the verb census moves to 148 usage lines and classifies <floor>, and after the review fixes the census, runner, pipeline and runner end-to-end tests were re-run green, the whole suite being the land gate's (#2130)
872ff35a ·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… - pipelines rulings of 2026-10-04: a verdict has three states and unrunnable is not yet verified; runner names go to every reader; a silent runner holds a slot; who may approve a stranger to run is per repo and an approval gets its own route; a runner seals each log tail to the owner and members the forge names at the claim, and the owner may grant a proposer every log of one proposal until it closes (ADR 0091 §2 §9 §10 §11, ADR 0075, ADR 0077 §6); map vyxmrrpq files the Pipelines view from prototype E (vyxmrrpq)
6861b647 ·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… - proposals are read and ended on the web through the Rust routes and taken with loot propose --take: a pull never carries a proposal, the verdict is drawn by reader, comments verify in the browser, the comment flags and --grant-logs are named, web approve waits on #2251, and whose move orders every proposal list; ADR 0075, 0091 §11, 0095, 0097 §9, CONTEXT, build tickets toyysqrq, oprsutvp and rzyprxrz (ykzktrtr)
b507e766 ·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… - 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… - 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 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… - a log sealed before the owner granted a proposal its logs now opens for the proposer on the proposal page: when no grant from the runner names the reader, the browser reads the object of the log with the new wasm logTailObject, asks the session keyring for its key, which answers from a grant another key signed only once the reader accepts it among their pending grants, and opens the blob with the new openLogTailWithKey under the runner check openLogTail makes; until the accept the verdict says the log is granted and waiting, with a link to the pending grants; no route or view changes, so who may fetch a log stays mayReadLog; ADR 0091 section 11 records it and loses that owed item; pipeline-log-grant.test.ts went red without the keyring step (1 passed, 2 failed), with offers accepted on the reader behalf (1 passed, 2 failed), with the other grant addressed to the reader (2 passed, 1 failed) and with the runner check dropped (2 passed, 1 failed); cargo test ran 2259 passed, 0 failed and 6 ignored, and the site gate passes 363; it also closes map vyxmrrpq (xorznylt)
0518e434 ·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… - ADR 0111: an agent key is a runner-shaped, path-scoped registration and an agent only proposes; CONTEXT.md's Agent key; the push-deposit and scope-grammar calls resolved, the scoped agent keys map's build tickets filed with waits-on, and the runner registrant gap filed (zxmwssll)
35cfee98 ·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… - the hosted MCP map: ADR 0119 makes a hosted agent an opt-in agent key the agent host at mcp.loot.build holds, on Cloudflare Workers with a Durable Object per agent, reached by OAuth 2.1 through workers-oauth-provider where connecting a connector registers one agent through an owner-signed consent page and its seed rides the grant, so loot-forge still holds no key and takes no bearer; hosted agents are a Pro cap (Free 0) whose excess pauses at the agent door; @lootbuild/mcp publishes from mcp/; amends ADRs 0041, 0091, 0103, 0111 and 0112; CONTEXT gains Hosted agent and Agent host; the research and four calls resolved and thirteen build tickets filed (wzmntptw)
dbb761f4 ·diffdbf3dbe6… - loot keygen mints a key where a runner or an agent lives (myzqxyzs): --home <file> <url> --name <n> --can <kinds> writes the runner home runner once/serve --home read, --key-file <file> <url> the LOOT_AGENT_KEY=<line> an agent's --key-file reads, outside any repo and leaving a repo's own key alone, to a new 0600 file, refusing an existing one, printing only the public key for runner add/agent add --pubkey and answering --json (contract, pubkey, file, for) with no seed; runner add and keygen share home_body and write_secret; the runners and agent-keys guides print the lines, pipeline_guide.rs runs keygen --home, runner add --pubkey and runner once keyed by that file alone, agent_keys_guide.rs runs keygen --key-file, agent add --pubkey and agent self; keygen_elsewhere.rs holds the forms, 0600, no overwrite and the refusals; ADR 0091 §3 amended, ADR 0111 notes it
e9ce4637 ·diffdbf3dbe6… - a runner's pass shows in loot pipeline status with no pull: status asks the repo's remote for the attestations over the version it reads, as pull and the land's gates do, verifies each here and keeps the trusted, and with no remote or a failed one lists what is held and says so; the runners guide's Read the verdicts is that line, run by pipeline_guide.rs after the minted runner's pass; ADR 0091 amended (tqryknsl). member add of a key no account holds refuses with code no_account: the forge app's MembershipRefused carries it in its 422 body, loot_codec maps it, and the message names the holder's loot account open and the owner's member add again; a row on the exit-codes page (zwuxozoq)
74f58d37 ·diffdbf3dbe6… - a retired runner's deposits are reapable: loot-forge --reap-runner-deposits drops every deposit of a retired runner, as the agent reap does a retired agent's, and --runner <pubkey> narrows it to that one retired runner's rows and refuses a live one; scripts forge:act --ACT=reap-runner-deposits runs it (scripts PR 48), and ADR 0091 §4 and workflow.md say so (kkpsvrlu); the catch-up takes a machine a land behind to landed main by itself, so concurrent.md and second-machine-setup.md drop the hand steps (tzsryqtr); the agent test accounts' sign-in files travel in the env bundle, so test-accounts.md drops the direct channel (ntykpumt); the runner add half of kkpsvrlu is filed as wyxvsltu
68c03cdd ·diffdbf3dbe6… - loot runner add says how many shipped paths its scope reaches and names the Restricted ones before the forge is asked anything, and refuses a scope that reaches one (restricted_scope) unless --allow-restricted, a person's act under ADR 0062, so the desktop's whole-tree enrolment would have registered and deposited nothing; a --paths entry that reaches no path is warned of, and --json adds reaches and restricted after the frozen keys; the pin goes red with the refusal or the count mutated; workflow.md, the runner guide and ADR 0091 §3 say so (wyxvsltu); the same hole for agent read scopes is filed (nstqlpxs)
fe9d2277 ·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… - A run step can name a platform: run@linux, run@windows and run@macos are kinds of their own, so a platform step is a job and a pass role of its own, leased only to a runner enrolled for that kind (runner add --can run@windows), while a plain run stays any run runner's, so old runners and pipelines work as before; the grammar change is the kind column alone, a runner refuses a home naming another platform, runner once runs only the claimed kind's steps, pipeline run lists another platform's step as not run, the runner list keeps platform bits out of the byte an older reader refuses and carries whole sets after the rows, and pipeline status adds a platform row only once a pass names it; no schema moves; ADR 0091 §7 amended (oskvnots)
0a2ddd92 ·diffdbf3dbe6… - GitHub Actions stays off on loot, and every workflow's job runs on a loot runner: site-main and npm-publish join .lootpipeline on loot-ci (the site gate on every main; @lootbuild staged with a stage-only npm token for the operator's approval, or dry-run without one), each workflow keeps a header naming its replacement, the land's skip messages name loot-ci's steps, ADR 0091 and 0112 amended (nxoqwsly)
93217d8f ·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.