Govern Memory
govern_memoryManage curated memories by deleting, rejecting, or marking them stale. Preview changes with dry-run before applying auditable, version-checked mutations that preserve raw archive data.
Instructions
Auditably delete, reject, or mark curated memories stale. Use dry_run=true first to preview affected IDs and their current versions. Non-dry-run mutations require confirm_destructive=true, an explicit reason, and expected_versions containing every target ID. This never deletes raw archive data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Curated memory IDs to mutate. Use dry_run=true first to preview. | |
| actor | No | Actor initiating the mutation, e.g. user, codex, claude. | |
| action | Yes | Governance action: delete, reject, stale, or acknowledge-pattern. | |
| reason | No | Explicit user-visible reason for the mutation. | |
| dry_run | No | Preview affected memories without writing status changes or audit events. | |
| project | No | Project name filter. Defaults to the MCP process current project. | |
| expected_versions | No | Current memory versions keyed by memory ID. Required for every ID in a non-dry-run mutation; obtain them from dry_run=true. | |
| acknowledge_pattern | No | Pattern id required when action is acknowledge-pattern, e.g. override_previous_instructions. | |
| confirm_destructive | No | Required true for non-dry-run destructive governance mutations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| reason | Yes | ||
| dry_run | Yes | ||
| affected | Yes | ||
| expected_versions | No |