dashboard: build-and-serve — the web dashboard becomes a real served artifact #199
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#199
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Shell spec #22 (the DN resting frame, ADR 0094). Gap audit 2026-07-30 (post #191–#195 sweep of the composition roots and both app shells). Filed per the #191–#195 precedent: a close-out blocker of #183 found while preparing the run, confirmed by Ben.
What's true today
buildscript typechecks only), no URL routing, and the production bootstrap is called only by tests. The control plane serves no static files. The package's own description promises "builds to static files served by the control plane" — neither half exists.What to build
open-recovery-readinessdeep-link presumes it).Acceptance criteria
Task manifest
Blocks
#183 — every dashboard evidence leg: A·2's walk, B·2's Fleet view, B·3's revision on dashboard, B·4's coverage map, B·5's member on dashboard, B·6's monitoring screen, B·7's watching-again.
Done in
b76996d(on origin/main).Both halves land. The SPA build:
dashboard/index.html+vite.config.tsemit static assets todashboard/dist/;src/entry/served.ts(bootServedDashboard, the web counterpart to the app'sbootPackagedApp) composes over the live control-plane transport at the same origin that served the page ('' base, ADR 0037), mounts the six-tab DN frame, reads the deep-linked tab from the URL, and rewrites the URL as the tab changes (a flat six-entry tab↔path map insrc/lib/tabRouting.ts— no router library; Back/Forward walk the tabs). The control plane serves it:controlapi.WithDashboard(dir)serves the built assets at the gateway's public entry (ADR 0113) and SPA-falls-back every non-asset path toindex.htmlso a reload of any tab mounts the same surface; the API (/api/v1/…) and install doorway (/get) keep their routes, an unknown/api/path stays an honest JSON 404. Wired fromOURCLOUD_DASHBOARD_DIR(resting when unset, ADR 0100).Acceptance: AC1 — a built control plane serves the dashboard and mounts the six tabs over the live transports with no fake in the composed deps (verified in both seam tests). AC2 — every tab URL is deep-linkable and reload-stable (
/backupsboots Backups; SPA fallback). AC3 — the resting control plane raises no fabricated indicator/fleet.Evidence: Go build+serve seam
internal/controlapi/dashboard_test.go; TS serve seamdashboard/tests/unit/serveEntry.test.ts(4 tests). Verified locally: dashboardvue-tsc+vitest(702 pass) +vite buildgreen, eslint + prettier clean. Go half verified by review (no Go toolchain in the sandbox, issue #198); the seam CI runs go build/vet/test + golangci-lint.Scope notes: brand-bar community reads live over the existing Settings transport with a neutral honest fallback; operator label rests at the role (auth out of scope). The web DX→HOx open-operator-app effect is a documented best-effort (no web→app mechanism wired yet). Unblocks #183 dashboard legs A·2, B·2–B·7. STATUS.md updated.