Long agent runs don’t fail on hard problems. They fail on problems nobody knew were there. So before you plan, scout: sweep the goal quadrant by quadrant for what’s known, what’s unknown, and what’s a blindspot; carve the revealed ground into territories that can be taken independently; and when a territory turns out to hide more map, re-slice and scout again.
This is step one of the Software Factory loop, and the reason the other steps stay cheap.
The hard part is the slicing (and it isn’t task breakdown)
The common instruction is “break the goal into tasks.” That’s not it. You need independently verifiable pieces — things you can:
- build in isolation,
- instrument in isolation,
- and be wrong about in isolation.
The third one is the whole point. Those are the same boundaries you attach sensors to (Codebase as a Black Box) and the same boundaries that keep decision 12 from silently poisoning decisions 13 through 30 (Decision Ledger). One discipline, both surfaces. A “task list” that doesn’t isolate wrongness gives you neither.
This is where Long-Running Agents and Loop Engineering get their real precondition. A loop is only safe to the extent that its unit of work can be independently wrong.
The harder problem sits one level back
Before you can slice a goal, you have to know its shape — and usually nobody does. Not you, not the agent. The standard failure of a two-day autonomous run isn’t that the model couldn’t solve a hard problem; it’s that neither party knew a problem existed until the build hit it, by which point the plan was built on top of it.
Hence: scout before you plan.
- Sweep quadrant by quadrant. Take the goal and cover it systematically, classifying each area as known, unknown, or blindspot. The blindspot category is the one that pays for the exercise.
- Hand back rendered options and decision tables, not questions. People are bad at imagining and good at reacting. Show two concrete shapes and ask which is wrong, rather than asking “how should this work?” (This is why Zhang’s
explore-unknownsskill produces artifacts from the interview, not a transcript.) - Carve the revealed ground into territories that can be taken independently.
- Re-scout on contact. When a territory turns out to hide more map, re-slice it and scout again. The plan re-slicing itself mid-build is a designed behavior, not a failure.
Honest beats perfect
None of these passes need to be perfect. They need to be honest. Each iteration gets less wrong, and less wrong compounded over a long run is how you get to done.
That’s a genuinely different quality bar from “the plan must be right,” and it’s what makes iterative scouting affordable. Combine it with Making Your Agent Reliable’s ordering: fix what’s actually failing, in the order it fails.
Why this makes the spec cheap
The payoff shows up two steps later. If the decisions get made during scouting, then codifying is mostly transcription plus adversarial planning — the expensive thinking already happened upstream where it was cheap to change.
The inverse is the common failure: writing a confident spec over unexplored ground. Every unknown you didn’t surface becomes a silent guess during implementation, which becomes an entry in the Decision Ledger, which becomes something you discover two days in. Ledger length is a measurement of how badly you scouted.
This sharpens Writing Specs for AI Coding Agents and Spec-Driven Development, both of which start at “write the spec.” Fog-of-war scouting inserts a phase before that and says: the reason your specs are wrong is that you wrote them over terrain you hadn’t walked.
Rendered options over open questions
The interview technique deserves separating out, because it’s reusable well beyond coding.
Asking a stakeholder “how should the retry policy work?” asks them to imagine a system that doesn’t exist. Handing them two rendered options and a decision table asks them to react — which humans do far more reliably and far faster. The output is a decision, not a discussion.
This is the same instinct behind Human-in-the-Loop as a Tool Call (structure the human’s contribution so it’s answerable) and Evaluation-First Prompting (state what “correct” means before generating). For a TPM it’s just good requirements practice, but agents make it enforceable: the scouting pass is a skill that must emit options, so nobody gets to leave the ambiguity open.
Related Concepts
- Software Factory — the parent loop; this is step one
- Codebase as a Black Box — the seams you slice toward are the seams you instrument
- Decision Ledger — what an under-scouted goal produces
- Long-Running Agents — the runs this discipline is designed to protect
- Loop Engineering — loop mode is only safe over independently verifiable slices
- Writing Specs for AI Coding Agents / Spec-Driven Development — the step this one feeds
- Bounded Cognition — why systematic quadrant sweeps beat “think hard about what we’re missing”
- Agent Swarms — slicing into independently-wrong pieces is also the precondition for parallel execution
Sources
- Building software factories (with no slop) — David Zhang, Building software factories (with no slop), 2026-08-20; the “The hard part is the slicing” section, with
explore-unknownsandwrite-specas the implementation