Skip to content
kc@kumarChandrachooda.com:~$ cd /blog/category/ai-engineering && read --section="01 ai-engineering" 0%
Topic

AI Engineering

31 articles filed under this topic.

Series in AI Engineering
Series · 3 parts

A Statusline Is a Tiny Harness

The first exercise I give anyone learning to direct coding agents has no prompt in it at all - it is a status bar. Why sixty lines of PowerShell teach context and harness thinking better than any lecture about either.

Series · 10 parts

PREVC in Practice

Agents now work unattended for stretches long enough that the conversation can no longer save you - why unstructured runs fail, the five-phase PREVC workflow I adapted from an open-source skeleton, and where this ten-part series goes.

Series · 15 parts

The AI Engineering Stack

Between late 2025 and early 2026 coding agents stopped pausing to ask questions - this series opener maps the five-discipline stack I now use to direct them, from table-stakes prompting to specification engineering.

Series · 2 parts

The Field You Build On

Teams ask for a rewrite as though greenfield were a reward for enduring the old codebase - it is a diagnosis with a test attached, and misdiagnosis is how rewrites fail. Part 1 of 2 on choosing the field you build on.

Standalone articles
AI Engineering 30 Jun 2026

The Chatbot Is Not a Strategy

A chat window bolted onto a product is not an AI strategy, and neither is an assistant licence mandated for developers - the case for adoption with intent, and the staged-maturity evidence behind it.

Everything in AI Engineering View
AI Engineering 30 Jun 2026

The Chatbot Is Not a Strategy

A chat window bolted onto a product is not an AI strategy, and neither is an assistant licence mandated for developers - the case for adoption with intent, and the staged-maturity evidence behind it.

AI Engineering 28 Jun 2026

A Blank Page Still Needs Gates

The diagnosis came back genuine and the repository is empty - now the discipline the old system used to impose for free must be rebuilt by hand. Greenfield delivery as three questions (decide, prove, ship) and the gates an AI-assisted team still owes itself.

AI Engineering 26 Jun 2026

Greenfield Is a Diagnosis, Not a Prize

Teams ask for a rewrite as though greenfield were a reward for enduring the old codebase - it is a diagnosis with a test attached, and misdiagnosis is how rewrites fail. Part 1 of 2 on choosing the field you build on.

AI Engineering 03 Jun 2026

When the Percentage Looks Wrong

Every confusing statusline behaviour is a lesson about the harness underneath - the token arithmetic that refuses to match, the 300ms debounce, the five-second timeout, and the escape codes that fight back.

AI Engineering 02 Jun 2026

Five Scripts and One Settings Key

The statusline build, end to end - a stdin JSON contract, an entry point that reads once and delegates, a colour-coded session line, git platform routing, and the single settings.json entry that wires it all in.

AI Engineering 31 May 2026

A Statusline Is a Tiny Harness

The first exercise I give anyone learning to direct coding agents has no prompt in it at all - it is a status bar. Why sixty lines of PowerShell teach context and harness thinking better than any lecture about either.

AI Engineering 13 Apr 2026

An Honest Ledger for a Borrowed Skeleton

The series retrospective - what was borrowed and from whom, what my extensions add and what they cost, the gap between the workflow as described and the runs I can actually evidence, and what I would do differently.

AI Engineering 11 Apr 2026

PREVC Against the Methodologies

Where a five-phase agent workflow actually sits against PDCA, Scrum, waterfall, spec-driven development and the V-Model - one mapping table and five honest comparisons, because a workflow that cannot name its ancestors is hiding something.

AI Engineering 09 Apr 2026

Confirmation Closes the Circle

PREVC's fifth phase is the one most cycles skip - a structured retrospective that turns observations into harness changes, and release documentation that writes the next cycle's requirements before it starts.

AI Engineering 07 Apr 2026

Every Requirement Gets a Receipt

