memory_write
Store a verified, falsifiable memory about your codebase with evidence, such as decisions, conventions, or guardrails, to keep agents aligned.
Instructions
Persist a new memory about this codebase. Write the claim as a FALSIFIABLE statement (something that could be checked against the code). Attach evidence whenever possible. For kind=GUARDRAIL, set guardrail_level (never|always|ask-first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| claim | Yes | Falsifiable statement, e.g. 'All DB access goes through src/db/store.ts; nothing else imports better-sqlite3' | |
| paths | No | Paths this memory applies to (omit for repo-wide) | |
| symbols | No | Symbols (functions/classes) this applies to | |
| evidence | No | Grounding evidence, e.g. {type:'COMMIT_REF', payload:'abc123'} or {type:'STATIC_CHECK', payload:'grep -rL better-sqlite3 src --include=*.ts'} | |
| created_by | No | Agent identifier, e.g. 'claude-code' | |
| guardrail_level | No | Required for kind=GUARDRAIL: 'never' (refuse), 'always' (do without asking), 'ask-first' (confirm with user) |