connor / loot

connor/loot

Changes touching this path

  • 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…
  • 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

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.