memory_create
Capture code invariants, decisions, and risks as you discover them, anchoring them to specific symbols, paths, or commits so rationale resurfaces for future edits.
Instructions
Record a durable, source-anchored repo memory (Invariant / Decision / Risk / BugPattern / …) bound to a symbol, chunk, path, edge/call-path, commit, or tracker ref — so the rationale resurfaces for the next agent editing that code. Capture non-obvious invariants and decisions as you discover them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bind | No | Optional (#463): omit to create an UNANCHORED node (a `Concept` or standalone `Task` that lives only as a graph node). When present, names exactly one code/anchor binding. | |
| body | Yes | The memory text (the *why* + *how to apply*), max 8000 characters. | |
| kind | Yes | ||
| tags | No | ||
| source | No | ||
| payload | No | Optional structured payload (#465) for a polymorphic node — a `Task`/`Concept`'s kind-specific JSON object (e.g. a task's priority/estimate). Must be a JSON object. | |
| confidence | Yes | ||
| created_by | No |