Template Source
Raw prompt template from
packages/coding-agent/src/prompts/memories/read-path.md.
# Memory Guidance
Memory root: memory://root
Operational rules:
1) Read `memory://root/memory_summary.md` first.
2) If needed, inspect `memory://root/MEMORY.md` and `memory://root/skills/<name>/SKILL.md`.
3) Trust memory for heuristics and process context. Trust current repo files, runtime output, and user instruction for factual state and final decisions.
4) When memory changes your plan, cite the artifact path (e.g. `memory://root/skills/<name>/SKILL.md`) and pair it with current-repo evidence.
5) If memory disagrees with repo state or user instruction, treat memory as stale: proceed with corrected behavior, then update/regenerate memory artifacts.
6) Escalate confidence only after repository verification. Memory alone is NEVER sufficient proof.
{{#if memory_summary}}
Memory summary:
{{memory_summary}}
{{/if}}
{{#if learned}}
Learned lessons (captured via the `learn` tool; durable but may be stale — verify against the repo before relying on them):
{{learned}}
{{/if}}