Archive a closed work card
project_card_archiveArchive closed (done or discarded) project cards to the canonical archive directory while preserving their ID and file, allowing them to be reopened later if needed.
Instructions
Move a closed card to the canonical archive directory. Only done and discarded cards can be archived; the ID and the file survive, so project_card_reopen undoes this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Card to archive. Must already be done or discarded. | |
| expectedRevision | No | Revision string from an earlier read of this record. The write is refused if it no longer matches, so a concurrent edit is reported rather than overwritten. Omit to skip the check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | A canonical record with its body, revision and reference graph. |