memory_create
Record durable, source-anchored code memories (decisions, risks, invariants) bound to symbols or locations, so future agents see the rationale when editing that code.
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 | ||
| title | Yes | One-line summary, max 160 characters. | |
| 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 |