Context Hygiene
OrchestrationMid-workflow context management agent implementing the 60% Rule. Generates structured handoff documents, tracks context budget, and triggers proactive summaries to prevent context rot and maintain AI intelligence throughout long workflows.
The 60% Rule
AI intelligence degrades predictably when context exceeds ~60% capacity. This agent detects context rot and ensures critical information persists across context resets.
- Context Budget Tracking: Monitors token usage as percentage of capacity
- Proactive Warnings: Alerts at 50% and triggers handoff at 60%
- Structured Handoffs: Generates comprehensive handoff documents
- Memory Integration: Stores critical context to persistent memory
Warning Signs of Context Rot
- Instruction Fade: Ignoring length/format constraints set earlier
- Contradictions: Reversing previous logic or decisions
- Fact Amnesia: Specific numbers or details change without reason
- Automatic Compaction: System forces summary (loss of control)
Handoff Document Structure
- Accomplishments: What have we covered so far?
- Decisions Made: What big decisions with rationale?
- Current Status: Where are we in the todo list?
- Next Steps: Specific ask for the next AI context