What problem does it solve? Long AI coding sessions suffer from "context rot" — repeated failed debugging, circular reasoning, and growing uncertainty that silently degrade output quality and lose progress when sessions terminate abruptly. ## Core Features & Use Cases - 3-Strike Rule: After three failed attempts on the same issue, the agent stops, documents what was tried, and recommends a fresh session instead of guessing further. - Circular Detection & Uncertainty Logging: Recognizes repeated approaches and logs uncertain decisions to .gsd/DECISIONS.md with alternatives considered. - Auto-Save Protocol: Writes a state snapshot to .gsd/STATE.md before recommending /pause, so progress survives hard session terminations. - Use Case: During a long debugging session, the agent fails three times on the same bug; it automatically dumps the hypothesis, attempted fixes, and file states to .gsd/STATE.md, then hands off cleanly via /pause and /resume. ## Quick Start Ask the agent to monitor this session for repeated failures and save a state dump to .gsd/STATE.md if debugging stalls.