Coverage Manifest
The docs app includes a source-backed coverage manifest in apps/docs/src/content/coverage.ts.
What it covers
| Coverage kind | Source |
|---|---|
| Features | featureKeys from @motornauts/shared. |
| Tenant roles | Public roleKeys from @motornauts/shared, excluding internal-only roles. |
| Fleet roles | fleetActorRoleKeys from @motornauts/shared. |
| Onboarding | Required first-day guide IDs for every public non-platform role. |
| Phase 2 modules | phase2ModuleKeys from @motornauts/shared. |
| Scenarios | Required tutorial IDs defined for this docs app. |
| FAQ and troubleshooting topics | Required public support topics. |
| Route groups | Public, tenant admin, customer portal, fleet portal, and token public surfaces. |
The Vitest coverage test fails if a source role, feature, onboarding guide, module, scenario, topic, or route group is not linked to an MDX page. It also blocks internal-only coverage entries from returning to the public docs.
Last updated on