# Route Inventory The web route inventory gate keeps physical route-file growth visible. It does not claim that every physically present file is registered in a production runtime manifest. This document records the checked snapshot, not a route source of truth. The Core manifest is built by `apps/web/app/routes.ts`; the isolated Customer Portal manifest is declared in the same file. Run `pnpm run verify:route-inventory` after route additions or removals. ## Physical files Snapshot 2026-07-30: | Bucket | Files | | --- | ---: | | `admin` | 159 | | `tenant` | 181 | | `public_help_docs_internal` | 77 | | `portal` | 14 | | `optional` excluding Portal | 136 | | **Total** | **567** | The budgets are exact ratchets for this reviewed snapshot. `optional` is a historical feature taxonomy, not a runtime-reachability statement: some files in that bucket are enabled in Core while disabled plugin trees remain dormant. ## Runtime manifests | Runtime | Entries | Unique route files | | --- | ---: | ---: | | Core production | 514 | 514 | | Customer Portal | 33 | 17 | The Portal count is larger than its file count because the same route modules serve tenant-slug and verified custom-host aliases. Core intentionally excludes Customer Portal files, disabled plugin trees, and the local preview.