connor / loot

connor/loot

Changes touching this path

  • verbs/: seam scaffold + the repo family (init/clone/config) (#661) 28849eaa · dbf3dbe6…
  • verbs/identity: keygen/whoami/id/peer (#661) 25ea4f86 · dbf3dbe6…diff
  • a browser-minted identity reaches the CLI: loot id recover decodes the 24-word phrase to the exact seed, and a shared vector holds both implementations to the same bytes (#926) fd153402 · dbf3dbe6…diff
  • custody at rest seals to your own key behind an optional passphrase, unlock is a session file or an env var, and no non-interactive caller starts prompting (#1138) c8ffee3b · dbf3dbe6…diff
  • the unlock session file is 0600 from birth, the format guard walks a locked store, and id lock re-encrypts before it rewrites the session (#1175) fd154ee0 · dbf3dbe6…diff
  • the unlock session holds the seed sealed under this repo's own ciphertext instead of the passphrase you typed, so a synced config directory leaks a window and not a secret you reuse elsewhere, and the passphrase is zeroized from the moment loot owns it (#1173) 1943d2c7 · dbf3dbe6…diff
  • the keyring and escrow share one codec so a custody decision is written once, the locked refusal has one home instead of five drifted ones, and the terminal predicates each say why they differ (#1174) 33aca9d9 · dbf3dbe6…diff
  • loot id phrase cuts the key for the recovery door loot id recover already opened, issuing the 24 words for any identity ever minted with no derivation change, and refusing outright when stdout is not a terminal because those words are the private key 8bd665a5 · dbf3dbe6…diff
  • loot whoami stops handing you a paste-ready peer add for a name and key it cannot vouch for, because binding a peer's nickname to the wrong key seals every later grant to the wrong identity (#1390) bffbe094 · dbf3dbe6…diff
  • shortlog grows -n, -e and --group, and the mailmap lands as a DISPLAY grouping whose boundary is three structural facts rather than a comment. it lives under .loot, which walk_stat skips at name == DOT BEFORE any ignore rule, so it cannot enter a tree, a change, a bundle or the git mirror and nothing arriving over a wire can write it. the module is pub(crate) in the loot-cli LIBRARY, while verification lives in loot-codec and loot-core and AccessClass and pusher admission live in loot-forge and loot-relayd - every one of those is a crate loot-cli DEPENDS ON, or one that does not depend on it, so the use does not compile there and making it compile means a DEPENDENCY CYCLE. and the type answers key to STRING and never key to key: there is no canonical-key operation and no iterator, so even an in-crate caller, where privacy does not help, cannot obtain the key behind a key. inside the CLI the scope is judged rather than maximised - grant-status, attest, custody and manifest deliberately KEEP the un-mailmapped resolver, because those columns name a key that HOLDS A CAPABILITY and an alias there would be a display that reads like an authorization claim. the rotation criterion takes the DOCS arm and the reason is sharper than the ticket knew: the keypair is ALREADY SWAPPED by the time the report renders, so a rotation that failed because a display file could not be written would report FAILURE OVER A COMPLETED ROTATION. the ritual prints the exact two-line entry at the moment the operator needs it, and a pin feeds that printed text back through the parser so it provably pastes. the file is untracked BY LAYOUT because display names in loot are LOCAL: .loot/peers is local, the ambient identity is local, and blame porcelain author column was frozen as the KEY precisely because two machines reading one repo render different words for one author. a TRACKED mailmap would make some labels repo-wide and leave the rest local, two authorities for one column, and would hand anyone who can land a change the power to relabel an author in everybody else log. one mutation could not be WRITTEN and that is the finding rather than a gap: routing the mailmap into the key column is not EXPRESSIBLE, since the resolver hands back str and String and exposes no key at all while the key columns take a 32 byte array, so a collapse mutation was substituted to prove those assertions are live and the inexpressibility is reported as the structural claim instead of as a green test. one behaviour change is deliberate: the default order flips to NAME order so that -n selects something, because an -n that named the only existing order would assert nothing. and two pre-existing guards caught real drift on the way - the documented-flag census tokenizes on whitespace and brackets only, so a dash-flag followed by a comma or a backtick in PROSE reads as a documented flag, and the verb-grep census needs its row on ONE line, so a wrapped row silently loses the count (#1531) cfaaad9f · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • a test is kept only for a bug whose damage outlives its detection (ADR 0105, docs/agents/testing.md): disclosure, durable bytes, signed history, silent-pass refusals and machine contracts keep their tests, everything else is trusted or fixed fast, and assertions are on outcomes, never prose. the implementer brief asks that question before a test is written and owes a mutation proof only for a must-test pin. the suite is cut to it in one pass, Rust test functions 4848 to 1665, site vitest cases 1307 to 258 and SDK cases 160 to 64, with the living docs and comments that named deleted tests corrected and ADRs, tickets and released migrations left as history. cargo test green at 1945 passed with 6 ignored, the site gate green at 240 passed, the SDK at 75 passed with its one known macOS path failure from before the cut (ruwknvpw) 61f0184b · dbf3dbe6…diff
  • site and sdk production comments cut by 71% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, security reasoning, browser quirks and directives kept; comment-only, the TypeScript AST without comments identical, built bundles unchanged but for the build stamp (yrkykmsn) d8c01375 · dbf3dbe6…diff
  • docs/agents/writing.md is the standard for comments and docs: a comment says only the why the code cannot, rg and loot log answer who-calls, which-members and when-changed better than a cached comment, and history, ticket numbers, rosters and emphasis are deleted on sight. AGENTS.md links it. CONTEXT.md, AGENTS.md, docs/agents, the skills, specs, READMEs, research and evidence are cut by about 65% to it, every cited heading, § number and test-pinned string kept; files the yrkykmsn ticket (yrkykmsn) 8e3c7b83 · dbf3dbe6…diff
  • the ADRs are cut by 71% to the docs/agents/writing.md shape: Context, Decision and Consequences in about a page each, amendments folded into the decision they amend, function tours, test counts, sweeps and ticket archaeology removed; every title, Status section, cited § and numbered decision kept. ADR 0103 folds in the vmusyoxz, snmzospn and xrqwmovz amendments and restores the operator rulings of 3e1a10ce that the loot-core comment land reverted (yrkykmsn) 0fc947d9 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • a grant bundle can no longer land in the working tree: every capture refuses a file the codec decodes as a tag-1 grant, whatever its name (plaintext_grant, no override), grant refuses a file and migrate, maroon and id rotate refuse a dir that a capture would record, and their re-grant waves default to .loot/grants instead of the cwd; migrate runs the signing gates over the path it re-tiers first, so a holder list without you refuses up front unless --allow-lockout; both refusals pinned and mutation-proved, the ticket repro re-run through a loopback relay, guides/migrate, the cli and security pages, help lines, CONTEXT and ADR 0038 updated (rnknlukm) f8a37e00 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • a custody-locked repo whose passphrase is lost is re-keyed in place by id recover from its 24 words, or id import from an export: the key must match .loot/id, .loot/id.pub and the sealed keyring recipient and open every sealed entry in memory, else it refuses before writing anything; then only .loot/id is rewritten, encrypted into a sibling and renamed over, and the session is kept as id lock keeps it, so the keyring, escrow and local-only Restricted content survive untouched; the wrong-words refusal and the never-plain property pinned and red-proved by seven mutations, ADR 0068, CONTEXT, help text, guides/recovery and the glossary updated, crate suites and site gate green (zwmwxzxy) 8a2ac388 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • loot peer add re-applies the grants pull-grants quarantined from the key it registers, by the steps grants --trust runs, and grants --trust registers nothing when a peer already holds the key, so a grantee who names the grantor after the pull reads the path, red before the fix (0 passed, 1 failed); a maroon of an identity that holds nothing on the path, the state a maroon leaves, re-seals and signs nothing and exits 0, where a second run minted a second object and a second signed change, red before the fix (8 passed, 1 failed); the telemetry verb count is appended only while telemetry is on, after the verb, and an off run removes the file, which had grown with every verb on machines that never opted in (18.7 MB on the desktop), red before the fix (1 passed, 1 failed); the grant guide, CONTEXT.md, the review-quarantine runbook and ADR 0074 say so; cargo test 2595 passed (oqtrotum, wmzmnnzn, msmywmlw) 2ae8c7bd · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • loot id rotate refuses in a repo with a forge remote, before the re-grant wave and the key, naming the account page and loot login, since a forge takes a namespace's writes from its account's live keys and a key minted here strands the repo behind a 403; --leave-forge rotates anyway and says the remote still names the old namespace; the rollback line names both archived files, where copying .loot/id alone left .loot/id.pub naming the new key; a forge 403 now gets the remedy of the refusal it is, the custody list's line only for not allowlisted, a takedown's for taken down, and for a key that is not the address's the key that signed, the account page and loot login; ADR 0016 and the rotate-key runbook say a forge repo rotates on the account page; the rotation test went red with the check disabled (1 passed, 1 failed); cargo test -p loot-cli -p loot-net 580, 175 and 68 passed (ynlvrszq) 852bf77b · dbf3dbe6…diff
  • the verbs on a newcomer journey print one JSON object under --json, contract first: push (remote, host, objects, batches, bytes received, the forge tip, the plan notice and each agent still owed keys, with its narration moved to stderr), clone, pull-grants, grants and grants --quarantined, grant-status, whoami (which gains the 64-hex key a forge names you by), doctor (the report with exit 1 on a failing check), remote add, remove, list and info, and peer list; a clone the remote served no change to refuses with code nothing_served and keeps nothing, where it left an empty repo and exit 0, and --allow-empty keeps that repo when asked for; emit gains JsonObject, Record and narrate for a verb whose only machine format is --json; the two forge_push tests red before the change (0 passed, 2 failed); cargo test 2610 passed; the verbs not reached are filed as nkszyvwz (oqryvmzk, vvwqults) b0a2593d · dbf3dbe6…diff
  • the verbs the audit named answer one JSON object under --json, and every id and lane leaf takes it so the refusal codes minted for them reach a caller: init, show (its header, then rows and disclosure as diff --json spells them), verify (the report, printed before the refusal when the store fails), op log, tickets and ticket frontier (rows by name, the frontier with the live lane holding each ticket), grant in both forms, grants --trust and --replace-standing, maroon, migrate, peer add and remove, keygen, the ten id leaves, unlock, lock, and lane take, name, land, rm and gc; each object is built from the values its prose is built from and its usage line names its fields; needs_terminal, rotation_is_the_forges, lane_holds_unsigned, lane_holds_unlanded and lands_through_mirror now print as coded errors, and the exit-codes page lists the six it lacked; the rotated key 403 remedy and the id rotate forge refusal name loot account add-key --retire-this for a keyed account ahead of the account page, which only a signed-in person reaches; agent list --porcelain stays frozen with --json beside it; one smoke test pins every object key set and the five codes, where the released 0.4.39 refuses init --json as an unknown flag; cargo test -p loot-cli 594 and 186 passed, the site gate 413 passed (nkszyvwz) 4f811849 · dbf3dbe6…diff
  • loot id import and loot id recover take --replace, the login refusal for a key with no passphrase copy is coded, and the release runbook says how a release ends with the Windows smoke owed: in a repo that holds a key, as one loot init just made does, import and recover refuse with the code keypair_exists before a passphrase or a phrase is read, and --replace takes the key and keeps the held one at .loot/id.rotated-<time> by the step loot login uses, so no file is removed by hand, a wrong passphrase replaces and archives nothing, the same key again writes nothing, and --json gains a trailing replaced; loot login answers no_passphrase_copy where it answered the catch-all error and names loot id export with loot id import --replace beside the 24 words; the guide recipe for a lost repo loses its rm line; release-install-smoke.md and Deploying what landed say a release ends complete, published-smoke-owed with exit 0, or failed, and that the same command on a Windows machine posts the verdict (scripts PR 27); test-accounts.md says each test account now has a passphrase copy on the forge and how a home takes its key by a device code with no terminal (scripts PR 26, run on production for both accounts); kvmrozqr and xkryvvpx gain what of thread H work is live, all of it, with a repo deleted on its owner request on production, and nxoqwsly what is done and what stays the operator call; the import test went red with the archive step replaced by an overwrite and with the refusal removed (0 passed, 1 failed each); cargo test -p loot-cli 595 and 191 passed, the site gate 421 passed (umtskzlo, rwmwmmxt, nxoqwsly) 82d4320f · dbf3dbe6…diff
  • every write answers --json with what it wrote, and every verb form takes a machine format or a written exemption held by a census test (ADR 0122): 78 forms without one become 13 exemptions; the refusals an agent branches on carry their own codes, two of them the forge app's to say; plan refusals name loot plan upgrade; unlock and id lock take --passphrase-file; pull --json counts the paths it left sealed; the login refusal names the keyed route; loot update refuses over a linked build and a ticket write refuses in a primary that lanes share (rkumrwrk, mmppxtww, tvonnmqo, koqxltqm, svrkqxqu, sptuokrx, lvqmsuzl, utokolzp) e7002bc6 · dbf3dbe6…diff
  • taking an agent's proposal into a lane lands, a ticket filed in the primary no longer blocks loot lane land, and every verb reads a key in hex or as the whoami line: loot propose --take in a lane fetches the stack, refreshes the lane's hold and refuses with proposal_sealed_here, the lane's tip and tree standing, until the primary holds the proposal's keys, then brings the lane onto the proposal by a fast-forward or a signed fold; loot agent add files the agent's key in .loot/agents, which pull-grants reads as an unquarantined grantor and nothing else reads, so the owner's own agent is no unknown key and gains no burn-trust; loot lane land reads primary bytes the lane's change holds as covered and its refusal names the paths the lane lacks and a drop command that works on captured bytes; one verbs::key_arg reads a key on every verb, door::key_arg naming the same reader, and peer add files the OpenSSH line of a key given as hex and refuses what is neither with bad_key; red with each fix off (the lane land test 0 passed, 1 failed; the agent and peer round 48 passed, 3 failed; the take and trust round 49 passed, 2 failed), cargo test -p loot-cli -p loot-identity green, and the agent journey run against a local loot-forge --dev (yqoyslok, ysxzstvv, mkvqpmny) f8252a7c · dbf3dbe6…diff
  • a second account reaches a Free owner's repo with no browser, a key the door refuses can ask, a handle origin proposes, and the forge carries out deletions itself (migration 0078): loot repo metadata public|private sets metadata visibility by a signed request to /repo/metadata behind the owner's door, refusing to publish without --allow-publish, where nothing could set the flag before; propose --door open says who a private repo's open door serves, a proposer shut out of its history is refused history_private before anything is sent, and the repo page says a clone serves members only; loot door request files one bounded, lapsing row a key at /door/request that admits nothing, and loot door requests lists the asks for the operator to admit or --dismiss (ADR 0061 section 3 amended); /info names the namespace a handle address answers as, which repo_path_for asks, so propose, --list and --mine work from a handle origin while a push asks nothing new; a deletion request waits 24 hours from its signing, its answers name carried_out_after and carried_out_by and that the door's admission is kept, and --delete-requested and --delete-account delete the account's rows in loot_metrics (ADR 0103 decision 10 amended, with scripts PR 31's daily timer); the hosted forge page names the ask, the metadata verb and the window; red with each check off (667 passed, 1 failed; 85 passed, 2 failed; 12 passed, 1 failed), cargo test green, and ci/local.sh's Postgres 18 suites green with the site live suites 106 passed (sksvrusm, rzkpvxxk, mnutwvlo, snqtrvzo) c7d7be2b · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff
  • loot init says on stderr when a signed-in machine gave the repo the account key, whatever --identity named, and --new-key mints a key of the repo own instead, and loot keygen --replace mints a new key in a repo that holds one: the warning names whose key it took and both ways to a key of the repo own, every output mode, with the JSON unchanged; --new-key gives account_key false, no forge and no remote; keygen without --replace refuses with keypair_exists as id import and recover do, and with it keeps the held key at .loot/id.rotated-<time> as an op barrier and names in remotes_naming_old_key each remote under the replaced key namespace, where the new key may not push; the keypair_exists and custody refusals from id import read as one sentence where a lost continuation left runs of spaces; the CLI page lists both flags; the binary test went red with --new-key ignored (2 passed, 1 failed); cargo test -p loot-cli 599, 17, 206 and 10 passed (ntnsnxrx) cbb71acd · dbf3dbe6…diff
  • 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 · dbf3dbe6…diff

Renames are not followed. loot's tree maps a path to an address, so a rename is a delete and an add. This list is the history of the name, not of the bytes.