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 login signs a home in by the key it holds when that key is already a live key of an account, with no code, no browser and no passphrase: the key signs POST /api/login/key on the key lane (ADR 0120 decision 7), the forge answers the key, whether the account is keyed and its handle and keeps the name minted on the key as an approved poll does, and the login finishes with the remote set; any other answer, a key on no account, one retired on it or a forge without the route, goes on to the device code, whose passphrase is asked for only then; --code asks for a code anyway, to bring another account key to a home that holds one; under --json the signed_in object is then the only line; the binary test went red with the keyed path disabled (0 passed, 1 failed); cargo test -p loot-cli login 12 and 3 passed, the site gate passed and the site live suites 102 passed against Postgres 18 (zoovvovz)
e8b61740 ·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… - 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…
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.