## Lesson — Use named constants for diagnostic counts

**Tags:** testing, clean-code
**Scope:** packages/**/*.test.ts

Replace magic numbers in diagnostic test assertions with named constants to improve drift safety when adding or removing checks from a command pipeline.
