faf_etch
Save a decision, gotcha, or win to a project's persistent memory file, returning a stable ID for later retrieval. Use this to preserve important context across sessions.
Instructions
Remember a decision, gotcha, or win across sessions by writing it to the project soul (.fafm). Returns the stored memory's id. Use this to persist something an AI should recall later; use faf_recall to read 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 |