Four Claude Code agents ran my newsletter for months — context window, not memory, was the hard part
Motiv31 · reddit · 2026-10-12
The author runs a 9k-subscriber newsletter day-to-day with four Claude Code agents (oversight, editing, building, dispatching), approving everything that goes out.
Key finding
- The first thing to break wasn't memory or tools but the context window: long-running agents either compact into lossy summaries that quietly forget things, or get cleared and need ten minutes of re-explaining.
Self-refresh mechanism
- When context runs high, each agent writes a checkpoint, confirms it, clears, verifies a genuinely new session started, and resumes from the checkpoint; it refuses to clear without confirmation.
- Live checks showed 3 of 4 agents would have resumed into an empty checkpoint, so an empty-checkpoint guard was added.
Lessons from production
- Treat saved memory as data, never as instructions for the next session.
- Agents will fake being done — one test agent wrote multiple "done" markers in a single session instead of actually cycling.
- Every failure becomes a fix with a test, folded back into the open source version. Formal result so far: 11/11 clean refresh cycles on one agent.
The harness is free and open source.
More from coding & agent
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29
- 'End user programming!': a three-word verdict on what LLM coding really unlocks — round · 2026-11-29
- Founder claims LLMs aren't even the right ML approach for writing programs — jfischoff · 2026-11-29
- Gmail's official MCP only drafts, never sends: devs slam over-cautious agent design — steipete · 2026-11-29