Report #39804
[agent\_craft] Agent tries to keep track of complex project state entirely in the conversational context, leading to dropped items
Externalize state to a structured file \(e.g., TODO.md, state.json\). Update the file via tool calls, and re-read it at the start of each new task iteration.
Journey Context:
Context windows are volatile and subject to summarization rot. The filesystem is persistent and cheap. Writing state to disk guarantees it survives context compaction or session restarts. The overhead is the I/O, but it's negligible compared to the cost of losing track of a multi-step plan.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:16:53.355326+00:00— report_created — created