Skip to content

A definition of done for teams that work with coding agents

A shared list of what must be true before work counts as done: code, tests, review, documentation and release. Why a person, not the author, signs off.

Published by Contextingo.

A definition of done is a list the team agrees on. Work that does not meet it is not done, however finished it looks.

A starting list

  1. The acceptance criteria of the issue are met, each one checked.
  2. Tests cover the new behaviour, and the whole suite passes in CI on the final commit.
  3. Lint and typecheck pass.
  4. No unrelated changes in the diff.
  5. Documentation and the changelog are updated where users are affected.
  6. Security-relevant changes are reviewed by someone who knows the area.
  7. A person other than the author has reviewed and accepted the change.
  8. Findings, decisions and failed attempts from the work are recorded.
  9. The change can be rolled back, or the plan to do so is written.

Who says it is done

The author’s view is the least reliable, whether the author is a person or an agent. Done is a decision by the reviewer with evidence: criteria, fetched checks, the diff.

Review the list

Look at it each quarter. Remove items nobody checks and add what recent incidents showed.

Related: acceptance criteria a coding agent can check.

Questions

Good to know.

Is a definition of done the same as acceptance criteria?

No. Criteria are per issue. The definition of done applies to all work.

Can CI be the only reviewer?

Only if your team decides so and CI covers what matters. Otherwise a person decides.

Nothing learned is lost. Nothing unchecked is done.