Overview
Two-phase knowledge management: prime context before work starts, and extract learnings after work completes. Knowledge persists in JSONL files for cross-session continuity.
When to Use
- Before starting any work (prime mode)
- After completing work, BEFORE PR creation (reflect mode)
- When recovering from context loss (recovery priming)
Knowledge Categories
| Category | File | Content |
|---|
| Critical Rules | facts.jsonl | MUST FOLLOW constraints |
| Gotchas | gotchas.jsonl | Common pitfalls |
| Patterns | patterns.jsonl | Codebase best practices |
| Decisions | decisions.jsonl | Architectural choices with rationale |
| Anti-Patterns | anti-patterns.jsonl |