# X_DOC_FILE_COUNT_STALE

## Means

a page states a file count for a generator that the generator no longer emits

## Typical cause

the count is hand-copied and the template list moved. `x new` 125, `--no-example` 99, `x g resource` 27, `--live --admin` 29 and `x g action` 9 were held by nobody; five had gone stale at once, and `wiki/Tutorial-02-First-Feature.md` was two further out because it states its numbers in prose rather than a table

## Fix

`bun run scripts/generator-counts.ts --json` — each finding carries the number to write. Re-derive it yourself with `x g <kind> <name> --dry-run --json` or `x new <app> --dry-run --json` and count `data.files`

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