Working Surfacelink · 2 Dec 2026
03
A long sea wall built from stones of many different shapes, each patch fitted where a wave once broke through, with small waves breaking harmlessly against it and two figures in silhouette on top watching much larger waves gather far out at sea, the whole scene drawn with wide empty margins on every side.
Accidentally in Code

What validation looks like in a two-person software factory

Cate Huston · 1 December 2026

Company story · critique & review · roles · Changing roles

Read the original
Takeaway

Cate Huston listed every check that AI-written code passes in a two-person team, and named large pieces of work, not routine changes, as the team's new limit.

Summary

Cate Huston, an engineering leader who writes Accidentally in Code, runs a two-person team that uses AI agents to ship more than 30 pull requests a day. Huston lists the checks each change passes, from tests on every change to checks before each release. Merged changes rose from 31 a month in April to 931 in November, while open large tasks more than doubled.

Key points
  • Each change must prove its test catches the defect by removing the fix, showing a named test fail, and restoring it.
  • Dozens of project rules each began as a real defect or near miss, and each rule first proves it can fail before it is trusted to pass.
  • Before a database change, about 40 read-only queries count the rows it will touch, and a person reviews the counts.
  • In August, seven of eight urgent fixes were defects; in November, only one of four was.
Implication

Huston argues that thorough automated checks make routine output reliable, so engineers' work moves to large tasks that need new checks or human judgement. The figures come from one small team.

Plays
Engineering

Require each change to show that its new test fails when the fix is removed, and record that proof in the pull request.

Engineering

After each defect in AI-written code, add an automated check that cites the defect it came from, and confirm it fails on the faulty code before trusting it.

Derived by Working Surface from the article; more in the Playbook. Source line: These checks are part good practice, part scar tissue: when something failed, we hunted down the bug class and how it got through, and added a check so it couldn’t happen again.

Source issue

2 December 2026: teams whose AI agents write the code let automated checks approve routine changes, keep a named person for the rest, and write down who proposes, reviews and owns the work.