Skip to main content
improve-test-coverage is archived (not installed by init): copy it from examples/init-pack/ with its dependency closure, or ask create-workflow to build an equivalent. It runs the shared ValidationLoop, prompted to find and fill high-impact test gaps.
improve-test-coverage workflow UI showing added and validated tests

The improve-test-coverage UI shows the high-impact gaps it fills and validates that the new tests pass.

Inputs

Use it when

  • A feature landed without enough tests.
  • A bug fix needs regression coverage.
  • Review/audit found weak boundary coverage.

Use something else when

  • Still fixing the bug: use debug first, then this workflow for regression coverage.
  • Want a broad gap report instead of new tests: use audit with focus: "test coverage".

Resume & retry

Runs the shared validation loop (up to 3 iterations), commits to the working tree, and resumes durably with up --resume. Transient session/infra errors (SESSION_ERROR, stream disconnects, rate limits, OOMs, timeouts) must never fail a whole run; retry the affected node, let unrelated verified work continue.