commit_memory
Validates Markdown frontmatter, atomically commits project memory to Git with agent provenance, and updates a local FTS5 index for reliable recall.
Instructions
Deterministic state write: validates Markdown frontmatter, atomically commits to Git with agent provenance, and updates local FTS5 index.
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": {
"namespace": "<namespace>",
"title": "<title>",
"content": "<content>",
"author_agent": "<author_agent>"
},
"name": "commit_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags for categorizing and discovering this memory artifact | |
| title | Yes | Concise human-readable title summarizing the decision or state | |
| content | Yes | Markdown formatted memory content (facts, decisions, specs, handoff notes) | |
| trace_id | No | Optional observability trace ID correlating this memory mutation to a session/run | |
| namespace | Yes | Topic namespace (e.g. "backend/payments", "architecture/auth") | |
| author_agent | Yes | Name or identifier of the AI agent creating this memory (e.g. "claude-code", "gemini-developer") | |
| supersedes_id | No | Optional memory ID that this new artifact supersedes/replaces |