Prioritize tests by behavior and risk rather than line coverage. Reject tests that only mirror implementation. Keep negative cases, malformed data, authorization, timeouts, and duplicates visible.

Objective

improve meaningful coverage.

Context

behavior contract, existing tests, coverage and mutation or failure history.

Decompose

identify risk gaps, write boundary and negative tests, run mutation or fault tests, delete redundant tests.

Criteria

tests fail for the targeted defect and do not merely mirror implementation.

Review

reject tests that assert mocks rather than behavior.

Output

gap matrix, new tests, remaining untested risks.

Handoff checklist

  • Targeted failure demonstrated
  • Negative paths included
  • Tests assert behavior
  • Remaining gaps are named
Editorial recipe adapted from the project’s September 2026 research brief. Commands, authority and acceptance tests must be matched to your repository. No production execution is implied.

Use the bounded agent contract before starting ↗