mcp_engram_update
Update a stored memory by encoding new text into its provenance log. Avoids history loss from destructive forget+remember operations.
Instructions
CRITICAL: Use whenever you change an existing memory. NEVER forget+remember — destroys history. Superposes q + p-momentum + ProvLog splice. Prefer mcp_engram_update_with_tensor_bond for agent edits (recall-first + lineage bond). FEW-SHOT EXAMPLES: (1) Post-edit arc delta: {"concept":"store__fn__update__arc","new_text":"delta: added verify_edit_lineage helper"} (2) Design evolution: {"concept":"design:agent_tool_fidelity_v1","new_text":"Shipped composite safe_edit_and_verify","provlog_mode":"append"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| concept | Yes | The concept name to update | |
| new_text | Yes | Delta or full source text to encode + splice into provlog | |
| provlog_mode | No | Optional — default inferred from concept (append for __arc/trace:*; replace for AST __fn__/* with source-shaped text) |