memoryguard_memory_update
Correct a known memory's body, kind, recall policy, or priority, and commit related rule updates atomically with revision checks; preview validates without saving.
Instructions
Use when owner must correct body, kind, recall policy, or priority of one known memory. Use related_updates with expected revisions, reason and retry key to replace linked rules atomically; preview validates the final package without committing. This recovery entrance remains available when bootstrap is blocked. Do not use to create a record, change lifecycle status, or modify another owner's memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | new body | |
| kind | No | replacement kind; omit to preserve current kind | |
| reason | No | audit reason required for related updates or preview | |
| atom_id | No | V2 atom ID; use the source-mapping target when a migrated logical ID is ambiguous | |
| preview | No | run the atomic update and budget checks, then roll back; requires expected_revision, idempotency_key and reason | |
| audience | No | replace mandatory-rule assignments; only allowed for always records | |
| priority | No | new priority | |
| memory_id | Yes | memory record ID | |
| idempotency_key | No | optional retry key bound to this target and payload | |
| related_updates | No | additional owner-controlled replacements committed together; every item requires memory_id and expected_revision; accepts body, kind, injection_policy, priority, audience and atom_id | |
| injection_policy | No | new injection policy | |
| agent_instance_id | No | optional identity consistency check; trusted MCP environment is authoritative | |
| expected_revision | No | reject stale edits; required for every target in related updates or preview |