shell: unreachable-pair-hox-dx — the honest degraded states (HOx and DX) #38
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.
Depends on
Reference
Matou/idss#38
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
Feature spec: #22 (shell).
What to build
The two honest degradation states for an unreachable gateway (DDR 0096). Because the web dashboard is static files served by the gateway, a dead gateway has no dashboard to carry the news — so the states live on two surfaces and report only reachability from this seat (a client-side fact; the reachability probe is the app's already-running replica sync plus a control-plane ping — no seam change, no new monitoring channel).
HOx (
docs/ux/wireframes/shell/shell-hox-operator-home-unreachable.html) is the operator app's standing fallback seat. When the config replica goes stale or the gateway stops answering, operator home becomes HOx: the health pill reads "Not answering", and the replica-staleness line is promoted from a checklist item to the headline (staleness is the app-health signal, ADR 0032), stating when the replica last synced and that the gateway hasn't answered since. "Rescue tools" is the prominent action, Tier-1 material (operator key + config replica) is named as standing by on this seat (ADR 0006), and "Open dashboard" is demoted and honestly labelled unavailable ("the dashboard lives on the gateway and is down with it", with a "try anyway"). Opening rescue tools begins break-glass with Tier-1 standing by (edge HOx → P8-S3); HOx claims no diagnosis of why. When the gateway answers again and the replica syncs, the seat rests back to HO (edge HOx → HO) on its own — no restart needed.DX (
docs/ux/wireframes/shell/shell-dx-community-unreachable.html) is for a loaded dashboard page that loses its control plane mid-session. The SPA replaces everything with one full-screen DX state (edge DN → DX) — the numbers that were on screen are gone, not greyed — showing "Not answering", when the last good response was, and what it means ("the gateway, or the path to it, isn't responding; this page is served by the gateway itself"). DX claims no diagnosis of why and never keeps rendering a stale green (the lie DDR 0071 forbids monitoring to tell, here read as: absence of API signal is never a stale green). "Open the operator app" opens the standing fallback seat at HOx (edge DX → HOx) where rescue lives; DX also offers "Try again" and names the app as keeping its own config replica.Acceptance criteria
Blocked by
Task manifest
Done in commit
edcccd8.Built the two honest degraded states for an unreachable gateway (DDR 0096), driven by a client-side reachability probe (the app's replica sync + a control-plane ping) — no seam change, no new monitoring channel; both report reachability from this seat only, never a diagnosis of why.
HOx —
app/src/components/shell/OperatorHomeUnreachableScreen.vue, rendered byOperatorHomeScreenwhenOperatorSeat.healthy === false(which now carries a newReachabilitydetail inapp/src/lib/seat.ts): pill goes honest ("Not answering"); replica staleness promoted from a checklist line to the headline (ADR 0032); Rescue tools the prominent action with Tier-1 material named as standing by (ADR 0006, HOx → P8-S3); "Open dashboard" demoted + honestly unavailable with a "try anyway"; rests back to HO on its own when reachability recovers (HOx → HO, no restart).DX —
dashboard/src/components/CommunityUnreachableScreen.vue, rendered byDashboardShellin place of the whole nav chrome when a new client-sideReachabilitySource(dashboard/src/lib/reachability.ts) reports unreachable (DN → DX): numbers gone not greyed, never a stale green over a dead API (DDR 0071); shows "Not answering", last good response, what it means; "Open the operator app" routes to HOx via a newDashboardNavigator.openOperatorApp()(DX → HOx); "Try again" re-runs the probe; names the app's own config replica.Evidence: 11 new app component tests (
app/tests/unit/operatorHomeUnreachable.test.ts) + 8 new dashboard component tests (dashboard/tests/unit/communityUnreachable.test.ts) over faked reachability probes — all 68 app + 14 dashboard tests pass,vue-tsc+eslintclean. Every acceptance clause (stories 4, 5, 27, 28) covered. STATUS.md +docs/slices/shell.yaml(status: done) updated in the same commit.