Skip to content

7.2 AI-Assisted Developer Workflows: Measure the Work, Package the Practice

An AI-assisted developer workflow gives part of an engineer’s work to an AI tool. An outcome measure is a property of the work itself. An adoption figure counts how much the tooling was used. A check shows you cheaply whether an output is right. Packaging changes one person’s procedure into an artefact that the team shares.

This lesson uses one made-up example throughout: a laundrette chain whose two developers maintain its booking app and payment-machine software. A quarter after the chain adopted AI coding tools, the owner asks whether the tools worked.

Outcome measures are properties of the work:

  • cycle time from ticket to merged change
  • defect escape rate (the share of defects that reach production)
  • review latency (how long a change waits for review)
  • how long a new joiner takes to make a safe change
  • incident time-to-resolution

Each measure has a value from before. Each measure also changes for reasons that an architect can defend in a review.

Adoption figures measure how much the tooling was used: sessions per week, accept rate (the share of suggestions that developers accept), and the share of merged changes that contain assisted code. Anthropic’s analytics guidance says to read adoption figures together with engineering measures, never instead of them. A productivity claim with no baseline fails in the same way as an accuracy claim without a baseline.

Name the outcome measure and its baseline before the quarter starts. A baseline reconstructed afterwards is not evidence, only a claim. At the laundrette, daily tool use is an adoption figure. The number of payment bugs that reach the machines is an outcome measure. This number was counted last quarter too.

Before you automate a task, ask what checks its output cheaply. That question divides the work into groups. A test suite, a build result, a linter or a fixture comparison completes the loop without a human taking part. In this loop, the agent works, runs the check, reads the result and iterates. Anthropic warns about an agent without a check that it can run. In that case, “you become the verification loop: every mistake waits for you to notice it”.

Work whose correctness only an experienced human can judge, slowly, is the worst candidate for automation, not the best. Output arrives faster than people can judge it, so automation makes the review bottleneck bigger.

At the laundrette, an agent can change the payment code and run its test suite. A decision on whether a pricing rule is fair needs the owner, so that task comes last.

One engineer’s good procedure is a habit. Packaging changes that habit into the artefact that a team needs. The type of reusable artefact depends on what the team reuses:

  • a repeatable procedure becomes a shared, version-controlled workflow that anyone can invoke by name
  • a recurring specialist task becomes a defined role with its own instructions and restricted tool access
  • a recurring need for context becomes shared project context, not four private copies

Outcome quality then stops depending on who ran the artefact. Improving the artefact once improves it for everyone, because it is reviewed and versioned like code. The gain also remains when someone resigns. A habit does not. At the laundrette, one developer’s release-check routine is committed as a shared workflow. It still runs if she leaves.

Review Stays Independent, Humans Keep Merge Authority

Section titled “Review Stays Independent, Humans Keep Merge Authority”

Review is the step that enforces quality. Review loses its value when the reviewer shares the author’s context. Whatever produced a change still holds the assumptions under which the change was written. So that producer confirms its own reasoning, fluently and at length. Anthropic states the fix: “A fresh context improves code review since Claude won’t be biased toward code it just wrote.”

Humans keep merge authority, the decision on which changes merge. Anthropic’s managed review posts findings that “don’t approve or block your PR”, so machine review adds a signal without making the decision. An independent reviewer has its own failure mode. When you ask it to find gaps, it reports some gaps even when the work is sound. Limit the reviewer to correctness and stated requirements, not personal style preferences. At the laundrette, a fresh context reviews the tool’s changes for correctness. A named developer decides what merges.

Autonomy depends on how cheaply an action can be undone, not how much the team trusts the tooling. A mistake that reverts cheaply costs little. A mistake that cannot revert needs a person first. So:

  • limit what automation may execute
  • make irreversible actions wait for an approval
  • protect the branches that matter
  • let continuous integration be the objective check that no confident explanation can override

At the laundrette, payment-machine changes wait for the owner’s approval, and continuous integration blocks merges that fail the payment tests.

The same rule applies to adoption. Start where the problem is measurable. Make the gain inheritable (objective 7.1). Let evidence spread the gain, not a mandate.

Questions in this objective all ask one thing: did the tooling work? They test what counts as an answer and which work should have been automated at all. They also test what changes one engineer’s habit into a team capability, and who approves the result. Little in these questions depends on a product feature. Most depends on knowing the difference between a usage number and a result.

The usual trap option automates the painful work with no check. Packaging is the half of most right answers that is easy to miss.

A same-period comparison shows whether the numbers changed, not why they changed. Fewer payment bugs at the laundrette would not prove that the tooling caused the fall.

A platform team is a quarter into AI-assisted tooling and the director asks whether it worked. The only figure anyone holds is that 70% of merged changes contained assisted code. Two engineers have worked out procedures that clearly help — one for generating migration tests, one for triaging production logs — and neither has been written down. What should the architect do?

  • A. Report the 70% figure as the result for the quarter, since it is the only number the team holds and it does show that the tooling was involved in most of the work that reached production
  • B. Compare cycle time, defect escape rate and review latency against the preceding quarter, and package both procedures as shared, version-controlled workflows the team inherits
  • C. Survey the team on how much more productive everyone feels now, and report the average of those responses to the director as the outcome for the quarter
  • D. Standardise every team on the exact tool choices the pilot made, immediately, on the grounds that the pilot is the only group in the organisation with real experience worth copying
Answer & explanation

Correct: B

  • A — It answers a question the director did not ask. The figure counts how often the tooling was involved, not whether the work improved, and with no baseline it cannot separate a real gain from more use of the tooling.
  • B — Measures the work rather than the tooling, and states honestly that a same-period comparison shows whether the numbers changed, not why. Packaging is the half that lasts: the procedures stop depending on who runs them and remain after either engineer leaves.
  • C — Substitutes sentiment for evidence. Perceived productivity moves with novelty and mood, carries no baseline, and would not change the decision either way.
  • D — It is the extreme, absolute option. It generalises from an unmeasured pilot to teams whose pain was never the same, producing compliance rather than improvement.