Etch Memory
faf_etchPersist decisions, gotchas, or wins to a project soul file so an AI can recall them in later sessions. Reusing an id updates the stored memory in place.
Instructions
Remember a decision, gotcha, or win across sessions by writing it to the project soul (soul.fafm) with faf-cli's Soul. Returns the stored memory and the soul's size. Re-etching an id updates that memory in place. Use it to persist something an AI should recall later; faf_recall reads them back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Stable id — re-etching the same id updates in place (dedup) | |
| path | No | Project path. Sets session context for subsequent calls. | |
| tags | No | Tags (e.g. decision, gotcha, win) for filtering + recall coupling | |
| text | Yes | The memory to remember — capture the why (decision/gotcha/win) | |
| type | No | Memory category | |
| priority | No | Recall ranks by priority then recency |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| soul | Yes | Path to soul.fafm | |
| total | No | Total memories in the soul | |
| etched | Yes | ||
| namepoint | No |