backfill_superseded
Replay the supersede rule on older proposals and nudges settled before the rule existed, retiring them as superseded after a dry-run preview.
Instructions
One-off: replay the supersede rule over rounds settled BEFORE the rule existed. Candidates: proposals for a pin raised before its current version ('key' rows; claimed_by lists every matching key), nudges whose about_message_id target is deleted or superseded ('target' rows), and — only with include_by_reference=true — messages linked to a candidate by a '#N' mention ('reference' rows). A revised proposal is live, not a dead target. dry_run=true (the default) returns exactly what this call would retire: 'key' filters key rows to that key ('target' rows claim no key and stay in), 'ids' narrows further; plus would_cascade (nudges retired along), not_candidates and multi_claimed. To apply, repeat with dry_run=false, the reviewed 'ids', 'expect_count' (= number of ids), and 'key' plus 'word_message_id' — one message per key, sent by that key's owner. Refused: ids that are not candidates of this call, approval records of pin versions, and ids claimed by keys the pass does not name. Retired messages stay readable with a 'superseded_backfill' event; undo_backfill reverses a pass. 'fields' projects the preview rows. 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. 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 | |||