memory_save
Record durable project decisions or gotchas when completing a task, but only if they prevent likely future mistakes or repeated work. Returns a memory path and merge guidance; does not write files.
Instructions
Consider saving non-obvious project decisions or gotchas at task completion only when they prevent a likely future mistake or substantial repeated work. Skip facts cheaply discoverable from code or docs, task summaries, temporary state, and duplicates. Batch related learnings; no update is usually needed. Returns a resolved memory path, size guidance, and instructions to assess and merge with your own editing tools; never writes files or requires saving a low-value candidate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute existing project directory within advertised workspace roots. Required when multiple roots are available. | |
| learning | Yes | Concise candidate fact, or a small batch of related facts, that would prevent future mistakes or substantial repeated work. |