# X_DOC_BOUNDARY_RULES_STALE

## Means

`docs/architecture/02-boundaries.md` states a rule count or codes that differ from `BOUNDARY_CODES`

## Typical cause

the page an agent reads to learn the boundary rules lists a different set than the build enforces

## Fix

`bun run scripts/boundary-rule-docs.ts --json`   # then edit the count or the table to BOUNDARY_CODES

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