# Unified Audit Surfaces UI ## Status VERIFIED ## Scope Unified the cross-module audit experience around the Evidence-owned route family and restored old admin bookmarks as working aliases. ## Canonical Owner - Canonical route family: `src/Web/StellaOps.Web/src/app/routes/evidence.routes.ts` mounted at `/evidence/audit-log` - Canonical audit subviews: `src/Web/StellaOps.Web/src/app/features/audit-log/audit-log.routes.ts` - Bookmark-safe aliases: - `src/Web/StellaOps.Web/src/app/routes/legacy-redirects.routes.ts` for `/admin/audit*` - `src/Web/StellaOps.Web/src/app/routes/administration.routes.ts` for `/administration/audit*` ## Key Implementation Files - `src/Web/StellaOps.Web/src/app/core/navigation/navigation.config.ts` - `src/Web/StellaOps.Web/src/app/features/audit-log/audit-log-dashboard.component.ts` - `src/Web/StellaOps.Web/src/app/features/audit-log/audit-log-table.component.ts` - `src/Web.StellaOps.Web/src/app/features/audit-log/audit-event-detail.component.ts` - `src/Web.StellaOps.Web/src/app/features/evidence-audit/evidence-audit-overview.component.ts` - `src/Web.StellaOps.Web/src/app/features/quota-dashboard/tenant-quota-detail.component.ts` ## Verification - Date (UTC): 2026-03-07 - Targeted Angular tests: - `npm test -- --watch=false --include src/tests/audit_log/unified-audit-log-viewer.behavior.spec.ts --include src/tests/evidence-audit/evidence-audit-routes.spec.ts --include src/tests/evidence-audit/evidence-audit-overview.component.spec.ts --include src/tests/administration/administration-routes.spec.ts --include src/tests/navigation/legacy-redirects.spec.ts` - Result: `5` files, `31` tests passed - Playwright: - `npx playwright test tests/e2e/unified-audit-surfaces.spec.ts --workers=1` - Result: `2/2` passed - Production build: - `npm run build` - Result: pass; existing bundle-budget warnings only ## Verified Behavior - `/evidence/audit-log` renders the canonical Unified Audit Log dashboard. - `/admin/audit*` redirects into `/evidence/audit-log*` with query params preserved. - Audit subviews no longer deep-link back into stale `/admin/audit*` paths. - Admin navigation points to the canonical Evidence-owned audit shell. - Evidence overview exposes `Audit Log` as a first-class shortcut. - Quota tenant drilldown opens the canonical audit surface with tenant context.