Skip to content
🚧 This documentation is a draft and is currently under review. 🚧

Correction and Cleanup (400 Series)

The 400 series handles two adjacent kinds of follow-up work:

  • failure triage and correction when a red test does not clearly point to test or source
  • cleanup-only refinement on an already-changed scope

401 and 402 are different workflows:

  • 401-cleanup: cleanup-only refinement on an existing changed set
  • 402-test-correction: investigate a failing test and decide whether the right fix is in the test, in source, or in intended behavior

One target type per run: source code or test code, never both.

This constraint keeps cleanup small, reviewable, and safe to roll back. When you want both source and test cleanup, run 401 twice — once for each.

  • 401 Cleanup — cleanup-only refinement on an already-changed scope
  • 402 Test Correction — classify and correct a failing test without guessing the fix path