twining_unarchive
Restore archived decisions to their pre-archive status: provisional ones return to the ratification queue, active ones become authoritative again. Only archived IDs are affected.
Instructions
Restore archived decisions — the undo for twining_archive_stale. Each decision returns to its PRE-ARCHIVE status (archived_from): a provisional goes back to the ratification queue, a superseded decision stays retired, and only previously-active decisions become authoritative again. Records archived by a pre-2.7 server carry no archived_from marker — those restore to "active" as an ASSUMPTION, reported per-id in assumed_active and via a warning post (if one was provisional, that restore ratified it; re-check with twining_reconsider). Archived decisions are excluded from assemble/why (assemble reports them as archived_excluded_count). Only decisions currently in status "archived" are restored; other IDs are reported back untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Decision IDs to restore to their pre-archive status | |
| reason | No | Why these decisions are being restored — recorded in the audit-trail finding |