device-add: the code screen's COPY button does nothing — CodeScreen emits copy, every layer forwards it, and DashboardComposition mounts the dialog without an @copy handler #2011
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#2011
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?
Symptom
On the control panel's device-add code screen (P2-S2), the COPY button beside the install command does nothing. Ben, Whakatōhea Demo, 2026-09-30 03:1xZ, minting a Helper code for
bens-mac-04— the command had to be typed by hand.Cause
The event is emitted and nobody listens.
CodeScreen.vue:23emitscopy(command);DeviceAddSurface.vue:56forwards it;DeviceAddDialog.vue:16forwards it again ("forwarded for the consumer's clipboard effect") — and the consumer,DashboardComposition.vue:110, mounts<DeviceAddDialog :source @close>with no@copyhandler. The clipboard write was left to "the consumer" at every layer and never wired at the top. The Connect screen (ConnectScreen.vue:390) and the members Invite screen each writenavigator.clipboardthemselves, so the code screen is the odd one out.Fix
CodeScreencallsnavigator.clipboard.writeText(command)itself, showsCopiedfor a moment, and falls back honestly (select the text / leave it on screen) when the clipboard API is denied. Keep emittingcopyif any test relies on it, but the button must not depend on a parent.@copyinDashboardComposition.vue— worse, because the same surface is mounted from more than one entry (Overview skeleton, Fleet, the codes ledgers, DDR 0237) and each would need the wiring.navigator.clipboard) and shows the confirmation; the existing emit test stays green.Related
Same hand run as #2002–#2007 (all landed, live on the demo as 2026.09.3061).
swarm-claim host=bens-mac-04 run=36239
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #2011 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
54284d7c8bis not reachable from origin/main (not landed)envelope
close-report for #2011 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope