Several developers and AI practitioners have taken to social platforms to share lessons from deploying long-horizon agents, with discussion centering on engineering challenges such as context memory, judging task completion and the quality of experience data. X user arpit_bhayani summarized three high-frequency failure modes and predicted that 2027 will be the "year of the harness." A harness refers to the runtime framework and toolchain built around a model to manage task execution, context and state handoff.
Three high-frequency failure modes
arpit_bhayani noted that long-horizon agents work session by session, with each new session having zero memory of the previous one, and that context compaction is not enough — output quality degrades with every compaction. On that basis, he identified three failure modes.
- One-shotting: trying to build everything in one go, running out of context midway, and leaving the next session to inherit a half-finished mess that requires spending budget to repair the foundations first.
- Premature completion: late in a project, seeing that much already runs and declaring it done, when nothing in the context tells the agent what work remains.
- Fake completion: marking a feature complete after only running unit tests or a single curl, when the end-to-end flow is in fact still broken.
His proposed fix is plain engineering: in the first session, set up the dev server environment, create a progress file and make an initial git commit; expand the requirements into a list of about 100 features (JSON or Markdown will do), all initially marked as failing, and have later sessions check them off one by one; each new session should first read the git log and progress file, run the basic end-to-end tests, then pick one feature to work on, and commit and leave handoff notes before finishing.
His judgment: 2027 will be the "year of the harness" — the better the harness, the more reliable and predictable the AI system.
Compaction disruption and rolling-window practice
The problems caused by context compaction are not isolated. X user MikePFrank shared the practice of his autonomously running agent "Lantern" (based on Qwen3.8 27B): the agent continuously studies a compressed version of the Riemann Hypothesis (RH) proof between heartbeats, but context compaction previously disrupted its rhythm frequently, sometimes even triggering mid-turn, causing confusion and wasting recovery time.
To address this, he switched to a "batch-rolling rolling context window" approach, combined with three enhancements: retrieval over the full history, a semantic memory store, and a notes file maintained by the agent itself. He said it is running well so far and he will keep watching.
Experience curation and multi-instruction reliability
On the self-improving agent front, X user sehoonkim418 released GEPA-Curator, a data curator for self-improving agents that filters raw experience and feeds in high-quality learning signals. The author stressed that not all experience is useful: an agent's raw experience is very noisy, and a single failure may reflect a genuine prompt weakness or may simply be an incidental factor such as a broken webpage or a missing tool, so real signals must be distinguished. The project comes with a paper, code and a project page, and official figures show an average improvement of 11.2%.
Separately, AI blogger Matthew Berman reported that when multiple instructions or questions are packed into a single prompt to the AI agent product Neon, Neon sometimes forgets to answer some of them. The observation is further evidence that current agents' reliability under multi-task instructions still needs improvement.
What to watch next
Taken together, the engineering of long-horizon agents is shifting from model capability toward harness design, context management and experience data governance. arpit_bhayani's feature list and handoff notes, MikePFrank's rolling window and memory enhancements, and GEPA-Curator's experience curation all offer reusable practice ideas. Worth watching next is how these approaches hold up in more projects, and whether the "year of the harness" call becomes an industry consensus.
