Changes touching this path
- 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 ·dbf3dbe6… - 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… - loot-cli production comments cut by 70% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, contracts and safety reasoning kept; comment-only, Rust token streams identical, test modules untouched (yrkykmsn)
51eb5832 ·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… - 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… - 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… - loot runner retire retires a runner on the forge for good, by --pubkey or by a --name only one live runner holds, so it claims no job and stops counting against the plan's runner cap, and the cap refusal names it; the trial half is split to pqxosnyw; ADR 0103 decision 8 names the verb; the selection test is red with the live filter removed (pmuyqmvk)
3ddc1a5b ·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… - a key is yours when both it and a key already yours sign a vouch, built in part (ADR 0115): loot-identity keeps vouches and revocations in .loot/vouches, two signatures over one statement, and the own-key set the land reads for foreign authorship and require approval adds the keys a vouch links to it, less the revoked and the keys vouched only through them; loot id vouch-request prints the new machine half as a token, loot id vouch completes it on the old machine and refuses a key trusted here as a runner or holding an agent or runner row, retired included, on the default remote forge, loot id revoke signs a revocation, and loot agent add and loot runner add refuse a vouched key; red without it: vouches ignored (identity 1 passed, 1 failed; land 0 passed, 1 failed), either signature unchecked (1 passed, 1 failed each), revocations ignored (identity 1 passed, 1 failed; land 0 passed, 1 failed), the judged set keeping main (0 passed, 1 failed), and each of the agent, forge runner and local runner arms and the agent and runner registration checks removed (0 passed, 1 failed each); a vouch travelling through a pull, the forge approval door of ADR 0115 §4 and a forge-side registration check wait on where a vouch lives that a pull and a forge read; ADR 0115 and CONTEXT say what is built; the suite is green at 2447 passed, 0 failed, 6 ignored (xxtlrzlm)
10f63cde ·diffdbf3dbe6… - loot agent add hands a minted key over where a program takes it: --key-file writes LOOT_AGENT_KEY=<line> to a new file only its owner reads and prints no secret on either stream, refusing a path that exists before the forge files a row, and --json prints one object whose key field is the line, or null when a key file took it; loot runner add --json names the runner, its key and the home file that holds it; under --json both move the deposit lines to stderr; the agent-keys guide says what reads LOOT_AGENT_KEY, the SDK connectForge and the MCP server config, that the loot binary does not, and that neither package is published yet; forge_push test red before the change (0 passed, 1 failed); cargo test 2635 passed; whether the binary reads the key is filed as a decision (ytztnuwn)
7a2d956c ·diffdbf3dbe6… - every write answers --json with what it wrote, and every verb form takes a machine format or a written exemption held by a census test (ADR 0122): 78 forms without one become 13 exemptions; the refusals an agent branches on carry their own codes, two of them the forge app's to say; plan refusals name loot plan upgrade; unlock and id lock take --passphrase-file; pull --json counts the paths it left sealed; the login refusal names the keyed route; loot update refuses over a linked build and a ticket write refuses in a primary that lanes share (rkumrwrk, mmppxtww, tvonnmqo, koqxltqm, svrkqxqu, sptuokrx, lvqmsuzl, utokolzp)
e7002bc6 ·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… - 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… - loot agent add and loot agent scope say how many shipped paths the read scope reaches and name the Restricted ones before the forge is asked anything, and refuse a read scope that reaches one (restricted_scope) unless --allow-restricted, a person's act under ADR 0062, as runner add does; --json adds reaches and restricted after the frozen keys; the pin goes red with the refusal disabled or the scope check removed; ADR 0111 §8, workflow.md and the agent-keys guide say so (nstqlpxs)
f202c51e ·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…
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.