FIG. 01Blog · 2026.10.12
Article Blog

The XY Problem

What engineers call the XY problem is when someone encounters problem X, attempts solution Y, hits a wall, and asks for help with Y without ever surfacing X.

I think the industry built an entire paradigm on Y.

Large language models began as assistants: autocompleting, suggesting, filling gaps while the human remained in control. That was the right solution for its moment. GitHub even named its product after the job: Copilot. It was built to sit in the right-hand seat, help out, and let someone else fly the plane.

The problem is that it became the foundation for something it was never designed to be: the primary agent of software construction. The industry kept that exact architecture, and quietly promoted it to captain.

It’s like a plane that was built around a pilot, but this pilot spends the whole flight in the bathroom, and leaves the copilot to do all the work. The metaphor lands well, excuse the pun.

But humour aside, everything in that cockpit, every instrument, every control, every checklist, was designed for the person who’s no longer sitting in it. Before we get to the cockpit though, it’s worth asking how nobody noticed.

Everyone Built the Same Tool

What accelerated the problem is a development culture, particularly concentrated in San Francisco, that compounds on perceived success rather than interrogates it. A project gains traction, the hype becomes the signal, and the next wave optimizes for marginal improvements to whatever just worked.

When Cursor demonstrated traction, a sidebar, an agentic loop, regexp search, RAG retrieval, git patch application, the ecosystem did not question the architecture. It replicated it. More context, better tool calls, tighter loops. Rethinking is expensive. The result is an ecosystem of tools that are all, structurally, the same tool.

And every one of them is sitting in the same cockpit.

A Cockpit Built for Someone Else

That form factor makes three assumptions worth naming. That the human workflow is optimal. That the IDE is the right control surface. That token-level text editing is the correct primitive.

None of these are design conclusions. They are inherited constraints.

Humans use IDEs because of cognitive limits: limited working memory, sequential reasoning, manual navigation, manual diffing. The workflow was built around what humans can hold in their heads. An agent loop that mirrors that workflow doesn’t transcend those limits, it replicates them, and calls it automation.

And it doesn’t stop at the IDE. The languages themselves were built for the pilot. No programming language, and no interface, was built with LLM generation in mind. They were built for humans, and they assume the person writing the code meant what they wrote.

Take Python. Its type checking is permissive by design: type hints are optional, nothing enforces them when the code actually runs, and anything left unannotated just gets waved through. That’s a feature when a human is moving fast and knows what they meant. It’s close to useless when you need to verify code you didn’t write and can’t fully trust, which is exactly what LLM generated software is.

Every Layer Was Built for Us

We didn’t start here, though. Punch cards, machine code, assembly, compiled languages, modules and imports: every step up that stack was a decision about what humans could manage, a human constraint, and we chose to keep them all.

Chad Fowler makes a point in his Phoenix Architecture series that I think deserves a lot more attention: software needs a stable layer that implementations can come and go above. Compilers are a good example of how powerful that is. C, Rust, and Swift look nothing alike, but underneath, they can all compile down to the same intermediate representation, LLVM IR, a layer built for tools rather than people. That shared layer is what lets a new language show up without anyone rebuilding the whole machine underneath it.

I’d push it one step further. Almost every layer in that stack was written for a human. The rare one that wasn’t, we built for compilers. We’ve barely started asking what the layer for a model should look like.

The model writing all that code has nothing holding it in place either. The output space of a language model is essentially unconstrained: the same mechanism that writes a deployment pipeline could, prompted differently, produce a sourdough recipe. Nothing in the architecture stops it from handing you the sourdough recipe; the only thing standing in the way is how good the model happens to be.

So we have an unconstrained generator, writing into languages that barely check what it wrote. And instead of fixing that, we’re shifting the constraints the wrong way: piling more and more complexity onto the harness, the prompt, the tooling, adding constraints that were never needed, while the ones that actually matter still aren’t there.

We are building an ever more elaborate copilot, for a plane designed for a pilot who is no longer in the cockpit.

Why It Works

Software development rests on three pillars: logic, architecture, and infrastructure. The first one, logic, the discrete behavior of individual functions, is genuinely tractable for LLMs. Ask for a function that parses a date, reshapes some JSON, or wires one API to another, and you’ll usually get something that works on the first try. That’s pattern extrapolation doing exactly what it’s good at.

And that covers a surprising amount of what people actually need. A prototype over a weekend. An internal tool nobody would ever have gotten budget for. Someone who’s never written a line of code, building the thing they’ve been describing to engineers for years. The distance between an idea and something you can click on collapsed, and I don’t think that’s a small thing. It changed who gets to build software.

That it works at all is impressive. At small scale, it’s fluent, fast, and honestly a bit magical. The problem isn’t that it works. It’s that it works just well enough, for just long enough, that nobody questions what it’s standing on.

Where It Breaks

Architecture and infrastructure are a different story.

Humans faced the same cognitive constraints and responded by building methodologies: encapsulation, OOP, TDD, specifically designed to reduce what needs to be held in context at once, enforce interfaces, and allow independent parallel work. LLMs inherited the code those methodologies produced, but not the thinking that produced it. They capture whatever patterns exist in a codebase, good and bad, indiscriminately.

