X_TEST_DISCOVERY_UNSCANNED
Means
the discovery walk read zero files, so no test-shaped file was checked
Typical cause
a blind rule never reads as a clean tree: a walk that matched nothing answers exactly what a clean scan of the whole tree answers — X_INDEX_ORDER_UNSCANNED's zero-file condition, on the walk rather than a glob
Fix
bun run test-discovery from the repo root; check the walk in scripts/test-discovery.ts