When Not to Use AI: A Task-Fit Frame for Engineers

When Not to Use AI: A Task-Fit Frame for Engineers

Whether a coding agent pays off is a property of the task. Four traits that predict it, where delegation goes net-negative, and matching the mode to the work.

Whether a coding agent pays off is a property of the task, not a matter of principle. Four traits predict it — how precisely the intent can be specified, how cheaply success can be verified, how contained the change is, and how closely it follows common, well-established patterns. In this frame, tasks high on all four are the best candidates for delegation; tasks low on specifiability or verifiability are where plausible-but-wrong output can be expensive, because nothing cheap catches it. The rest is matching the mode — autocomplete, chat, or agent — to the task shape, and noticing when delegating quietly costs more than writing it yourself.

Task properties that predict agent success

The question "should I use AI for this" has no general answer, because it is the wrong unit. The right unit is the task, and four of its properties predict how an agent will do.

Specifiability is whether the intent can be stated precisely enough that success is unambiguous. Verifiability is whether you can check the result cheaply, ideally mechanically, rather than by reasoning through it. Locality is how contained the change surface is — one file and one contract, or a cross-cutting concern that touches everything. Precedentedness is whether the task follows patterns that are common in public code or asks for something genuinely novel. That such common patterns are well represented in what a model learned from is a working hypothesis, not a documented rule.

PropertyHigh-fit tasksLow-fit tasks
SpecifiabilityConfig generation, API-call migration"Make the dashboard feel faster"
VerifiabilityPure functions with tests, formattersConcurrency and caching correctness
LocalitySingle-file refactor, test scaffoldingCross-cutting architecture change
PrecedentednessCRUD endpoints, boilerplate, mechanical sweepsA novel domain algorithm

A task high on all four — a mechanical migration, boilerplate, test scaffolding, a rename sweep — is where, in this frame, agents are most likely to pay off, and where a consistent, rule-following pass can beat a human doing something tedious. The dangerous quadrant is high specifiability paired with low verifiability, or low specifiability full stop: the agent can produce something confident and plausible, and the cost of discovering it is wrong lands late, because nothing cheap flagged it. When you cannot state what "correct" means or check it without deep reasoning, generation speed is not the constraint you should be relieving.

Where delegation goes net-negative

Even a fit that looks acceptable can turn negative in practice, and the losses are quiet.

The first is the babysitting trap: a task the agent almost handles, so you prompt, correct the output, re-prompt around the misunderstanding, correct again. Each cycle feels close, and cumulatively it can exceed what writing the thing directly would have cost — except the sunk cost is invisible because it arrived in small increments. A concrete stop-loss keeps this honest. As a rule of thumb rather than a measured threshold: after two failed attempts on the same task, stop delegating and write it yourself. Two failures are a signal that the task may sit in a low-fit quadrant you misjudged.

Design-heavy work is a second net-negative zone. When the hard part is deciding what to build — the data model, the boundaries, the shape of the interaction — generation speed solves a bottleneck you do not have. Producing code faster from a decision you have not made yet just means iterating on the wrong artifact more quickly.

The third is subtler and worth taking seriously: comprehension debt. Delegating the writing of code you will later have to understand deeply does not remove the understanding cost, it defers it — to the moment the system breaks and you are reading, for the first time and under pressure, code you nominally own but never internalized. For code at the center of your system, the writing was where the understanding was going to come from. Delegating it moves the bill to the worst possible time to pay it.

Matching the mode to the task

"Use AI" is not one action. There are at least three modes, and mode mismatch is its own failure independent of task fit.

Autocomplete is for line-level flow inside code you are actively writing — it accelerates typing without taking the wheel. Chat is for explanation, exploration, and design conversation, where you want reasoning you can push on, not a diff. Autonomous agent is for scoped, verifiable delegation, where you hand over a bounded task and check the result. Reaching for the wrong one adds friction: an agent spun up for a one-line fix is mostly overhead, and autocomplete driving a cross-file migration can produce locally plausible edits without a view of the whole change.

The modes compose within a single piece of work, and a workflow can use them together. You might reason through a feature's design in chat, decide the boundaries yourself, hand the mechanical remainder — the repetitive endpoints, the fixture scaffolding — to an agent against a clear spec, and write the one subtle, high-comprehension core function with autocomplete assisting your own hands. One task, three modes, each on the sub-part that fits it.

Keeping the judgment honest over time

The task-fit frame is stable; the frontier it is applied against is not. Capability moves fast, so a task class that failed some time ago deserves an occasional cheap retry rather than permanent exclusion — and any capability claim you rely on should carry its source and access date rather than a remembered impression, because memory of what models can do goes stale quickly. Practitioner analyses of where assistance currently helps and hurts are useful precisely because they are dated and revisable (Exploring Generative AI, the memo series on Martin Fowler's site, as of November 2026). Vendor guidance is a different kind of source: GitHub's "Best practices for using GitHub Copilot" (accessed November 2026) lists some of the things Copilot does best and what it is not designed to do, which makes it a reference point for that product rather than an independent analysis. A model's own marketing about its abilities is not a substitute for your own dated observation.

Watch your defaults, because both directions miscalibrate. Reflexive delegation of everything sends low-fit tasks to the babysitting trap and accrues comprehension debt on code that mattered. Reflexive avoidance leaves likely wins — the migrations, the boilerplate, the mechanical sweeps — on the table out of habit. The frame exists to interrupt the reflex in both directions and make the call per task.

One last consideration resists pure efficiency logic. Occasionally writing something you could have delegated is deliberate practice, not waste. The judgment in this whole frame — knowing what specifiable means in your codebase, recognizing the low-verifiability trap before it costs you — is a skill that can erode if every keystroke is delegated. Keeping your hand in on work you understand is how you stay able to tell, as capability shifts, which tasks are worth handing over at all.

Project Inquiry