Peter Naur saw a version of this coming back in 1985. His argument was that a program’s real substance is the theory in the heads of the people who built it, and the code only ever carries a fraction of that. Steve Krouse recently asked the uncomfortable follow-up: now that the heads are machines that forget everything between sessions, where does that theory live? I don’t think a longer prompt is the answer. I don’t think more documentation is either.

And at the infrastructure layer, frameworks like Tailwind, Vite, and FastAPI are not static targets. They evolve. Either the ecosystem gets pinned to a version the model was trained on, or documentation gets injected into context at runtime. Both compound an already superlinear cost curve: every additional layer of architectural context costs disproportionately more, in tokens, in model size, in degraded output quality.

Longer Manuals Don’t Fly Planes

Instruction following is a thin layer on top of pattern extrapolation, and the deeper nested the pattern between input and output, the faster reliability degrades.

The industry’s answer has been to patch this with language. Lovable ships a 20,000 character system prompt to constrain what the model generates. Those 20,000 characters dilute what the user actually asked for, inflate token costs, and demand ever larger models to juggle both at once.

A more constrained output format, or purpose-built models with far less output variation, could sidestep most of this entirely. Aviation figured that out decades ago.

Modern fly-by-wire aircraft, Airbus most famously, have flight envelope protection. The pilot’s inputs get interpreted through a system that physically won’t let the plane stall, overbank, or overstress the airframe, however hard you yank the stick.

Aviation didn’t make planes safer by writing longer pilot manuals. It constrained the output space of the controls. That 20,000 character system prompt? That’s the pilot manual.

None of our languages were designed for this pilot.

We even know what happens when that kind of protection disappears. On Air France 447, ice blocked the airspeed sensors, the autopilot disconnected, and the Airbus fell back to a mode where the stall protection was switched off. Nothing was mechanically wrong with the plane. The only thing that changed was that the system stopped catching the pilot’s mistakes.

Redesign the Road

Without that protection, what we get is fluent at small scales and quietly catastrophic as complexity grows. The errors don’t announce themselves. They accumulate in the relationships between components, in contradicting assumptions baked invisibly across functions. At some point the context window can’t hold the system. Neither can the model.

Every improvement to the model only raises the ceiling on what can be generated. Each step costs more than the last, and the gap between where the curve is and where it needs to be never actually closes.

The usual instinct when a road keeps producing crashes is to add rules: lower the speed limit, put up another sign, tell drivers to be more careful, add more police checks. None of it touches the road. The Germans do something different. Wherever accidents keep repeating at the same spot, an accident commission, the Unfallkommission, looks at the road itself: the curve, the sightlines, the layout of the junction. They fix what’s underneath instead of stacking another rule on top of it. Anyone who’s dug deep into harness architecture will recognise this immediately; it’s the difference between adding another line to the system prompt and asking why the model keeps making the same mistake in the first place.

Sweden took it even further. Vision Zero, the idea behind its road design since the late nineties, starts from one premise: people will make mistakes, so roads should be built so that a mistake doesn’t kill anyone.

In software, the obvious reply is tests. It’s become common to have the LLM write the unit tests too. But I’d argue that’s just another layer of patchiness. It’s the same model, with the same blind spots, grading its own homework. If it misunderstood what a function should do, it’ll misunderstand what the test should check, in exactly the same way, and both will pass. It’s only kicking the can further down the road.

The point is to bank on deterministic ways of checking code. Things that don’t have an opinion. A type system that refuses to compile, a contract that rejects the wrong shape, an abstraction that simply has no way to express the mistake. Or constraining the output in the first place, by rethinking the assumptions underneath until the possible errors shrink. That’s changing the road so certain crashes become impossible, not asking the driver to be more careful. And it doesn’t have to cost flexibility. A roundabout doesn’t stop you from going anywhere; it just stops you from going head-on.

The Bitter Lesson

The obvious objection to all of this is Rich Sutton’s Bitter Lesson: every time we’ve built human knowledge into a system, a general method with more compute has eventually flattened it. But look at where it won. Chess and Go, games with fixed rules and a perfect judge; at the end of every game, you know exactly who won. AlphaZero didn’t get rid of the board. The board is why it worked. The Bitter Lesson says don’t hand-code how to play; it never said remove the rules of the game. Software is one of the rare places where you can build that kind of judge, and right now we mostly don’t.

That’s why I believe we’ll end up with localised experts, specialised solutions in each vertical, each one a general method on a road built for it. And I think AGI will stop mattering for most of those verticals long before we get there.

Which is also why I don’t see any of this as a bet against models getting better. It’s the opposite. Fowler’s work has the same quality: every better model makes it more valuable, not less. A better road works the same way. The model is going to make mistakes; it always will, no matter how big it gets. On a road built for mistakes, a better model just gets more done, and when it slips, the mistake stays in the one place it happened. On a road with no judge, a better model just gives you more confident mistakes, faster.

Nobody needs a car that can handle every road ever built, if the roads are built for the car. That’s the X the industry never surfaced. Not raising the ceiling on what the current architecture can handle, which only shifts the same scaling curve upward, but changing the curve entirely.