Add generated sitemap audit
Merged
BI
4mo ago+619+619+012345678901234567890123456789-2-2-0123456789
Summary
- Add
docs/site-map.mdas the tracked Clinical KB sitemap. - Add
scripts/generate-site-map.tswithsitemap:updateandsitemap:checkcommands. - Add static sitemap coverage tests for pages, API routes, seeded dynamic slugs, navigation links, redirects, and known caveats.
- Redirect
/mockups/favourites-hubto/favouritesand document route/navigation sitemap checks indocs/process-hardening.md.
Verification
npm run sitemap:updatenpm run sitemap:checknpm run test -- tests/site-map.test.ts tests/app-modes.test.ts tests/services.test.ts tests/forms.test.ts tests/differentials.test.tsnpm run typechecknpm run lintnpm run verify:cheapnpm run test:e2e:chromium -- tests/ui-tools.spec.ts(32 passed)
Notes
- PR branch was isolated from
origin/mainso this PR contains only the sitemap audit commit. - No runtime dependencies or database migrations are included.