connor / loot

connor/loot

Changes touching this path

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

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.