Changes touching this path
- the integration tests of loot-cli, loot-core, loot-net, loot-first and the database-free half of loot-forge link as one test binary each (tests/all.rs declaring the files in place, autotests = false, and emit_snapshot, wake_proxy, oplog_record_cost and the live-database forge files kept as binaries of their own because they set environment variables, install a global allocator or share a Postgres cluster), so the integration-test binaries drop from 82 to 25 and the test executables from 107 to 50 with every test kept (the same 389 integration tests by name and 2231 passed, 6 ignored, now 2232 with the new guard), a touch of loot-core then relinks 41 binaries instead of 98 in about 6 s against about 12 s on the Mac and the gate-style run of the units takes about 18 s against 19 to 37 s under load 20 and more; the site gate type-checks through tools/typecheck.mjs, one incremental tsc -p per referenced project beside the others with its build info in node_modules/.cache/tsc keyed on file content, taking the step from 7.8 s to 1.2 s on a repeat pass, and runs build:wasm through tools/build-wasm.mjs, which skips wasm-pack while src/wasm carries a stamp of the cargo-metadata closure of loot-wasm, the lockfile, the toolchain pin and the output hash, taking it from 1.1 s to 0.14 s, so a repeat site gate runs in about 9.8 s against about 16.6 s (medians of 4 interleaved runs, a cold pass unchanged within noise); orchestrator.rs is untouched because the gate is still npm run gate; test_files_run in loot-first fails the suite for a tests/*.rs that no binary builds, red with a stray file in loot-net (0 passed, 1 failed), typecheck.test.ts pins that a cached failure, an old-timed edit and an unreadable cache never turn a failing project green, red with a failure forgiven when a cache exists (1 failed), and build-wasm.test.ts pins what refuses the skip, red with the dependency closure dropped (7 passed, 1 failed) and with the output hash dropped (7 passed, 1 failed); the suite is green at 2232 passed in cargo test and 357 passed in the site gate (pvqwkyso)
572b273c ·dbf3dbe6… - loot id export, loot id import and loot clone --identity-file read their passphrase from the first line of a --passphrase-file file only its owner can read, else LOOT_PASSPHRASE, else a terminal on stdin, and with none of the three refuse at once naming the flag and the variable, where they opened the terminal device and failed with a bare os error 6 on macOS or blocked on Windows; the operations twin of this ticket is resolved with it (txxozqsq); every prompt in loot-cli goes through the new ask module, reached only by a value that exists when stdin is a terminal, and a census test fails when production code outside it names a prompt primitive, red with a raw stdin read put back in tutorial.rs (0 passed, 1 failed); the refusals of id lock, unlock, login, split -p and restore -p without a terminal carry the code needs_terminal, as does id phrase, whose refusal now says the words are a person's backup and names the encrypted export for a run with no terminal (oyqpmnot); ADR 0016 records the sources; the end-to-end test went red with the file and variable branches dropped (0 passed, 1 failed); cargo test -p loot-cli 577 and 175 passed (oqknmott)
0cacbdf8 ·diffdbf3dbe6… - bare loot --help prints an index, one line per verb with its first usage signature and the start of its description, 11.5 KB on 101 lines where it printed all 118 KB of usage; loot help --all prints the whole text and loot <verb> --help is unchanged; loot help --json prints the declared verb set as data, each verb with the flags its gate accepts, its usage forms saying which name --porcelain or --json, and its subcommands with their own flags, read from USAGE, COMMANDS and SUB_FAMILIES; the machine-output page points there in place of a grep over the help; tests/help_index.rs red before the change (0 passed, 2 failed); cargo test -p loot-cli 781 passed (owlnouwp)
10873d1c ·diffdbf3dbe6… - loot login runs with no terminal, where it refused before making a code: with none, or with --no-browser, it opens no browser and writes the code, the /device address and how long the code works as the first lines on stdout before its first poll, then waits and exits 0 once a signed-in person approves the code; --json makes stdout a login line and a signed_in line, each opening with the contract, and a code turned down or lapsed fails as login_denied or login_expired; the passphrase is the first line of the --passphrase-file file, else typed by a person at the terminal, else LOOT_PASSPHRASE for a run nobody is at, and it is read and checked before the code is made, as is the name --identity gives a machine outside a repo, so no approval is spent on a run that would refuse after it; --key names which key to take from an account with several; a wrong passphrase nobody typed fails at once in place of three identical tries; ADR 0103 decision 5 records the unattended door; the tests run the binary against a stub of the forge app login routes with a config directory of their own, since a prove runs test binaries without the variables cargo sets and the first version wrote the machine key and forge of its stub into the real config, which failed four propose tests beside it (ppxkwmmw files the gate); they went red with the terminal requirement put back (0 passed, 2 failed); cargo test -p loot-cli 579 and 179 passed (ruvoxmlu)
caf23d45 ·diffdbf3dbe6… - the loot binary reads LOOT_AGENT_KEY for four verbs, so an agent handed a key and a plain install reads and proposes with no SDK: loot agent self prints the registration the forge holds, loot agent files every path of the head as open, no_key_yet or out_of_scope, loot agent cat one file as plaintext, a chunked one whole through the object route, and loot agent propose -m <subject> <path>... offers the named files, read from the current directory, as one change on the head, sealed by the head rules through the builder the SDK uses, with its keys granted to the agent and the owner through the agent door; they run outside any repo, take the line from the variable or --key-file, keep nothing on disk and print one JSON object under --json, with refusals coded no_agent_key, bad_agent_key, out_of_scope, no_key_yet, no_such_path and needs_publish_consent; loot-wasm becomes a dependency of the binary with no lock change; the agent-keys guide, the CLI page, ADR 0111 and CONTEXT.md say the binary is a client, and the byte budget is recorded for the guide; with the client read-scope check removed the refusal test went red on the code (1 passed, 1 failed) while the forge still refused; cargo test -p loot-cli 594 and 187 passed, the site gate 413 passed (qtwprtkt)
6a06b63d ·diffdbf3dbe6… - loot member add and remove name a collaborator by handle as well as by key, and watches and notification settings have verbs: the roster route takes handle in place of pubkey, reads it as the oldest live key of the account that holds the name now and answers the key it stood for, with a name no account holds refused 422; loot account watch [on|off] reads or sets this account watch on one repo, and loot account notify [<toggle>=on|off]... reads the notification toggles or changes the ones named, writing the settings whole as the route takes them and refusing a toggle the forge does not have before anything is written; each prints porcelain and JSON, and the member change gains a handle field; the binary test against a stub of the routes went red with the notify write sending only the changed toggles (0 passed, 1 failed); checked end to end on a throwaway Postgres with the site server and two keyed accounts; cargo test -p loot-cli -p loot-net passed, 594 and 188 among them, the site gate 413 passed and the site live suites 103 passed against Postgres 18 (utyrrmys)
77adb646 ·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… - Windows correctness: on a filesystem that folds case a tree write keeps one spelling of names that differ only in case, records the rest never-materialized, says so after the verb and doctor fails naming them (mqzorvmp); a file another process holds open is retried, then left held back while the rest of the tree is written, and the verb names it and exits 1 until surface finishes it (wkuvwpxq); a name Win32 rewrites, such as one ending in a dot, is read and written through its verbatim path (wroorswy); every machine shape prints tree paths with / (uykmwpkm); --passphrase-file refuses a file whose access list lets others read it (sqyqkkrq); ci/install-smoke.ps1 runs its loot calls under Continue (xtryrwrm); AGENTS.md, the issue-tracker doc and the CLI page name the Windows PowerShell 5.1 pipe and stderr traps (xryxuzzl) (novqmmmy) and the escape hazard of editing through scripts (tumpytwl); and the pre-land suite runs green on Windows: path allow-lists by component, the fake spawner by file stem, the installer proxy tests in sh's own path spelling, gate programs without the in-turn switch, the config watch off inside its own unit tests, an hour for the packing tests and 120 s for the site's vitest; red before on the desktop each (tree_write_hazards 0 passed, 1 failed per case with its fix out; the verdict and passphrase-file tests 0 passed, 1 failed; guards 1 passed, 2 failed; installerProxy 3 failed; the beside-rows test under the switch 0 passed, 1 failed), green after; with tickets filed for the Windows audit under zxqkmrny and for landing from the desktop under wmputmok (ylwumypm) (nptlnmxl) (vuusszqt)
Perf-Baseline: reset this desktop host's baseline is its last land, 2026-10-08 (a8d827fe49b4); landed main has since moved offer_addresses_delta1 24 -> 1 and store_file_reads 21 -> 20 through the Mac's lands (nutxovpx)
062262da ·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… - a keyed account rotates its key without stranding its repo, and reads what happened without an address: loot account rotate mints the key and keeps it under .loot/rotation, has the forge add it and retire this repo's key in one request the retiring key signs, then makes it the repo's key and, when the machine held the retired key, the machine's under the name minted on it, the old one archived and the remotes unchanged, and a run that stopped is finished by the next; loot login in a repo whose key the forge does not take as an account's takes the key this machine keeps when the forge takes that one, with no code and no passphrase, which is how a second repo follows a rotation (ADR 0120 decisions 5 and 7 amended); loot account inbox reads the forge's /activity by a signed request, what others did on the account's repos and proposals, each event once across polls by a marker in .loot/inbox-seen, and loot account notify says a keyed account is sent nothing and names it; the hosted forge page rotates with it and names the inbox; no forge change; red with the machine-key login, the resume probe and the own-act filter off (0 passed, 3 failed), cargo test -p loot-cli -p loot-net green, and the rotation run end to end against the site server on a throwaway Postgres 18 (slqzpryo, tnrtxmrx)
8a7e6e42 ·diffdbf3dbe6… - every verb that acts at a forge rather than in a repo finds it by one rule: the address given, the repo push remote, the forge this repo or machine last met (door redeem now keeps its invite forge), else forge.loot.build, spelled once as verbs::HOSTED_FORGE; login, account, door and plan take it, and the hosted-forge page steps run as printed in a test (mzxnnmpz)
b28d80ba ·diffdbf3dbe6… - runners and pipelines get a docs page: Run CI on runners you own (/docs/guides/runners) gives the .lootpipeline line grammar, the check names, run argv, require, pipeline list/run/status, runner add and its home file, --pubkey, --wake-url, over_plan, retire, once and serve with the trust floors, runners, and reading verdicts; docs-reference.test.ts holds it to every pipeline, runner and runners subcommand loot --help declares, pipeline_guide.rs runs its .lootpipeline example from the page, and the guide and loot pipeline --help are held to CORPUS_CHECKS; help gains an example line and the check names; budget recorded for the new surface (wmyutppm)
6b5b0b63 ·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…
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.