Changes touching this path
- an account act a live key may do is a request it signs, and an account an invite opens has no Clerk user (ADR 0120, migration 0075): the forge app takes Authorization: Loot-Key over a statement of one method, origin, path, body hash and signing millisecond as the session of the account the key is live on, only on routes that name the lane (identity me, handle, label and notifications, billing plan, private me, repos, repo, members and watch), refusing a statement five minutes from its clock, one signed for another forge, and a changing request signed no later than the key last one (account_key.last_request_ms); a key the door admits by a row of its own opens a keyed account for itself with no sign-up, whose live keys add and retire keys, while an account with a Clerk user keeps adding and retiring signed in; loot account show, open, handle, add-key and retire-key, loot member list, add and remove, and loot plan drive it with porcelain and JSON and refusals coded by status; the plan resync, the notification sender and loot-forge --delete-account skip a keyed account Clerk does not know; with the origin unchecked, the body unchecked, the clock taking an equal time, the door not asked, a key adding keys to a signed-up account, and every lane taking keys the lane tests went red (10 passed, 1 failed each); cargo test 2634 passed, the site gate 413 passed and ci/local.sh green against Postgres 18 (zoovvovz)
92fe8a10 ·dbf3dbe6… - 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… - loot plan upgrade prints the hosted checkout address where an account pays for Pro, and the forge app reads the plan back from Stripe once it holds a key (ADR 0118 decision 8): POST /api/billing/checkout, for a session or a live key signed request, finds the price by its lookup key and mints a subscription Checkout Session that names the account as its client reference and in the subscription metadata; it answers billing_unavailable until a restricted key is in the site credentials file and already_subscribed for an account with a plan in effect, both coded under --json; with the key the billing webhook takes a Stripe-signed event, reads only its customer and mirrors that customer subscriptions per account they name, and the hourly pass lists every subscription and clears a mirrored account none names, while without it Clerk stays the reader as today; the site speaks the REST API with fetch and no Stripe package; run against stripe-mock with the site server, a throwaway Postgres and a keyed account; the signature test went red with the check off (7 passed, 1 failed); cargo test -p loot-cli -p loot-net -p loot-codec passed, the site gate 421 passed and the site live suites 105 passed against Postgres 18 (xkryvvpx)
c9878d86 ·diffdbf3dbe6… - a forge operator grants an account a plan with no purchase, by a row its key signs (ADR 0118 decision 9, migration 0077): loot plan grant <key> <plan> [--days <n>] [--note <text>] puts the account that key is on onto the plan until a stated time, 30 days by default and 366 at most, loot plan revoke ends it and loot plan grants lists them, over /plan/grant, /plan/grant/revoke and /plan/grants behind the operator door, which a key the deploy lists passes and a key a row admits does not; each act carries its signing millisecond, and the forge refuses one outside its clock window, a grant signed no later than the key last grant or revocation, and a revocation of a later grant, so a captured request sent again changes nothing; the grant is kept in plan_grant, apart from the account_plan mirror a read of the merchant of record rewrites, and both plan readers, the Rust forge where a push, a runner and a hosted agent are judged and the site planOf behind the collaborator cap and the plan page, read one view, account_plan_in_effect, which gives the mirrored plan or a standing grant where that is the larger, by the database clock, with a purchase of the same plan read as the purchase; loot plan --json gains a trailing granted_until and the plan page says granted, so a grant is never shown as a subscription and a granted account can still be handed a checkout address; forge_identity reads the view and no new base table; test-accounts.md says how a test account is put on Pro, and CONTEXT.md gains Plan grant; with a merely admitted key allowed to grant, the view taking an ended or a revoked grant or reading a purchase as a grant, either store taking a stale grant, and the clock window off, the tests went red (0 passed, 1 failed each, the Postgres conformance pair 1 passed, 2 failed); ci/local.sh green against Postgres 18 with the site live suites 106 passed, and the site gate 421 passed (wzkvkkor)
ea3e12b1 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6… - a second account reaches a Free owner's repo with no browser, a key the door refuses can ask, a handle origin proposes, and the forge carries out deletions itself (migration 0078): loot repo metadata public|private sets metadata visibility by a signed request to /repo/metadata behind the owner's door, refusing to publish without --allow-publish, where nothing could set the flag before; propose --door open says who a private repo's open door serves, a proposer shut out of its history is refused history_private before anything is sent, and the repo page says a clone serves members only; loot door request files one bounded, lapsing row a key at /door/request that admits nothing, and loot door requests lists the asks for the operator to admit or --dismiss (ADR 0061 section 3 amended); /info names the namespace a handle address answers as, which repo_path_for asks, so propose, --list and --mine work from a handle origin while a push asks nothing new; a deletion request waits 24 hours from its signing, its answers name carried_out_after and carried_out_by and that the door's admission is kept, and --delete-requested and --delete-account delete the account's rows in loot_metrics (ADR 0103 decision 10 amended, with scripts PR 31's daily timer); the hosted forge page names the ask, the metadata verb and the window; red with each check off (667 passed, 1 failed; 85 passed, 2 failed; 12 passed, 1 failed), cargo test green, and ci/local.sh's Postgres 18 suites green with the site live suites 106 passed (sksvrusm, rzkpvxxk, mnutwvlo, snqtrvzo)
c7d7be2b ·diffdbf3dbe6… - 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… - 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 ·diffdbf3dbe6… - a key the door refuses is told it can ask, door requests --dismiss answers --json, and the deletion answer says only the door's row survives an account: the not-allowlisted hint, the no_account hint and the site's not_admitted refusal name loot door request; --dismiss answers {remote, pubkey, state: dismissed} as revoke does, red with a prose answer (0 passed, 1 failed); loot account delete, its usage line and the hosted forge page say a key admitted only as the account's, such as one a rotation added, is not admitted once the account is gone, as production showed; a retired key's 401 on an account verb names loot login and loot id import --replace, and the not-allowlisted hint names loot account rotate; found by the production check of rzkpvxxk, sksvrusm, mnutwvlo, tnrtxmrx, slqzpryo and snqtrvzo, whose results are commented on each (ttltqtry)
28a2a5c5 ·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…
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.