app: Operator home's VM row can read stale "stopped" after the helper's auto-start (ADR 0129 follow-up) #311
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#311
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?
From the private-standup-polish arc's final whole-branch review (branch
private-standup-polish, ADR 0129).The race:
BridgeSeatSourceresolves the seat ONCE at boot (bootstrap.tsrefresh) and again only on theguest-stop/guest-startop returns. The helper's guest auto-start (ADR 0129,guestlifecycle.go AutoStart) runs async at helper boot — so the boot-timeseatread can land before the unit is up, and Operator home then showsstopped · Start the VMwith nothing ever re-reading. Self-heals only via user action (Start is idempotent, so clicking through is harmless — but the row lied until then).Suggested shape (reviewer): re-read the seat on window focus and/or a short one-shot delayed refresh after boot (a poll is overkill — the row is quiet-while-healthy).
Related deferred minors from the same arc (fold in if cheap, or split):
guest-stop/guest-startis silent in the UI — the row re-arms with no reason shown. Needs a wireframe ruling for the error affordance first (shell-ho-operator-home.html).operator-home-unreachable) has no local-VM row: if a later slice setshealthy: falsefor a stopped guest, Start becomes unreachable from HOx. Entangled with the seat-health slice; ADR 0129 already notes the interplay is deferred.journey-calibration.jsonpath — one dev run poisons the enroll denominator until the next real drive (wiring_dev.go).Verification: Checked the codebase this report cites.
BridgeSeatSource.refresh()(the seat-once-at-boot behavior) is confirmed exactly as described — called once from the composition root at boot, no focus- or poll-triggered re-read anywhere. But the rest of the surface this report is actually about doesn't exist onmainyet: there is no Operator-home VM row, noguest-stop/guest-startops, noguestlifecycle.go/helper-side asyncAutoStart, and no VM/health field anywhere on the seat model (Seat/SeatResultcarry onlykind+communitytoday).This lines up with the report's own framing — it's filed as an ADR 0129 (
private-standup-polish) follow-up, and that arc hasn't landed in this repository (no such branch exists in this checkout, and none of the UI/ops it describes appear anywhere in the tree yet).Recommendation:
ready-for-human— there's nothing here for an agent to act on right now; the whole surface this bug is about ships with the ADR 0129 arc landing. Needs a human call on:shell-ho-operator-home.htmldoes exist, but doesn't yet rule on that state, so this isn't a missing-fileneeds-designcase — it's an unmade decision inside an existing wireframe, which still wants a human call rather than a guess.Headless triage can't safely guess the sequencing here, so routing to
ready-for-humanrather thanready-for-agentor closing.Ben ruled (2026-08-06, ready-for-human sweep): fix shape approved (focus re-read + one-shot delayed post-boot refresh, no poll) and all three riding minors fold in: (a) a failed guest-stop/guest-start shows a minimal inline error on the row — no wireframe pass needed; (b) HOx gains the local-VM row so Start stays reachable; (c) dev builds get their own calibration path, prod's stays clean. Labelled
no-triage— being actioned manually in the current session, not by the swarm.Landed as
b837c03onprivate-standup-polish(Ben's ruling: actioned manually in-session, all three minors folded in):armSeatRereads— one delayed settle re-read (15 s) + a window-focus re-read, armed by the composition root after the boot refresh. No poll.LocalVmRow.vuethat surfaces the helper's own refusal line inline (data-field="vm-error", warning ink), cleared when the next attempt starts.wiring_dev.go→journey-calibration.dev.json; demo drives can no longer poison the packaged app's denominators.vitest 696 green, both helper build variants pass, renderer + electron rebuilt. Closes with the merge of
private-standup-polish.