📚 Encyclopedia

AI & Claude · updated 2026-10-13

Review agents before deploying nontrivial changes

code-reviewsubagentsarchitectpedantdeployworktreestesting

Running independent review agents on a change after writing it and before shipping it (Justin's /review skill runs an architect and a pedant in parallel) repeatedly caught data-loss bugs that passing test suites and static analysis missed. It is now a standard pre-deploy step for anything touching sync, counts, caching, watermarks, or concurrency.

What it caught

Why tests miss these: unit tests with mocked DAOs and in-memory fakes do not exercise multi-run state, ordering, or "what happens on the second sync".

How to run it

  1. Finish the change and its tests.
  2. Run architect + pedant reviews on the diff (and the surrounding code paths).
  3. Triage findings in the same session: fix, re-test, then deploy. Budget time for this.
  4. For bug hunts, have each suspicion reproduced by a test or on a device before fixing it.

Parallel worktree merges leave semantic seams

When several agents work in separate git worktrees and their branches auto-merge cleanly, the merged result can still be wrong: two agents independently fixed the same latent bug (errors never shown) and the merge kept both mechanisms (a Toast and a Snackbar racing to clear the error); another agent preserved a double-call pattern that a sibling branch had just made harmful. Review the merged result, not each branch.

See also

Linked from

Sources: message memory (feedback_review_before_deploy, project_bugs_fixed v2.9.7 and v2.10.0, notification_audit_2026_08), tldr DM delete v1.48.0