amp_write
Log a new coding-agent memory entry with a type and one-sentence message; add optional file, tags, or rich detail for long-form context kept out of the memory index.
Instructions
AMP: log a new entry. Required: type + msg (one sentence). Optional: file, line, tags, detail. Use 'detail' for a rich multi-paragraph body (repro steps, code, full reasoning, or a session snapshot) — it's stored in a sidecar and loaded on demand, so it never bloats the always-on memory index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| msg | Yes | ||
| file | No | ||
| line | No | ||
| tags | No | ||
| type | Yes | ||
| detail | No | Optional rich body (Tier-2). Stored in the consolidated details store; NOT injected into rule files. Put the long-form context here; keep 'msg' to one summary sentence. |