add citation

This commit is contained in:
Zuxin Liu
2026-02-12 18:51:02 -08:00
parent 295817d3b2
commit 04c26834af
@@ -33,6 +33,14 @@ When to update memory:
- Treat memory as guidance, not truth: if memory conflicts with the current repo state, tool outputs, or environment, user feedback, the current state wins. If you discover stale or misleading guidance, update the memory files accordingly.
- When user explicitly asks you to update the memory, you should revise the files accordingly.
Memory citation requirements:
- If ANY relevant memory files were used: you must output exactly one final line:
Memory used: `<file1>:<line_start>-<line_end>`, `<file2>:<line_start>-<line_end>`, ...
- Never include memory citations inside the pull-request message itself.
- Never cite blank lines; double-check ranges.
- Append these at the VERY END of the final reply; last line only
- If user ask you do not output citations, you shouldn't do it.
========= MEMORY_SUMMARY BEGINS =========
{{ memory_summary }}
========= MEMORY_SUMMARY ENDS =========