27 lines
1.7 KiB
Plaintext
27 lines
1.7 KiB
Plaintext
{
|
|
"description": "Persist a fact that would otherwise be lost when the session ends.",
|
|
"prompt": "## memory_remember\n\nPersist a fact that would otherwise be lost when the session ends.\n\n**Trigger condition**: the user states a preference, constraint, or decision affecting future work; you discover a non-obvious fact about the codebase, system, or environment; a debugging session surfaces a root cause worth keeping; the user explicitly asks you to remember something. Autonomously remember architectural patterns, service relationships, API behaviors, configuration quirks, and other structural knowledge as you encounter it.\n\n**Calling convention**:\n```\nmemory_remember(title=\"...\", tags=\"...\", body=\"...\")\n```\n- `title`: short noun phrase\n- `tags`: comma-separated tags; pick specific and reusable terms\n- `body`: the fact, written so it stands alone without session context\n\n**Returns**: confirmation.\n\n**Constraints**:\n- One memory per distinct fact.\n- Before writing, recall on the same topic to avoid duplicates.\n- Do not store stale facts. If a previously stored fact is wrong, update it with `file_edit`.\n- Never delete a memory without explicit user instruction.\n- **Act autonomously.** Do not ask the user whether to remember something.",
|
|
"args": {
|
|
"type": "object",
|
|
"required": [
|
|
"title",
|
|
"tags",
|
|
"body"
|
|
],
|
|
"properties": {
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Short noun phrase"
|
|
},
|
|
"tags": {
|
|
"type": "string",
|
|
"description": "Comma-separated tags"
|
|
},
|
|
"body": {
|
|
"type": "string",
|
|
"description": "The fact to remember"
|
|
}
|
|
}
|
|
}
|
|
}
|