memory_archive
Inspect or manage reversible archive and restore of project memory items with dry-run previews and candidate review, requiring revision and reason for apply.
Instructions
Inspect/list reversible archive state, review current retention/TTL candidates, or preview/apply archive and restore in an exact project. Originals, IDs and provenance remain in canonical storage. Default action is inspect; archive/restore default to dry-run. Apply requires the preview revision, digest and a reason. Candidate listing is read-only and requires individual review. This does not enable automatic retention or perform forget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | List page size (default 20) | |
| state | No | List filter (default archived) | |
| action | No | Operation (default inspect) | |
| dryRun | No | Archive/restore preview defaults to true | |
| offset | No | List offset (default 0) | |
| policy | No | Candidate policy (default all); current data only | |
| reason | No | Required for apply; why this lifecycle change is appropriate | |
| target | No | Required except for list/candidates; observation also requires sessionId | |
| project | Yes | Exact registered project; wildcard is rejected | |
| threshold | No | Candidate retention threshold (default 0.15); fresh default-decay scores | |
| expectedDigest | No | Required for apply; from preview | |
| expectedRevision | No | Required for apply; from preview |