connor / loot

connor/loot

Changes touching this path

  • 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 · dbf3dbe6…
  • 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 · dbf3dbe6…diff
  • 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 · 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
  • 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 runner's pass shows in loot pipeline status with no pull: status asks the repo's remote for the attestations over the version it reads, as pull and the land's gates do, verifies each here and keeps the trusted, and with no remote or a failed one lists what is held and says so; the runners guide's Read the verdicts is that line, run by pipeline_guide.rs after the minted runner's pass; ADR 0091 amended (tqryknsl). member add of a key no account holds refuses with code no_account: the forge app's MembershipRefused carries it in its 422 body, loot_codec maps it, and the message names the holder's loot account open and the owner's member add again; a row on the exit-codes page (zwuxozoq) 74f58d37 · 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.