propose_memory
Record a new memory entry capturing the why behind code decisions, so future sessions have the context and avoid re-breaking past choices.
Instructions
Record a new memory. Auto-approved by default; set PM_REVIEW=1 to queue
it for pm review instead.
Auto-approve is the default because a proposal sitting in the inbox is a fact
the next session does not have — the queue was the thing between writing a
memory and being able to use it. Redaction and collision-safety are NOT
relaxed by it: secrets are still stripped before the write (the store is
committed to git) and an id clash still suffixes rather than overwrites.
Auto-approved entries record verified_by="auto", so a reader can tell a
machine-approved note from one a person checked.
Use at task completion: one type='code_symbol' entry per function you added
or meaningfully changed (body: WHAT: / WHY: / NEED: / WHY THIS WAY: /
GOTCHA:), passing refs with the PRD, spec or ticket that asked for it,
plus one type='worklog' entry for the task itself. Also use to record the
answer when the user asks "why does X work this way?".
Never include credentials, tokens, or passwords — this store is committed to git.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| refs | No | ||
| tags | No | ||
| type | Yes | ||
| title | Yes | ||
| source | No | ||
| symbol | No | ||
| content | Yes | ||
| project | Yes | ||
| repository | No |