Repository navigation
Description
Task
T-089a· Milestone M8 — Dashboard · Size M · Priority P0 · Epic #8Implements FR-DSH-005 · FR-REP-001
Branch
feat/t-089a-run-entry-header-parameter-panel— one task = one branch = one PR (doc 32 §6)
Summary
Implement features/runs/ per doc 13 §3.4 except charts: header (verdict, ρ, class, warnings, seed, hash, worker, durations), parameter panel with mini tracks and delta from nominal, oracle table with RobustnessBars, provenance drawer (manifest JSON, artefacts with SHA-256), actions Replay ×N, Export scenario, Open bag, Copy CLI command.
Context / motivation
US-007/US-017: understand and reproduce a single failure.
Scope
In scope
- Replay dialog with repeats + fresh-seeds option.
Implementation guidance
features/runs/RunPage.tsxwith sub-folders:header/(verdict notch, ρ, primary class, warnings, seed, scenario hash (copyable, truncated), worker, queue/episode durations; actions: Replay ×N dialog (repeats, fresh seeds), Export scenario (downloads/runs/{id}/scenario.yaml), Open bag (artifact kindbagif present), Copy CLI command (roboprobe replay <id> --repeats N));params/ParameterPanel.tsx(value + unit, mini range track with nominal marker, delta from nominal, pinned badge);oracles/OracleTable.tsx(oracle name, RobustnessBar, violated, first violation time, expandable details JSON);provenance/ProvenanceDrawer.tsx(Radix Dialog as side drawer: pretty manifest JSON, artefact list with SHA-256 and download links).- CLI command builder
features/runs/cliCommand.ts(pure, unit-tested). - Data:
useRun(id),useRunArtifacts(id); the replay mutation navigates to the console with the new runs highlighted. - Standards: respect the layering contracts (doc 16 §2) and conventions in doc 34; no hard-coded tunables — thresholds/defaults come from typed settings (doc 27); no magic numbers (ruff
PLR2004); public APIs typed (mypy strict) and documented.
Acceptance criteria
- Renders fixture runs of every verdict; actions call the right endpoints.
- INVALID runs show the infra reason and hide oracle robustness (validity gate, doc 08).
- Copy actions announce success via
aria-live. - Tests listed below added and green in CI; coverage of new code meets the gate in doc 18 §3.
- Docs, config reference and CHANGELOG
Unreleasedupdated where behaviour, keys or interfaces changed. - Definition of Done (doc 32 §3) satisfied.
Tests required
features/runs/*.test.tsx.
Dependencies
Blocked by: #165 (T-085d), #166 (T-086a), #167 (T-086b)
Blocks: #187 (T-118)
Parallelization notes
Files / paths owned by this task — avoid editing other paths; shared files (pyproject.toml entry points, cli/main.py, api/routers/__init__.py, router.tsx, docker/compose.yaml, ci.yml) are append-only:
web/src/features/runs/header/**web/src/features/runs/params/**web/src/features/runs/oracles/**web/src/features/runs/provenance/**
Parallel with T-089b/c.
Definition of Done
Per doc 32 §3 and AGENTS.md §5: lint, format, mypy strict and import-linter green; tests added and passing; docs updated; PR template completed with Closes #<this issue>; Conventional Commit messages referencing T-089a (doc 16 §6); commits authored only by the repository owner identity (AGENTS.md §4); CI green; reviewer checklist (doc 32 §5.1) satisfied.
References
Design docs: doc 13 §3.4 · doc 12 §3.3 · doc 21 §4 · doc 08 §1
Requirements: FR-DSH-005 · FR-REP-001 (traceability: doc 28)
Metadata
Metadata
Assignees
Labels
Projects
- StatusShow more project fieldsBacklog
Activity
/config.json), SSE client with reconnect/Last-Event-ID and query-cache patching #165