feat: agents read cross-tool instruction files at session start

AGENTS.md, CLAUDE.md, copilot-instructions.md, and .cursorrules may
contain project knowledge added by other tools or people. Agents now
read these files at session start and merge new knowledge into
.memory/knowledge.md as the canonical source.
This commit is contained in:
2026-03-08 19:51:37 +00:00
parent 204bbb4c84
commit f9880638e9
3 changed files with 7 additions and 1 deletions

View File

@@ -280,6 +280,7 @@ Never jump directly to user interruption.
- Before each phase, read only relevant `.memory/` files when context is likely to exist.
- **Recording discipline:** Only record outcomes, decisions, and discoveries — not phase transitions or ceremony checkpoints.
- **Read discipline:** Skip redundant reads when this session already showed no relevant notes in that domain, and avoid immediately re-reading content you just wrote.
- **Commit shared memory artifacts.** The `.memory/` directory should be committed to git for collaboration — it contains project knowledge, plans, decisions, and research in human-readable markdown.
## Parallelization Mandate