I have coded with AI tools since Copilot was autocomplete in VS Code, and moved through Cursor to Codex and Claude Code as agents became able to do real work. The tools changed fast. What I kept was the habit of re-testing what they can actually do.
01
I test the capacity, not the claims
Two years ago an agent could finish a small, well-fenced task and not much else. It duplicated code it had written twenty lines earlier, and it did not test what it produced. So I gave it slightly harder work each time, to find where the edge actually was.
Later the same tools began reading the repository first, finding the helper that already existed, and reusing it. The edge had moved. I have repeated that test every few months since, on real work rather than benchmarks: how much context it holds, how far it carries a task before it drifts, what it still gets confidently wrong. The workflow below is my current answer to that question. It has been rewritten three or four times, and it will be rewritten again.
02
The system
01
The loop
I do not prompt and hope. I write a spec, have the agent produce a plan against it, and review that plan before a line of code exists — most bad output traces back to a bad plan I could have caught in thirty seconds of reading. Then it executes in small, reviewable diffs, and when something is wrong I fix the plan instead of patching the output.
02
What I delegate, and what I don't
Agents get scaffolding, test generation, mechanical refactors, and exploration of unfamiliar APIs and codebases. I keep architecture, data modeling, security-sensitive paths, and anything I cannot verify myself. The boundary is not about difficulty. It is about whether I can check the answer.
03
Parallel agents
For larger goals I cut the work into slices that do not touch the same files, run agents against them concurrently, then integrate. Spawning agents is the easy part. The work is cutting the problem so the pieces do not collide and the integration does not cost more than the parallelism saved.
04
Verification
Nothing ships because an agent wrote it. Tests before implementation where it matters, small diffs I read line by line, typed boundaries so a wrong assumption fails at compile time instead of in front of a user. It is the same instinct as the conversion boundaries in my product work: make the wrong thing hard to express, rather than catching it downstream.
05
Work with the training distribution
In my experience a model is far stronger on patterns that are dense in public training data than on a proprietary structure introduced at inference time. So when I need structured output, I ask for something the model is already fluent in and translate at the boundary into the structure I actually need, rather than spending the prompt teaching it a private format.
03
The trade in that last one
It is worth being precise about why I hold that position, because it is the one most likely to be argued with. It is empirical, not a theory about what happens inside a model. I hold it because output quality moved when I changed the representation I asked for, and because a private schema has no presence in any training corpus while the common languages of the web have an enormous one. If a model showed me otherwise on a task I cared about, I would change the representation again.
It is a trade, not a free win. The thing you ask for and the structure you actually need are not the same shape: each can express something the other has no word for, and every one of those gaps lands on the translation layer. That layer is where the hard cases live, where the deliberate degradations have to be chosen, and where the maintenance cost sits as both sides evolve.
I take the trade anyway, for the same reason I prefer typed boundaries to careful review: a translation layer is something I own, can test, and can fix. A prompt that has learned to describe a private format is something I can only hope about, and it stops being true the next time the model changes underneath me.
04
Where it breaks down
Three failures I have actually hit, not a list of things that could go wrong. Each one changed how I work.
It rewrites code it cannot see the reason for
An agent removes or restructures something that looks redundant, and the diff reads clean, because the constraint that made it necessary lives in a file it never opened. This is the strongest argument for reviewing plans and not only diffs: the wrong assumption is stated plainly in the plan and nearly invisible in the patch.
Confident code against an API that does not behave like its documentation
Plugin and platform surfaces are the worst case, because the model has read the documentation and not the runtime. The output compiles, reviews well, and fails on contact with the real thing. The only fix I trust is a small probe against the real API before the real implementation.
Long tasks where it loses the thread
Past a certain length the work turns into churn — edits that undo earlier edits, plans restated with slight drift, a diff that grows while progress shrinks. Continuing is almost always more expensive than restarting from a tighter plan.
05
In practice
This site is the honest example, because none of it sits behind a privacy boundary. It is a bilingual Astro site: typed content collections, a runtime theme system where the entire palette hangs off two numbers, a content validator that refuses to build anything I have not cleared for publication, unit tests, and Playwright end-to-end coverage — about thirteen thousand lines across seventy-eight files at first publish. I built it in three days of work using the loop above. By hand I would have estimated two to three weeks, and I would probably have dropped the Vietnamese half.
At work the same loop runs against a far larger codebase. Agents take the mechanical breadth: adapter cases per element type, test fixtures, tracing how an unfamiliar plugin surface actually behaves, the long tail of branches a conversion path needs. The representation boundaries, the failure behaviour, and the access model stay mine, because those are the parts I could not have checked by reading a diff.
It is not a claim that agents write my hard code. The parts of my work I am proudest of — the conversion boundaries, the invalidation contracts, the access model on an agent-facing server — are decisions, and decisions do not delegate. What agents changed is how much of everything else I have to do by hand before I reach them.
06
Let’s buildwhat’s next
I enjoy conversations about backend systems, integrations, interactive tools, AI infrastructure, and the lessons hidden inside difficult features.