NovaFabric Console 2.0 — GUI/UX modernization plan

Architecture decision reopened 2026-11-22: the owner welcomes a major frontend redesign. Astro + React is a measured baseline, not a mandatory final architecture. Compare a React/Vite replacement shell and unified topology experience in the maintainers' architecture and versioning study (tracked in issues #262/#263/#264); retain Python runtime, CLI and evidence contracts. This note supersedes any categorical “do not rewrite Astro” language below.

Status: proposed, design-only. Reviewed: 2026-11-21, Europe/Rome. Base reviewed: main at 4f89480c2de83f0f51003cb096db58b9904a4ce5. Refresh the base and re-audit before implementing. Not a release commitment.

Intent

Make NovaFabric easier to use as a local-first AI execution investigation and verifiable-evidence platform. Until the architecture decision at the top of this note is made, the existing dashboard stays the baseline; this note does not commit to a rewrite. A first-class workflow is find run → inspect trace → examine replay → compare runs → verify/export evidence.

One console, three optional layout/navigation presets:

These are proposed design variants, not separate deployed applications, and not claims that the backend already supports every proposed interaction.

Verified existing implementation

Sources: dashboard README, user guide, source sidebar, app shell, frontend package, architecture, AGENTS.

Technology decisions

Area Decision Notes
Core retain Astro + React + TypeScript + Vite-under-Astro (baseline until the architecture decision) no second SPA is created before that decision
Styling retain Tailwind v4 + existing CSS tokens extend, no blanket reskin
Graph retain React Flow compare heavy graph approach only after benchmark
Icons/fonts retain Lucide and bundled Inter / JetBrains Mono no CDN
Run tables reuse virtualized data paths evaluate TanStack Table only with evidence
Server API reuse src/lib/api.ts, generated dashboard OpenAPI and CLI parity guards avoid drifting duplicate API layers
State reuse existing hooks first evaluate TanStack Query only if current caching proves insufficient
Diff viewer reuse existing components lazy Monaco only after bundle/performance approval
Accessibility Playwright + axe, manual keyboard/screen-reader target WCAG 2.2 AA
Component docs lightweight inventory first, Storybook only if justified Tier-A license gate
Desktop defer Tauri web and offline packaging first

Information architecture

The main presentation groupings should become Overview, Investigate, Evidence & Trust, Operations, Advanced Tools. They wrap/reorder the existing tab IDs; they must not break deep links or CLI parity.

Each workspace should have:

Critical feature requirements

Surface Already has Target improvement Acceptance
Onboarding connect panel first run walkthrough / honest sample mode no ambiguous demo vs real data
Overview dashboards/analytics source-aware meaningful status metrics no fake or non-computable numbers
Run Explorer query/filter, saved views, inspector easier dense search and selected context exact run from deep link works
Trace/Forensics views and timeline linked event inspector and time navigation ordered observations ≠ asserted causality
Replay replay panels/modes explicit dedicated workflow and mode explanation forensic ≠ live replay; side effects gated
Diff structural and multi-run compare better aligned change explorer server-authoritative changed/added/removed
Lineage React Flow DAG bounded, accessible provenance focus relationship semantics remain accurate
Evidence bundle verification/seal/export step-by-step signer/integrity/trust status valid signature ≠ compliant/correct
Capture CLI equivalent/command builder guided safe setup no arbitrary server execution without security approval
Governance existing panels source-linked policy decisions authz enforced by server
Operations alerts/infra/admin alert → run → evidence workflow clear permissions and completeness
Advanced specialist tabs searchable feature directory all legacy capabilities preserved

Implementation stages

  1. UX-00 baseline and technical/issue audit (P1): inventory current screens, exact API/CLI parity, historic defect status, current CI, screenshots, realistic dataset, test gaps and previous ADRs. No redesign before this.
  2. UX-01 user journeys (P1): novice developer, agent engineer, researcher, auditor, operator; document task scripts, error cases and qualitative research.
  3. UX-02 prototypes (P1): three distinct but compatible Developer/Evidence/Operations designs; desktop, tablet, mobile; dark/light; clickable walkthrough, concept evaluation.
  4. UX-03 design system (P1): reuse existing components and tokens, standardize states, focus, density and responsive split panes.
  5. UX-04 frontend foundation (P1): workspace switcher, shared investigation context, preserved old URLs and shortcuts; no new backend execution semantics.
  6. UX-05 run/trace vertical slice (P1): find a run, inspect an event and follow source metadata.
  7. UX-06 replay workflow (P1): explain supported replay modes and results without overstating re-execution.
  8. UX-07 diff workflow (P1): A/B/N comparisons with source-linked server verdict.
  9. UX-08 evidence workflow (P1): cryptographic checks, independence and export.
  10. UX-09 lineage (P2): focus navigation, performance caps and accessible graph/table fallback.
  11. UX-10 operations (P2): role-aware alert/incident/infra drill-down using existing backend permissions.
  12. UX-11 hardening (P1 gate): XSS, tokens, in-band failure, completeness, keyboard/a11y, real-server and load tests. Do each slice's tests throughout implementation.
  13. UX-12 packaging and release (P1 gate): clean wheel, offline, static asset integrity, docs, release notes and rollback.

