record_memory
Create a memory in the knowledge base with statement, confidence, and scope. Optionally link to code paths or provide assumptions for global memories.
Instructions
Create a memory -- the only way new memories enter the store (explicit authorship). Linked paths are validated to exist at HEAD before anything is written; a dead link is refused loudly. scope='global' memories are written to the reusable cross-project store, require non-empty assumptions, and cannot have linked paths. No inline evidence field -- call attach_evidence afterward.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| paths | No | ||
| scope | Yes | ||
| statement | Yes | ||
| confidence | Yes | ||
| assumptions | No | ||
| lesson_from | No | ||
| why_it_matters | No |