cd /news/ai-agents/tunnel-vision · home › topics › ai-agents › article
[ARTICLE · art-172133] src=jonathannen.com ↗ pub= topic=ai-agents verified=true sentiment=↓ negative

Tunnel Vision

A developer reports that Claude and Codex, while generally producing mergeable code, repeatedly exhibit three failure modes: "prop drilling" data through every layer of the stack, writing unit tests that only verify trivial operations like string concatenation, and over-disclosing in comments and user-facing text — including a support document that repeated "not implemented yet" next to every unfinished button and setting. The developer attributes the pattern to tunnel vision, where the task in hand is the only thing in context, and describes a partial fix: running a separate agent that never saw the original task on a schedule to maintain the support site as a whole from a bundle of recent changes. The developer disputes Cognition's argument that splitting work across contexts loses implicit decisions, contending that decisions living only in context mean the code and supporting materials aren't self-evident.

recommendation

Give documentation and review work to a separate agent with no stake in the original task, feeding it a batch of recent changes so it judges the whole rather than the tunnel.

more in playbook: Designing agent systems
by read2 min views16 publishedNov 1, 2026
Tunnel Vision
Image: Jonathannen (auto-discovered)

I opened a support document the other day for a feature that was still being built and found "not implemented yet" scattered through it. Not once, as a note at the top, but next to every button and setting the agent hadn't got to. It was accurate, but (obviously) it had missed the point.

Claude and Codex are both moving up the developer curve, and for the most part they write code I'm happy to merge. But there are a few things they both do that I keep hitting:.

(1) "Prop drilling". The agent needs a piece of data at location X, so it threads that data through every layer between here and there, clobbering interfaces on the way. The case that stuck with me was expanding our error logging to return specific codes rather than a generic error. The agent drilled every fact the codes needed down through the stack, when at the point the error left the system all of those facts were already sitting there.

(2) Unit tests for 1+1. The frontend ended up with a pile of tsx tests checking that string concatenation works. They're cumbersome, they cost build minutes<sup>[1]</sup>, and they were written by the same context that wrote the code, so their value as an independent check is arguable at best.

(3) Over-disclosure. Ten-line comments on three-line functions, and over-sharing in anything user-facing. That's where "not implemented yet" came from. It was true, but a support document isn't the place to say it a dozen times.

Most of this, I think, is tunnel vision. The task in hand is the only thing in the context, so it feels like the most important thing in the world. The ten-line comment is obviously necessary (it isn't), and the concatenation test feels like diligence, because nothing in that context is looking at the whole.

Model or harness? Probably both.

My partial fix is to separate the steps and give them different contexts. Subagents would do it, but I prefer a separate agent altogether -- one that never saw the original task and has no stake in it. For support docs it's a separate runner on a schedule<sup>[2]</sup>. It takes a small bundle of recent changes<sup>[3]</sup>, looks at the feature as a whole, and only then touches the document. The context isn't "do this thing" it's "maintain the support site as a whole with a batch of changes." This modifies the outcome in a meaningful way.

Cognition argued against this a while back: split the work across contexts and you lose the implicit decisions the writer made along the way<sup>[4]</sup>. I disagree. If those decisions lie only in the context then I think you have a problem - the code and supporting materials aren't self-evident. Also it cuts the other way. The same context has all the twists and turns that are better left in the tunnel.

── more in #ai-agents 4 stories · sorted by recency
── more on @claude 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/tunnel-vision] indexed:0 read:2min 2026-11-01 · —