Proposed releases (frontend labels only)

No target dates or project-status percentages have been assigned.

Verification and security contracts

Quality gates

In ui/dashboard/: npm ci; npm run lint; npm run test:unit; npm run test:e2e; npm run test:live; npm run test:visual; npm run test:a11y; npm run check:licenses; npm run build:dashboard. Some live tests depend on browser/server availability—record skipped tests, do not call them passed. Add dashboard-specific axe tests: the inspected tests/e2e/a11y.spec.ts currently enumerates legacy Astro showcase routes, not the actual /dashboard/ shell.

For affected repository code: make test-fast, make lint, make typecheck, make check-links; for release/packaging, clean Python wheel install and server smoke test. Any performance improvements must be based on measured before/after representative data rather than a claimed percentage.

Usability study and success criteria (targets, NOT measured)

GitHub implementation policy

Work from existing issues and the existing project board if available; deduplicate before creating additional epic/issue records. Each issue needs outcome, paths/scope, prior evidence, dependencies, acceptance checklist, test command and owner role. Use focused draft PRs. Preserve existing files, migration gates, security posture and human approval.

First work packet (audit, not implementation)

Goal: review current ui/dashboard and docs/dashboard.md against the proposed UX; capture a real frontend baseline and three design alternatives, map implementation gaps and open a scoped draft PR with evidence. Read AGENTS.md, CONTRIBUTING.md and applicable ADRs first. Do not rewrite frontend, change backend/security, merge, deploy, add external telemetry or publish confidential information. Attach screenshots, audit matrix, actual test logs and open questions. The first implementation issue should be approved only after the design and security gates are understood.

Backout

Every change must be reversible by reverting its focused PR/bundle. Preserve existing saved views and user-authored dashboard widget files. Changes to authorization, schema or persistence need a separate approved migration and rollback plan rather than an ordinary visual redesign.


Live GitHub execution structure (2026-11-22)

This is the proposed public Console 2.0 roadmap. Canonical umbrella: #252. Instead of multiple competing Console programs, execution is organized into six public workstream epic issues with specific work prompts, acceptance gates and task links:

Epic Existing implementation issues Gate
#275 UX research / onboarding #253, #254, #265, #266 D0 user/design acceptance
#272 Frontend platform / architecture / versioning #262, #263, #267, #283 (#266 is related W1 navigation) D1 accepted ADR + API/capability contract
#277 Developer Studio #255, #268, #269, #270 Console 2.0 core
#279 Evidence and lineage #271, #274 2.0 trust / 2.1 lineage
#281 Operations #276 Console 2.2
#284 Release quality #261, #264, #278, #280, #282 Every release

Shared cross-workstream #256 stays under root #252 to coordinate W4/W5 without double implementation. Optional P3 research #285 stays in backlog. External #250 (native project-board linkage), #260 scale harness and #211/#220/#225 existing release work are linked dependencies, not new Console-owned replicas.

Important correction to the earlier technology table above: retaining Astro is a baseline option, not an accepted decision. Strong architecture changes are explicitly authorized for comparative research in the architecture and versioning study and #262. Any major app replacement still preserves the Python backend, offline wheel and immutable evidence contract and needs an accepted ADR.

Release identity: Python package is installable product release; Console 2.0/2.1/2.2 are experience labels; UI bundle uses source SHA/digest and explicit API capabilities; no untested standalone frontend↔backend compatibility promise. Preserve N/N+1 database migration contract and independently versioned Run Capsules/Evidence Bundles.

Board status: all epics/issues and issue-body mappings exist, but native parent/dependency edges, priorities and milestones are reconciled on the maintainer's existing project board, not by this document. #250 holds the requested hierarchy; no new project is created and no unverified native link is claimed.