# Pass 1: routes and feature entry points

This route-first pass scans the complete frontend and API source trees, then traces customer routes and components mounted by authenticated `/`, `/projects`, `/project/[id]`, account/team/transfer/portal pages, and both editor implementations. The exact source-file manifest and per-file route counts are in `feature-tracking-source-scans.json`. Instrumentation intentionally excludes public marketing, authentication, admin, and support behavior.

The dashboard is the authenticated state of `/`; `/home` redirects there. Explicit account-menu tracking was added to `src/app/page.tsx` while leaving marketing controls unchanged. Shared components only emit schema 2 events on application surfaces. Admin, support impersonation, consent-preview embeds, and non-consenting visitors remain suppressed.

The project URL owns feature navigation. `usePaperLocation` records each resolved destination after permission checks, including initial/direct links and history. It identifies tables, user files, project assets, forms, payments, email, App AI, hosting, development, versions, logs, GitHub, activity, analytics, SEO, settings/access, teams, design, and preview. The cloud destination is also the project OS shell; no separate customer-facing screen is literally named OS in this source revision.

`src/lib/signals/feature-actions.json` contains the fixed feature/area/action catalogue, compile-time labels, source provenance, and bounded category properties. Existing legacy `feature_used` consumers retain their events. New events use schemaVersion 2; action history must not mix incompatible legacy counts into the new catalogue.

The contract uses the existing consent-aware `/api/collect` batch. Scope consists of opaque project and ProjectChat workspace identifiers, with API authentication/membership checks. Account/global actions omit project scope. Project/workspace deletion confirmations explicitly omit the soon-to-be-deleted scope, preserving delayed removal events without trusting stale membership; their project count is unavailable.

No history is synthesized. Workspace `created` requires a successful create/duplicate response and uses the returned ID. `used` follows the actual selected workspace. Other controls measure invocation, not success.

Product limitation: table details render rows as plain, noninteractive cells. No individual row-open action exists. Available table open/add row/create table/options are tracked without inventing a control or history.

This note records source coverage. The root chat owns PR-environment browser proof, screenshots, deployment, and production verification, which must be recorded as observed evidence separately.

Corrected final source audit on 2026-11-20: 403 frontend files and 505 API files scanned; 1,751 unique action triples, 35 feature categories, 85 catalogue source files, and 668 explicit source annotations. The later semantic option audit supersedes the earlier 954-action count. The verifier reported zero failures; focused runtime/privacy and native-auth tests passed 24 of 24.
