# X_CORPUS_UNSCANNED

## Means

a whole-tree guard read fewer files than its scope's floor, or could not read part of it, or `scripts/lib/workspaces.ts` enumerated no publishable workspace (`registry-audit`, `release`, `list-workspaces`)

## Typical cause

`scripts/lib/corpus.ts` reads each scope (`source`, `packages`, `shipped`, `tests`) once per process; this repository's floor is 1,000 files (500 for `tests`) and any other root must read at least one. An unreadable directory (`EACCES`) is refused whatever else was found — a guard over it would report a clean tree it never read

## Fix

`bun install && bun run verify --only unit` — the usual cause is an unreadable or half-checked-out tree

[CLI and verify](/error-codes#cli-and-verify)
