Engineering AI readiness: a checklist before agents arrive

Stefan-Iulian Tesoi · · 6 min read

Rows of round engine gauges on an aircraft instrument panel, each dial reading one temperature or pressure, the separate readings checked before anything is allowed to start

Look at five things before choosing a tool: tests that fail when behaviour breaks, a CI pipeline that answers in minutes, branch protection that binds agents as well as people, reviewers with hours to spare, and a backlog whose items an agent could take unedited. A team missing two of them spends its first agent month fixing those instead.

Engineering AI readiness is an inventory of what already exists, and it can be taken in an afternoon.

What does engineering AI readiness mean?

It means the systems around the code can absorb changes that arrive faster than people used to write them. Installing a coding agent takes an afternoon. Whether its first wrong change is caught, by what, and how long after it was made depends on the test suite, the CI pipeline, code review, the merge rules and the backlog the work comes from.

That makes an AI readiness assessment an audit of plumbing rather than of attitude. A survey of enthusiasm tells you who will try the tool. It does not tell you what happens to a plausible change that is wrong.

Five checks, and what each one catches

Each check has a yes or no answer, and each no has a predictable cost once agents start.

CheckReady looks likeWhat a no costs once agents start
Test suiteBreaking a behaviour turns the run redGreen runs that prove nothing get read as evidence
CI pipelineA full run finishes in under 15 minutesEvery returned item waits, then waits again after each fix
Branch protectionNothing reaches main without checks and a reviewAn agent's push lands on main before anyone looks
Code reviewReviewers have hours a week not already spoken forPull requests queue, and review turns shallow to keep up
BacklogMost top items carry acceptance criteria a machine can checkAgents sit idle, or build what the title said

The test suite has a trap: a suite can be green and check nothing. Delete one line of business logic on a throwaway branch and see whether anything fails. If nothing does, the suite is decoration. Quality gates that fail quietly lists four ways a gate exits zero without checking anything.

Branch protection has a trap of its own, and we walked into it. We committed CODEOWNERS files to two private repositories to clear a scanner's finding, and they requested nobody's review. GitHub's documentation is plain about why: on the free plan, code owners and protected branches apply to public repositories only, and the protection API answers a private one with a 403 asking for an upgrade. Prove a rule fires by trying to break it, not by reading the settings.

The backlog is the check most teams skip, because it feels like product work rather than engineering. It is also the one that caps the rest. The backlog audit takes twenty items and four questions, and the share that passes is the share of the backlog an agent can touch.

Why does slow CI hurt more with agents?

Because CI time is paid per attempt, and agents make more attempts. A person facing a 40-minute pipeline batches changes and works on something else meanwhile. An agent's change is one item, and when a check fails it fixes and pushes again, paying for the whole run each time.

Six items a day at two runs each is twelve runs. At 40 minutes a run, that is eight hours of waiting before review starts; at 10 minutes, two. The pipeline does not get slower when agents arrive. It gets used often enough for its speed to matter.

Flaky tests compound it. An agent reading a red run cannot tell a flaky test from a real failure, and it will often change working code until the run goes green. A test that fails one run in twenty is a nuisance for people and a source of unwanted edits for agents.

How do you score a team in an afternoon?

By answering each check from evidence instead of opinion. For one repository it takes about three hours, and most of it is reading history that already exists.

  1. Break something on purpose. Remove a line of business logic on a branch, push, and record whether CI fails and how long it took to say so.
  2. Read the last 20 CI runs. Note the median duration and how many failed, then passed on a re-run with no change.
  3. Push to main as the agent would. Use the credentials the agent will hold. The push should be refused.
  4. Count review hours. Take the median time from pull request opened to first review over the last month, and ask each reviewer how many hours a week they could add.
  5. Audit twenty backlog items. Count how many an agent could take as written.

Score each check 0 when it is absent, 1 when it exists but failed the test, and 2 when it was tested and held. Eight or more out of ten is ready to start. Five to seven means start with one agent on the parts that passed. Below five, fix first.

A pre-rollout checklist that ends in a number can be repeated next quarter. One that ends in a feeling cannot.

Asked "is my team ready for AI agents", most people answer with a tool demo. The score is the better answer, because it names what to fix.

What should be fixed before the rollout, and what can wait?

Fix the checks that let a wrong change through; defer the ones that only slow things down. A test suite that fails and branch protection that holds are in the first group. Without them, the first bad agent change reaches main, and the permissions the agent holds decide how far it spreads. Both take days rather than months, and both protect against people as much as against agents.

CI speed and review capacity can improve during the pilot. They show up as waiting rather than damage, and a pilot measures them better than an estimate.

The backlog sits between the two groups. A thin backlog lets nothing wrong through, but it decides whether the rollout has anything to do. Coding agent rollout: a plan for one team puts the audit in week one for that reason.

Laimonade works on that last check. It rewrites backlog items into work orders with acceptance criteria an agent's result can be checked against, and checks returned work against them; a coding agent connected to it can bring an item to In Review and no further. The first four checks are yours.

Frequently asked questions

Does a team need high test coverage to start?

No. It needs tests that fail when the behaviour they cover breaks, in the parts of the code agents will touch first. Coverage measures which lines ran, not whether anything was asserted, and a suite at 80% can pass with business logic deleted. Start agents on modules where a deliberate break turns the run red, and widen from there.

Can agents help fix the gaps they expose?

Partly. An agent can write tests that pin down what untested code does today, and speeding up a slow pipeline is often specifiable work. It cannot add review hours, and it should not hold the permission to change branch protection. Point the first agent items at the test gap, and review them like any other change.

Who should run the assessment?

A tech lead with access to the CI settings and repository permissions, paired with whoever owns the backlog. The tech lead can break things on purpose and read pipeline history; the backlog owner can judge whether an item is executable. An outside consultant can run the checklist, but cannot fix what it finds, which is the part that takes time.