X_INDEX_ORDER_UNSCANNED
Means
the rule read nothing, so no ordering assertion was checked
Typical cause
a Bun.Glob pattern that matched zero files. Braces DO expand, but an alternative containing a / matches nothing — measured, {packages,scripts}/** finds 1,309 files and {packages/*/src,scripts}/** finds none — and a pattern matching nothing reads exactly like a clean tree, which is what the first draft of this rule reported having scanned no file at all
Fix
bun run index-of-order from the repo root; check the globs in scripts/index-of-order.ts