app: device-add consent calls are unguarded — a transport failure is a dead button #303
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#303
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?
app/src/components/device-add/ThisComputerScreen.vue:98andLinuxInstallModeScreen.vue:96— both bind@click="setUp"to an async fn whoseawait props.gate.consent(…)is unguarded. The screens carefully render a rejection (reply.rejection → held state with check rows), but a transport failure reaching the agent gate throws past all of it: the button does nothing, no rejection row flips, no message.Acceptance
Filed from the 2026-08-05 fail-loud audit (three-agent pre-production sweep; findings verified against code).
Fixed in
f455d7c(on origin/main).ThisComputerScreen.vueandLinuxInstallModeScreen.vuenow wrap thegate.consent(…)attempt inuseAsyncGuard. A transport failure (the gate promise rejecting) renders a distinctdata-field="transport-error"block — accent-toned, separate from the warningoc-holdof a policy rejection — with adata-action="retry-set-up"Try again; the held rejection clears at the start of each attempt so a failure never leaves a stale ✕, and both set-up buttons disable while in flight.FakeConsentGategrew anErrorreply arm. Red-first Vitest per screen inapp/tests/unit/consentGate.test.ts(throw ⇒ error state + retry pairs on the same code; throw-after-rejection ⇒ hold replaced by error): 13 green,vue-tscclean.rehearsal-report.shdrifted - bdb42ff6’s token-leak fix must land in dev-factory (which still leaks) and ride back on a FACTORY_REF bump #1683rehearsal-report.shdrifted - bdb42ff6’s token-leak fix must land in dev-factory (which still leaks) and ride back on a FACTORY_REF bump #1683