Remember code memory
remember_codeCapture code memories tagged by project and category (e.g., architecture decision, bug fixed) for coding agents, with provenance and importance.
Instructions
Capture a CODE memory tagged by category + project, for the coding-agent views. code_kind: one of
architecture_decision | dependency_choice | convention | bug_fixed | recurring_failure |
forbidden_action | command_worked | command_failed. Use forbidden_action for rules the agent must not
violate (they gate check_forbidden_action); afterwards project_state shows the live state by
category. No LLM. Set provenance="user_confirmation" only when the user explicitly confirmed it.
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>",
"code_kind": "<code_kind>",
"project": "<project>"
},
"name": "remember_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| project | Yes | ||
| session | No | default | |
| code_kind | Yes | ||
| namespace | No | ||
| importance | No | ||
| provenance | No |