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

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.