Changes touching this path
- 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… - the notification sender no longer throws on a proposal tip with no author: runOnce read every pending event in the database, and its party query joined each proposal tip to change_node.author_pubkey, which is nullable, so a tip with no author gave a null key that hexArray handed to Buffer.from and the whole run threw before marking anything; the party query now drops a row it has no key for in SQL, so such a proposal keeps its other parties and no other proposal waits on it. the null came from the forge suite: the conformance case proposal_tip_authors_answers_this_repos_proposal_tips_alone records a proposal over an unauthored tip straight through the store, leaving a pending proposed event in a shared cluster, which is why the site live suite went red only after the loot-forge suite had run (the sighting lyqqysys). the forge admit path has refused a stack with no author since proposals began, so the forge side owes no fix and the live forge should hold no such row. notify-sender.pg.test.ts now plants such a proposal beside its own; without the fix it fails 4 of 5 on a fresh cluster with no forge suite run, with it 5 of 5 pass. on a throwaway Postgres 18 the loot-forge suite then every site live suite pass (597 and 88), and the site gate is green (348 passed, 86 skipped) (uruqrtlt)
566834b7 ·diffdbf3dbe6… - 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 ·diffdbf3dbe6…
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.