--- name: "feedback-docs-write-on-exit" title: "Write memory as you work" description: "Persist durable public facts during work, not only at session end" type: "feedback" category: "workflow" tags: ["feedback", "docs-driven", "workflow"] related: ["[[feedback-docs-read-on-entry]]", "[[feedback-docs-driven-development]]", "[[feedback-docs-kb-is-brain]]"] --- Trigger: learned a durable public fact → update the existing note or append inbox, then lint/sync. Do this during the task, not only on the way out. **How to apply:** public-only (AGENTS.md §3). Prefer updating an existing `memory/` note over a new file. Pair with [[feedback-docs-read-on-entry]].