Agent Context Isolation Prevent agent output from polluting the main context window. Rules 1. Use Background Agents with File-Based Coordination Background agents with isolate their context. Have them write results to files in . 2. Never Use TaskOutput to Retrieve Results TaskOutput returns the full agent transcript. Always use file-based coordination instead. 3. Monitor Agent Progress via System Reminders Stuck agent detection: 1. Progress reminders stop arriving 2. Task output file size stops growing 3. Expected output file not created after reasonable time 4. Verify with Tests, Not Output…