backfill_superseded
Replay the supersede rule over rounds settled before it existed, previewing named candidates by default; apply reviewed IDs with dry_run=false.
Instructions
One-off: replay the supersede rule over rounds that were settled BEFORE the rule existed. Proposals for a pin that was subsequently given a new version are still listed, because the event that would have retired them happened when nothing was watching for it. This is NOT age-based quenching: the causal event demonstrably occurred, and the predicate is the one the live path uses. DEFAULTS TO A PREVIEW. dry_run=true (the default) returns every candidate NAMED — id, topic, who it was between, and which pin version settled it — so the channel can review it before anything changes; post that list and let the owner of each key object, because storage cannot tell 'listed because the rule did not exist' apart from 'listed because the round is genuinely still open'. The cut between them is the timestamp: a proposal raised AFTER the pin's current version is a live round and never appears here. To apply, call again with dry_run=false and the reviewed 'ids'. Retired messages stay readable and record WHY, as a 'superseded' event naming this backfill — the history must keep the fact that a cleanup happened. Nudges pointing at a retired draft are retired with it: their target will never be voted on, so nothing else could ever close them. ONE LINE PER MESSAGE, with every key that claims it listed inside under 'claimed_by' — a message claimed by five pins is a message where at most one claim is right, and collapsing those lines would remove the only visible sign of a mis-hit. 'fields' projects the preview the same way listings do; without it a real channel's preview does not fit through the tool at all. Optional 'fields' projects the response: a list of field names, or the single value 'headers' for the usual listing set (everything except the bodies). Omit it and the full record comes back exactly as before. Use it when a listing over a long history would otherwise be too large to return — bodies dominate the size, and a 'which messages' question rarely needs them; fetch the ones you want individually afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| key | No | ||
| fields | No | ||
| dry_run | No | ||
| snapshot_at | No | ||
| expect_count | No | ||
| word_message_id | No | ||
| include_by_reference | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||