connor / loot

connor/loot

Changes touching this path

  • loot-forge --restore-account <key> [--apply] restores one account from a replayed backup into the live forge, ADR 0103 decision 10 and ADR 0046 section 8: it puts back only the rows the live forge lacks, as the operator chose on 2026-10-02, inserting each where absent, deleting none, and updating only the ref generation of a held repo it writes into, as a push does. pg::restore::CLASSING classes every table as the account, shared or outside, the restore refuses a live forge with an unclassed table, a dump with other tables or columns, or one database named as both, and a unit test holds the classing to the tables the migrations create. tenant and repo ids come from the live forge, matched by Clerk user or by owner and name, so a repo made again since the dump takes the dump rows under its own id; a row naming an address either database reads as destroyed, a head a live head descends from or supersedes, or an account the live forge does not hold is withheld; a namespace taken down is not restored; the listing is the apply rolled back and names the restored addresses whose bytes the bucket no longer holds. the ADR 0046 and 0103 amendments, CONTEXT.md Account restore and the account_tier.rs header record it. red under named mutations, each restored: a table left unclassed (1 failed and 1 passed of the unit pins, 2 failed and 1 passed live), a burned address key put back (1 failed and 2 passed), staged rows left under dump ids (2 failed and 1 passed), superseded heads put back (1 failed and 2 passed), no generation move (1 failed and 2 passed), the listing committed (1 failed and 2 passed), a taken-down namespace restored (1 failed and 2 passed), one database accepted as both (1 failed and 2 passed), a row naming an absent account kept (1 failed and 2 passed), a dump with other columns accepted (1 failed and 2 passed). cargo test green, 5112 passed over 149 test result lines with 15 ignored; ci/local.sh green on Postgres 18 with the restore suite at 3 passed and the site live suites at 136 passed. owes a forge release and deploy and a scripts step that runs it (mpvwwvlx) 3a052b8e · dbf3dbe6…
  • loot-forge --restore-account undoes no removal made since the backup and holds no live transaction through its run, which keeps the /terms promise (review sweep 5): each copied table in pg::restore::CLASSING says how a row of it leaves the live forge, and where a removal deletes the row, one missing under a repo or key the live forge still holds is withheld, so a collaborator removed, a stored seed withdrawn, a key name cleared, a delivery acknowledged or a head a push dropped stays gone, while one under a repo or key the live forge lost comes back with it, so a lost repo returns whole and a repo made again since takes nothing of the old one. a unit census holds each class to the delete statements the forge and the site ship. the restore stages the dump rows in temporary tables of its own session, compares them in one read-only snapshot, asks the bucket with no live transaction open, and with --apply writes in one short transaction that locks the held repos ref rows first and decides again over what the comparison left (yuvtxxrm). measured on Postgres 18 with 16,525 addresses and 169,000 tree entries at 2 ms a bucket ask, the dry run longest live transaction went from 45.1 s of 47.0 s to 0.3 s and a push wait from 40.7 s to none, and an apply held 2.2 s. the forge also tags every answer to a handle-shaped path with X-Loot-Log-Path whether or not the handle resolves. the ADR 0046 and 0103 amendments, CONTEXT.md Account restore, Handle and Account tier, the account_tier.rs header, the --restore-account usage, and the forge.ts and handle route prose say so. red under named mutations, each restored: the holder rule off (1 failed of 1), every repo read as held (1 failed of 1), the bucket asked inside the snapshot (1 failed of 1), repo_member classed as kept (1 failed and 4 passed), an unresolved handle answered untagged (1 failed and 32 passed). cargo test green, 5118 passed over 149 test result lines with 15 ignored; ci/local.sh green on Postgres 18 with the restore suite at 5 passed and the site live suites at 136 passed; site gate green at 1257 passed, every surface under its ceiling. the grace write ordering is left for its own ticket. owes a forge release and deploy and a site deploy (kkxnznxu) e7abc9d6 · 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
  • loot-forge, loot-net, loot-first, loot-perf, loot-relayd, loot-relay-contract, loot-s3 and loot-bench production comments cut by 70% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, wire contracts, security and safety reasoning kept; comment-only, Rust token streams identical, test modules untouched (yrkykmsn) a94b3d35 · 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 handle may be renamed or released on /account, its old name retired forever in retired_handle and still resolving to the account, and handle/repo resolves to the newest live key holding the repo, else an older live key holding a public one, in the forge's rewrite and the read tier alike; migration 0043; a restore withholds a released handle; forge and site live suites green against Postgres 18, red with the retired-name refusal removed (rzzzklmz) 767ac89f · dbf3dbe6…diff
  • a forge learns an address is held in name only and takes its bytes from the next push: migration 0044's object_bytes_lost, written by a serve walk's missing GET, the measuring job's absent HEAD and --restore-account's bytes_gone; /wants asks for such an address and ingest clears it once its bytes are put; red without the record or the clear (psxyosqs) 1991d321 · dbf3dbe6…diff
  • the login token: an unlocked browser stores the seed under a paste line's secret in login_token (migration 0045, identity role alone, the session's own live key, ten minutes), loot login --token redeems it once with DELETE … RETURNING and installs it in the repo and on the machine, the installers take --token/--init/--clone (sh) or LOOT_TOKEN/LOOT_INIT/LOOT_CLONE (ps1) after dist's install, and a signed-in loot init sets origin; red without the live-key or key-match checks (moowksxl) a148f72f · dbf3dbe6…diff
  • the owner grants a proposer a proposal's logs until it closes: pipeline_log_grant (migration 0049) names the proposer when granted and the close that withdraws or declines deletes it, so a re-offer comes back ungranted; an owner-signed POST /pipeline/grant-logs answers the logs already written and the jobs running, a won claim of the proposal's change jobs names the grantee as a reader, and POST /pipeline/log serves a log blob to a key holder or a standing grantee and an absent-log answer to anyone else; loot propose --grant-logs opens each earlier log and deposits log_tail::regrant's key-only grant to the proposer's mailbox, opened with log_tail::open_with_key; the wasm pipelineLogGrant signs the CLI's bytes, pinned; proved over the socket, on memory and Postgres, and from the real binary, red-proved (qvllnoxp) add7b246 · dbf3dbe6…diff
  • the notification outbox: migration 0051's notification_event, one text-free row (repo, proposal, kind, actor key, time) written by the forge in the same transaction as every act that changes a proposal's state or thread — proposed, amended, reopened, withdrawn, declined, landed, commented, comment edited, comment withdrawn, and approved for a first review/approve over an open proposal's tip at the push's time — so a committed act always has its event and a failed or no-op one never does; close_proposal and withdraw_comment take the signing key and IngestTxn its time; row security binds it to one repo, forge only inserts and reads, a restore copies none; pinned by conformance on memory and Postgres, a writer census in pg::meta (an attestation writer other than the two pipeline ones arrives red), and the columns, CHECK and grants read from the catalogue; ADR 0097 §6 and CONTEXT (zqwpuruv) cddcb6e8 · dbf3dbe6…diff
  • the workbench's Proposals view: a proposal's page read through the forge's own routes signed with the device's key — one spine of rounds whose comments verify in loot_wasm, whose move, the verdict judged by reader against main's .lootpipeline (loot_codec::pipeline_file, held to the CLI's Declaration over a corpus), the stack drawn as a graph with each change's files decrypted through the take, the land's commands, and the decline, withdrawal, comment, edit and log grant signed with the CLI's bytes (the web decline pinned byte-equal), plus the repo's list; the proposal wire moves into loot_codec::proposal_wire so the browser builds it; the forge records each round (migration 0055, nothing backfilled) and the read carries them after whose move's times; a take may read a recorded round the proposal moved past, and its offer names each change's paths; a workbench view may open for a reader the repo read refuses, so a proposal's party reads it there; ADR 0075, 0095 §5, 0097 §9 and CONTEXT (toyysqrq) b7c45d5e · dbf3dbe6…diff
  • notification settings and watches (ADR 0097 §4): migration 0056's notify_setting (a boolean per event kind and one for the account's own acts, all off until written) and repo_watch, written by the site's identity module over forge_identity since a setting is the caller's own account's; /api/identity/notifications and an Email notifications panel on /account that says nothing is sent yet; /api/private/watch admits a watch only for a repo withReadableRepo resolves for the caller as owner or member, else the missing repo's 404; no column holds an address (pinned from pg_attribute), forge holds nothing on either, restore classes both; live-tested in notify.pg.test.ts (zrlkynuw) f9eda96e · dbf3dbe6…diff
  • restore what the 559b9cd6 catch-up merge dropped: names instead of keys in the views (30a95158), the valued-flag refusals (af3aa57a), the superseding-version ferry hunk (3882bab6) and the notification settings' migration 0056 registration, restore classing, tests, /account panel and route entries (6a1f5fad), with CONTEXT and ADR 0097; the 25 files that differ from the clean three-way merge of a9087957 and the desktop's 1a4faff6 are set to that merge's bytes, keeping the desktop's own changes (ymswpzpv) a7715d1f · dbf3dbe6…diff
  • the notification sender (ADR 0097 §5, §6): migration 0057's forge_notify_sender reads the outbox, settings and watches and only ids, keys and times elsewhere, never a name, message or comment, and keeps notify_email and notify_delivery; site/src/server/notify plans who hears what (parties and member watchers, toggles, own acts, a five-minute settle, 20 an hour then an hourly summary), names a public repo only through forge_read and nudges namelessly otherwise, reads the address from Clerk at send time, records each delivery so no one is told twice, and prunes after a week; Postmark behind a two-line interface; one-click unsubscribe at /api/notify/unsubscribe turns off exactly one toggle; bundled as .output/sender.cjs; pinned by unit tests and live as the real roles (zrpwpyyq) e61fab21 · dbf3dbe6…diff
  • a handle the operator removes over a trademark or impersonation claim is revoked: loot-forge --revoke-handle <handle> [--apply], run as superuser, releases the account claim when the name is current and files the name in retired_handle with a new revoked_at (migration 0058), so no account can claim it again, and the forge handle rewrite and the forge_read_handle view the web app reads resolve a revoked name to nothing whichever table names it, so every address under it answers 404 while the account repos stay at their /k/ addresses; the identity writer can no longer insert revoked_at, and a standing revocation keeps its time so a restore can replay it; ADR 0077 decision 2 is amended so an operator act run as superuser may write the account tier; new live tests went red when handle_keys still resolved a revoked name (3 passed, 1 failed), when a revocation released the claim without retiring the name (3 passed, 1 failed) and when the view still resolved it (7 passed, 1 failed); the scripts repo revocation journal does not carry it yet, the gated counters do not move, and the suite is green (vuymqvmo) 579e4aa8 · dbf3dbe6…diff
  • files the two amend edges xysopyyo left open: a non-root amend gates its capture against its parent tree rather than the version it replaces (vzuzpspr), and loot edit of a root change on a pinned position loses the pin (vlsmounz) 4d1ef5fb · dbf3dbe6…diff
  • restore the 71 files 430a057a reverted to 385bcb40's bytes: a tickets-only land (vzuzpspr, vlsmounz) recorded stale copies in the Mac primary, which held the desktop's newer versions sealed with keys it had not pulled, and a loot fetch there had left the disk behind loot's view; the keys are pulled now, the lane equals 385bcb40 outside tickets/ but for that land's benchmark entry, and mmzxtyyt records the mechanism Perf-Baseline: reset 430a057a's baseline measured the reverted code; restoring 385bcb40's brings object_gets, store_file_reads and graph_sorts back down 7806746e · dbf3dbe6…diff
  • a .lootattributes that is not UTF-8, such as the UTF-16 Windows PowerShell 5.1 writes with >, is now a malformed rule naming its encoding at the disk load, the ferry ingest and the recorded-tree vet, so loot new and a ferry ingest of a self-authored commit refuse instead of signing plan.txt internal with exit 0, and a line opening with a byte-order mark, which made the first rule match nothing, is malformed too; the unreadable recorded rules refusals carry the code unreadable_attrs, which the SDK classes as a guard error and the tests assert, and ADR 0038 states the costs of passing over a signed parent rules file and an unsigned ingested parent, and its wrap is fixed; the new cases went red without the fix (0 passed, 2 failed), again with the disk load reading text (1 passed, 1 failed), with the ferry reading text (1 passed, 1 failed) and with the byte-order mark unrecorded (1 passed, 1 failed), the code assertions went red without the code (0 passed, 3 failed), the gated counters do not move, the SDK typecheck passes, and the suite is green at 2103 passed (ymmvvvxq) 9d623289 · dbf3dbe6…diff
  • loot-forge --delete-account <key> [--apply] deletes an account on request as superuser: the Clerk user first, through a new ClerkUsers seam, then in one transaction its rows, plan, login tokens, device logins, storage grace, the grants its keys made and their deliveries, and the repos of its keys by the takedown walk, now shared as clear_namespaces, queueing the bytes of each address no other repo names and of unshared pipeline logs in deleted_blob for the serving delete job with no push refusal; its handles stay retired and are revoked, each key is recorded in account_deletion (migration 0059), which --restore-account refuses, a standing deletion replays without a Clerk key, and the report prints the account code of the site analytics rows in loot_metrics, which it cannot reach; grant_log, tenant and object are reclassed for the restore and the scripts journal half is owed; with the restore refusal removed, with the forge deleting before Clerk is asked, and with the walk reading shared addresses as unshared, the new live-database test went red (4 passed, 1 failed each); loot-forge passes 574 against a throwaway Postgres 18 and the suite is green at 2120 passed; it also comments the journal half on llmsmqsv (trvtowtw) 770dd76f · dbf3dbe6…diff
  • the forge manifest layout for storage deltas, slice R2a of tlupspqp: ADR 0110 records that the forge stores a manifest whole in tree_entry or as tree_delta ops over its first parent manifest, with a whole one at least every 64 along the base links, a repo holding the base of each delta its versions name so each read family rebuilds a tree through its own gated views, then an online resumable backfill and a pg_repack reclaim; migration 0065 adds manifest.base_id and depth with their shape check and tree_delta keyed by manifest and path with no read role granted, and the account restore classes tree_delta beside tree_entry and stages the addresses its upserts name; nothing writes or reads the layout yet; read-only on the live forge, tree_entry holds about 5.97M rows in 1,746 MB of the 1,801 MB forge database, and replaying this repo history of 1,913 manifests stores 107k rows at K 64 (1.8%) and 66k at K 128; a probe on Postgres 18 rebuilt a 9,500-path head through the anonymous family views in 3.6 ms over 56 manifests and 6.4 ms over 120 against 1.6 ms whole; a schema nothing reads or writes is off the must-test list, so no test was added; cargo test is green at 2269 passed, 0 failed, 6 ignored, and ci/local.sh is green on Postgres 18.6 with the site live suites at 92 passed (tlupspqp) 60c5fb1d · dbf3dbe6…diff
  • the online backfill of delta manifests, slice R2c of tlupspqp: migration 0067 adds manifest_to_delta, which stores one whole manifest as ops over its first parent manifest under its row lock by the writer rule (each repo naming it holds the base, the base below depth 63, the ops at most half the entries, a manifest some delta names as its base kept whole) and compares the rebuilt tree with the rows it replaces before deleting them, a manifest_backfill row per repo walked to its end, and a key-share lock in the repo_change trigger on each whole manifest an arriving version names, which the backfill skips; loot-forge --backfill-manifest-deltas [--batch N] [--limit-seconds S] walks each repo parents first, one transaction per batch, as the superuser; a takedown or account deletion takes the batch advisory lock, the writer key-share locks the base whose depth it reads, and the account restore puts back no row of one layout under a manifest the live forge holds in the other; on a Postgres 18 fixture of 7.22M tree_entry rows (760 versions of a 9,500-path tree) it converted 748 manifests in 20.7 s (36 a second), leaving 114,000 whole rows and 8,228 ops, while the anonymous head listing and one-path read kept their medians (3.79 and 0.59 ms against 3.77 and 0.56 ms) and every listing read during the run answered the whole tree, so the production 1,986 manifests project to under a minute on this machine; red under mutation, each restored: ops ignoring a tier change (the run refuses, 1 failed of 1), the same with the comparison off (1 of 1), a stopped run recording its repo (1 of 1), the trigger without its lock (the other owner reads no tree, 1 of 1), the writer reading its base depth unlocked (the child filed at depth 1, 1 of 1), the repo-holds-base rule off (1 of 1 takedown), the restore filter off (1 of 13) or off for ops alone (1 of 1), and ops ignoring a reveal time in the site family test (1 of 4); cargo test green at 2384 passed, 0 failed, 6 ignored, ci/local.sh green on Postgres 18.6 with the site live suites at 94 passed, site gate 365 passed; owes a forge deploy with --migrate, after which the scripts step runs the backfill (tlupspqp) 2ae5da83 · dbf3dbe6…diff
  • agent keys on the forge, slice 1 of ADR 0111: migration 0068 adds agent (repo, pubkey, name, read and write scope, registrant, retirement, last seen) and agent_inbox under 0017's repo binding, the store files a row once, rescopes only a live one, retires for good and touches once a window on memory and Postgres, /agents/add, retire, list and scope are the owner's and /agents/self is an agent's own row through the agent door (a live row, a registrant the operator's list and require_pusher_in still admit, a namespace not taken down), loot_net::runners::refuse_scope refuses a control character, a leading slash, a backslash, an empty, dot or dot-dot name and a duplicate for runners and agents alike, an add refuses an account key, a live runner's key, a read scope naming nothing and a write scope past the read scope, and a runner add refuses a live agent's key; agents joins the served segments; 5 route tests, a conformance case on both stores, the RLS fixture covering both tables, ci/local.sh green on Postgres 18 (srskqklq) 2e816768 · dbf3dbe6…diff
  • the agent inbox reap (ADR 0111 §5): loot-forge --reap-agent-deposits --repo <owner>/<repo> lists and with --apply drops each agent deposit no declared head or open proposal's tip holds and every deposit of a retired agent, a job being no agent's root; agent_deposits and drop_agent_deposits on both stores, the restore classing agent_inbox Deleted by this reap, ADR 0111 §7's note amended; a conformance case on both stores, ci/local.sh green on Postgres 18 (pzxkowrx) e67a72a0 · 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
  • the browser writes as the name minted on its key: loot login sends the <name>@loot comment of the key it registers first and of the key it holds on each poll, the forge keeps it once per live account key in account_key_name (migration 0070, SELECT and INSERT for forge_identity alone, named by no read role or view) and serves it to the owner beside the label, and nameOf passes it to the lockout check through writerName, falling back to the label, then the hex; a key registered before this or minted in a browser takes its name at the next loot login from a machine holding it; the move rail shows a refused space disabled with its reason beneath it, naming who the rule restricts it to; red without it: the web writer pin went 0 passed 1 failed with the label refusing tickets/security under restricted=connor and again with the label fallback dropped, and the restricted space pin 0 passed 1 failed with refused spaces omitted; ADR 0098 and CONTEXT say how; the site gate passes at 366 passed, 93 skipped, ci/local.sh is green on Postgres 18, and the suite is green at 2511 passed, 0 failed, 7 ignored (xynoxvlw) 144970ca · dbf3dbe6…diff
  • forge: loot-forge --take-down and --evict take --preserve, which in the transaction of the act opens a preservation (migration 0073) holding every address the act removes, kept ones too, from the delete job and keeping its records (the takedown or eviction row, repos, accounts and keys, object rows, published keys), then copies the records and the ciphertext from the serving bucket into a preservation store of its own, LOOT_FORGE_PRESERVE_S3_* or LOOT_FORGE_PRESERVE_DIR, refused before anything changes when none is set or it is the serving bucket or credential; the copy frees the addresses, and loot-forge --preservations [--apply] lists them, finishes an interrupted copy and deletes a copy only past its deadline a year out; forge reads the hold columns and never the records; an act without --preserve is unchanged; the takedown suite pins hold, copy and deadline on memory and Postgres (hold mutated out: memory 0 passed 1 failed, Postgres 645 passed 2 failed; expiry guard mutated out: 0 passed 1 failed) and the built binary pins the refusal (check skipped: 0 passed 1 failed); takedown.md, CONTEXT.md and ADR 0103 decision 9 amended; cargo test 2584 passed and ci/local.sh green (mlznymxr) 573f2370 · dbf3dbe6…diff
  • 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…diff
  • 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
  • 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 · 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
  • an account asks the operator for a plan grant, every ask reaches the operator's channel within the hour, and an agent clears its own deletion requests alone (migration 0079): loot plan request files one bounded, lapsing row a key at /plan/request that grants nothing and reads pending, granted with its plan and end, or dismissed, loot plan requests lists the asks for the operator to grant or --dismiss, and over_plan and billing_unavailable name it where no plan is sold; the door's and the plan's asks share one store API over an AskQueue; loot-forge --operator-asks prints a Discord body for the asks newer than the last one raised, mentioning no one, which the hourly operator run in scripts PR 40 posts to the error shipper's webhook; --delete-requested --only <keys> limits a run to the requests those keys name and leaves every other as it is; ADR 0062 clauses 2 and 5 name admitting a key and granting a plan as the person's acts, and ADR 0118 decision 9 records the ask; red with each fix off (the plan ask 1 passed, 1 failed; its CLI shape 0 passed, 1 failed), cargo test green, and ci/local.sh green against Postgres 18 with both lists and the --only walk (mnttvskv, lnwlmyou, xwtqnwkz) e06a5d44 · dbf3dbe6…diff
  • The forge keeps a notice register and looks up an owner contact for a notice; the takedown runbook names a verb for every step (uxvymxos, wkvotymr, swzqnpkl) 4f143c59 · 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.