learn
Store a new learning in project memory; optionally mark an existing note as superseded.
Instructions
Deposit ONE learning into the project's episodic memory (staging area). kind may carry a module prefix for consolidation routing, e.g. 'rag:gotcha' or 'config:decision'. Learnings only — routine actions are logging, not learning, and belong in session transcripts.
supersedes names an existing note (the short id recall prints, or a unique
prefix of it) that this one replaces. The old note is marked as replaced and
stops being returned, but is kept, so the change is reversible and you can
still see what the earlier fact was. Use it instead of rewriting history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | learning | |
| text | Yes | ||
| project | No | ||
| supersedes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |