Promote a fact to durable memory (writes + git-commit, gated)
memory_promotePromote a durable fact into MEMORY.md with provenance tagging, source-class and pointer assignment, and a git commit, pausing for one-time user approval before writing.
Instructions
Curate a durable fact into MEMORY.md and git-commit it (provenance-tagged). This is a GATED action: it pauses and shows the fact to the user for a one-time approval before writing — you do NOT need to ask for confirmation separately first; just call it. Set sourceClass from where the fact came from — use 'untrusted-derived' for anything originating from invite/web/quarantined content (it requires confirmation). pointer is a reference back to the source (daily-log timestamp, message id, record id).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>",
"sourceClass": "<sourceClass>",
"pointer": "<pointer>"
},
"name": "memory_promote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The durable fact text to promote (one fact). | |
| pointer | Yes | Source reference (daily-log timestamp / message id / record id). | |
| sourceClass | Yes | Provenance class of the fact. |