Repository navigation
Open
Labels
priority:P1High priorityrisk:mediumMeaningful risksize:LLarge changestatus:in-progressActive worktype:frontendWeb console and user interfacetype:testTesting
Milestone
Description
Objective
Deliver the first AegisFlow Control Room slice: a route-aware, role-aware and responsive Console shell plus an action-first Dashboard that helps Developers and Reviewers find the Runs requiring their attention.
Scope
- Replace the hard-coded active sidebar state with pathname-aware navigation and
aria-current. - Remove dead page-local navigation targets from the global shell.
- Preserve role-aware access to New Run and the isolated local Reviewer/Developer handoff.
- Reduce the marketing-heavy hero and surface a Human attention inbox above the full Run history.
- Make status summary controls filter the Run list with explicit text states and useful empty results.
- Fix tablet/mobile navigation ambiguity, safe-area spacing and content obstruction.
- Reuse the existing Next.js/React/CSS stack; add no dependency.
Acceptance criteria
- The active global route is correct on Overview, New Run and Run detail pages; exactly one primary link uses
aria-current="page"where applicable. - Every global navigation destination exists and remains useful across routes.
- Developer and Reviewer consoles show only actions allowed by their existing capabilities; no token or authorization decision moves into the browser.
- Dashboard attention items distinguish clarification, approval and failed-review states using text, not color alone.
- All/Active/Needs attention/Completed/Failed controls filter the Run list and announce the visible count.
- At 390px, 768px and desktop widths, navigation does not hide page content and primary actions remain reachable.
- Keyboard focus is visible; mobile/tablet navigation retains readable labels; scrollable regions remain operable.
- Existing Console behavior remains intact and focused unit tests, full Vitest, ESLint, TypeScript and production build pass.
- Documentation, traceability and Handoff are updated with truthful evidence and limitations.
Security and consent constraints
- No auth, RBAC, CSRF, approval digest, Policy Gate or Core API changes.
- No real GitHub write and no new external side effect.
- Safe/least-authority choices remain visually explicit; status and access levels never rely on color alone.
- Secrets and local Persona tokens remain server-side.
Parent
Dependencies
- AF-R09 / PR feat(auth): add OIDC-backed Console sessions (AF-R09) #127 is Human-Merged.
Test plan summary
- Component tests for active navigation, role visibility, filter behavior and attention-state copy.
- Regression run: Console Vitest, lint, typecheck and Next.js production build.
- Browser evidence at desktop and mobile widths against the running local MVP.
Rollback
Revert the AF-UI-01 frontend commit/PR. No schema migration or backend rollback is required.
Metadata
Metadata
Assignees
Labels
priority:P1High priorityrisk:mediumMeaningful risksize:LLarge changestatus:in-progressActive worktype:frontendWeb console and user interfacetype:testTesting
Activity