connor / loot

connor/loot

Changes touching this path

  • a forge door is rows its operator signs and invites a key redeems (ADR 0061 §3 amended, migration 0074): the deploy list LOOT_FORGE_ALLOWED_PUBKEYS names the operator own keys, which alone admit and revoke a key and mint an invite over /door/admit, /door/revoke, /door/list, /door/invite and /door/invite/revoke, and any key presents an invite secret at /door/redeem, so admitting a key takes no environment edit and no deploy; a live key of an account is admitted with any key of that account, a revoked key returns only by an admission signed after its revocation, and each act carries its signing millisecond, so a captured request sent again changes nothing; loot door admit, revoke, list, invite and redeem drive it with porcelain and JSON, /info says door_rows, the door 403 remedy names loot door admit and loot door redeem, and a door act refusal carries no other remedy; with the account join dropped the door tests went red (2 passed, 1 failed), with a row-admitted key allowed to write rows (0 passed, 3 failed), with a stale admission taken (13 passed, 1 failed) and with the door skipped (0 passed, 3 failed); cargo test 2609 passed and ci/local.sh green against Postgres 18 on the lane before it met landed main (uyxsxlqo) eba60608 · dbf3dbe6…
  • 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…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

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.