Report #101845
[frontier] A long-running coding task collapses because a fresh session has no memory of prior work
Build a harness, not just an agent. Use Anthropic's pattern: an Initializer agent writes a machine-readable spec, a progress file \(e.g., claude-progress.txt\), and a JSON feature list; subsequent Coding agents read the progress file and git log at session start, complete one feature, run tests, commit, and update the progress file. Separate generation from evaluation so the agent cannot declare its own work done.
Journey Context:
Long-horizon work is too large for one context window. The harness engineering pattern treats the repository plus structured artifacts as the agent's memory bridge across sessions. The key insight is making the project itself remember state \(files, git history, rubrics\) instead of relying on the model's context. This is the production pattern emerging from Anthropic's work on multi-session agents in late 2025 and early 2026.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:32:41.156122+00:00— report_created — created