Modules

Per-module deep dive — purpose, location, exports, dependencies, RBAC capabilities, and related audit findings. Click any finding to open the side-drawer.

Modules10
Exports47
Capabilities25
Findings Mapped122

Modules

Dashboard

Landing page with engine state summary + service health

dashboard

The dashboard is the user's first surface after login. It pulls a 30-second snapshot of engine state across all instruments, surfaces gateway-health banners, and offers the Pipeline modal to walk an engineer through Calibration → Promote → Trade in one mental model.

client/src/components/Dashboard.tsx

Responsibilities

  • Aggregate per-engine state polled from /trading/sessions every 5s
  • Surface GatewayHealthBanner above all routed content
  • Offer Pipeline modal as the first-time user education path

RBAC Capabilities

dashboard.read

Defined in client/src/config/routes.ts and mirrored from server/src/core/permissions.py.

Files

  • Dashboard.tsx
  • Header.tsx
  • LandingPage.tsx
  • PipelineButton.tsx
  • PipelineModal.tsx
  • PipelineVisualization.tsx

Key Exports

  • <Dashboard/>
  • <Header/>
  • useDashboardSummary()
  • <PipelineVisualization/>

Depends on

Related Audit Findings

9