Validation traces every requirement to its implementation and every implementation back to a requirement - gap analysis, the traceability matrix, holdout scenarios the agent never sees, and the two feedback arrows that make the phase more than an audit.

AI Engineering 06 Apr 2026

The Mistakes That Compile

The scariest agent mistake is not the invented method that errors on first run - it is the polished code that passes. Simon Willison's argument about hallucinations, and the four failure patterns I review for.

AI Engineering 04 Apr 2026

Four Ways Out of an Infinite Loop

The Code-Review-Simplify loop has no natural end - an agent will polish forever if you let it. The four breakout constraints I arm around the loop, and how I match the exit to the risk of the work package.

AI Engineering 02 Apr 2026

The Code-Review-Simplify Loop

Execution is not one heroic pass - it is a three-step inner loop in which the agent codes, the output is read against the specification, and over-engineering is actively stripped out. The loop is my extension to the borrowed skeleton, and this is how it runs.

AI Engineering 31 Mar 2026

Review Is the Most Important Handoff

The Review phase is where a human takes an agent-graded plan and does the three things no score can - raise clarity, raise completion, minimise complexity - then encodes intent before a line of code exists. Why I call its exit the workflow's most important handoff.

AI Engineering 29 Mar 2026

A Plan You Can Grade

PREVC's Planning phase has the agent decompose the work the way project managers always have, then do something no methodology asked of it - grade its own plan. The work breakdown structure, the fifteen-minute waterfall, and the three scores I added.

AI Engineering 28 Mar 2026

Why Agents Need Gates

Agents now work unattended for stretches long enough that the conversation can no longer save you - why unstructured runs fail, the five-phase PREVC workflow I adapted from an open-source skeleton, and where this ten-part series goes.

AI Engineering 26 Mar 2026

What the Stack Does Not Solve

The honest retrospective this series owes its readers - the thesis I believe but cannot cite, the threshold that is really one team's habit, the discipline with no how-to, the figures that will age, and the work you should not hand to an agent at all.

AI Engineering 24 Mar 2026

Five Levels, One Ladder

Dan Shapiro's Five Levels ladder maps where the industry actually stands with autonomous coding agents - most of it lower than it believes - and StrongDM's three-person software factory shows what the top rung looks like when someone builds it.

AI Engineering 22 Mar 2026

The Five Primitives

The disciplines tell you what to learn - the primitives are what you actually write. Five small, recurring artefacts of AI-directed work, from the self-contained problem statement to the evaluation harness, each shown with a worked example.

AI Engineering 21 Mar 2026

Specification Engineering and the 80% Problem

The highest-leverage discipline in the stack is writing down what done looks like - what a specification must contain before an agent can execute for hours against it, and what Addy Osmani's 80% problem actually says about the work that remains.

AI Engineering 19 Mar 2026

Intent Engineering and the Klarna Lesson

An agent can have perfect context and a flawless harness and still optimise for the wrong thing - what Klarna's 2024 launch figures and 2025 reversal actually teach about encoding organisational intent, and three mechanisms that stop that intent drifting.

AI Engineering 17 Mar 2026

A Short Map Beats a Long Manual

Progressive disclosure at repository scale - how a hundred-line map steers agents through a million lines of code, what OpenAI's Codex experiment actually reported, and the benchmark run where changing only the harness moved an agent from Top 30 to Top 5.

AI Engineering 15 Mar 2026

Constraints, Not Implementations

Why the context file that says what an agent must and must not do stays current for months, while the one that describes how the code works is stale by Friday - and how to decide what loads always versus what gets fetched on demand.

AI Engineering 13 Mar 2026

Harness Engineering in Three Levels

The permanent infrastructure that makes every agent session start smart - tool configuration, codebase onboarding and workflow automation, and the evidence that the harness moves results more than the model does.

AI Engineering 12 Mar 2026

Research, Plan, Implement

The workflow that turns one long degrading session into three small clean ones - what each phase produces, why the artefacts matter more than the phases, and how much ceremony a task actually deserves.