Skip to content

[AF-UI-01] Build the action-first Console foundation and Dashboard #129

Open

Description

@KinguYume-G

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

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.

Activity

  1. added this to the Post-MVP Roadmap milestone on Sep 9, 2026
  2. added
    priority:P1
    size:L
    status:ready
    risk:medium
    type:test
    type:frontend
    and removed
    status:ready
    on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:P1risk:mediumsize:Lstatus:in-progresstype:frontendtype:test

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions