dashboard: composition-hygiene — no silent fake defaults, fakes out of the shipped tree #215
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.
Dependencies
No dependencies set.
Reference
Matou/idss#215
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. Gap audit 2026-07-30 (post #191–#195 sweep). Not on #183's journey — hardening filed alongside the blocker set, confirmed by Ben.
What's true today
What to build
Drop the spread: every production slot explicit, so a new slot is a compile error until wired real or deliberately fail-loud. Relocate the fakes to test-side homes (keeping the seam-test fakes importable — they are contract artifacts, just not shippable ones). No behavior change to any live surface.
Acceptance criteria
Task manifest
Blocks
None — prefactoring that keeps the blocker set honest as it lands.
Landed in
edbefe9on main.What shipped: the dashboard production composition is fake-free by construction (ADR 0100).
...defaultDashboardDeps()all-fakes spread;productionDashboardDepsnow wires every slot explicitly against an annotatedDashboardDepsliteral. Proven: adding an unwired required slot toDashboardDepsfailsvue-tscwithTS2741— never a silent fake default.mountRegistry.tsimports only types from the feature libs; all ~33Fake…classes relocated out ofdashboard/src/libintodashboard/tests/fakes/<m>.ts, and the fake-backed composition todashboard/tests/support/defaultDashboardDeps.ts. Onlyreachability.tssFakeReachabilitySourceremains insrc(a chrome slot outside the deps value — #214s territory).bootstrapDashboardfail-louds rather than fabricate a fake-backed frame when given neitherdepsnortransport.Seam/evidence:
dashboard/tests/unit/compositionHygiene.test.ts— a runtime check (the production deps value carries noFake…instance) and a static import-graph trace frommountRegistry.ts(reaches noexport class Fake). Dashboardvue-tsc+ repoeslintclean. No behaviour change to any live surface. STATUS.md updated in the same commit.