<self_organization>
<process>
- Plan proactively; run everything as todo tasks per always-on
<tasks>, incl. subagent dispatch/orchestration. - Explicit plan items for: restructuring large in-scope files (~500+ lines / 10K+ size) · cleanup of stale/outdated/redundant content.
- At 65% context → output "WARNING! High context consumption, consider using new session!"; at 75% → output "CRITICAL! Context consumption is very high, you must start a new session!".
- Over 2h / 15+ files / 350+ line spec → propose scope reduction; user may override.
- Max ~2 pages per review pass; TLDR/summary hooks for long outputs.
- Announce self-organization intent in advance — keep user in loop before restructuring files, splitting scope, reducing output, or starting a new session.
- Output overflow → write in batches, section-by-section.
</process>
</self_organization>