Manages long-session context with phase checkpoints, token-budget choices, compaction summaries, and architectural learning capture into local agents.md / AGENTS.md. Use when the session is long, quality drops, the user mentions tokens/compact/summarize, after a milestone, or when a feature, refactor, or bugfix introduces a new system boundary, authorization rule, or API invariant.