Repository navigation
Description
Problem
Covering one builder today takes two keys: a Fleet Slot (live status tile, press = fixed verb, default open-terminal) and a Builder Action (second fixed verb, default view-diff). The owner's direction (2026-08-11): one key per builder should cover what a builder needs, so merge the two actions into a single Builder Action whose default press opens the artifact that matters for the builder's current state. Approval stays on the existing Approve Gate singleton key; the builder key never approves (decided 2026-08-11 after considering press-escalation and long-press variants: both rejected, escalation guesses hidden editor state and breaks re-opening, long/short press is confusing).
Ground truth
- Fleet Slot and Builder Action already differ only in default verb and title rendering (
apps/streamdeck/src/actions.ts); both share the slot+verb settings plumbing and PI dropdown. - The store has
protocolPhaseandblockedper builder; Fleet Slot renders both today. - All needed verbs exist in the VS Code relay allowlist (
apps/vscode/src/command-relay.ts):open-spec,open-plan,open-review,view-diff,open-terminal. Deck-side change only. - The bundled SD+ profile (
com.cluesmith.codev.sdPlugin/Codev.streamDeckProfile) referencesfleet-sloton 3 keys andbuilder-actionon 1, so it must be revved in the same PR.
Requirements
- One action. Remove Fleet Slot from the manifest; Builder Action (
com.cluesmith.codev.builder-action) absorbs its live-tile rendering: issue number (or builder id), phase or blocked-reason, state colouring. PI keeps Slot plus the On-press dropdown. - New default On-press: Automatic. Explicit verb choices remain available in the dropdown and are never overridden by automatic behavior.
- Automatic behavior: press opens the current state's artifact, and pressing again always re-opens it (stateless, repeatable).
- specify phase (or blocked at the spec gate) →
open-spec - plan phase (or blocked at the plan gate) →
open-plan - implement / review phases (or blocked at dev-approval / pr gates) →
view-diff - no artifact yet / unknown state →
open-terminal - Exact phase/blocked strings derive from the overview wire values, not hardcoded guesses; unknown values take the fallback.
- specify phase (or blocked at the spec gate) →
- No approval semantics on this key. Gate approval remains the Approve Gate singleton's job (workspace-wide badge + jump to next pending gate). Out of scope here beyond leaving it untouched.
- Profile rev. Update the bundled SD+ profile: the 3 fleet-slot keys become builder-action keys with Automatic on-press (hand-edit of the profile zip's inner manifest is acceptable; verify by importing on hardware). This merge's profile change is independent of the Stream Deck: phase-aware review dials — canvas navigation reuses the diff dials (deck half; bridge is #1401) #1400 profile work.
- Manifest hygiene. Tooltips describe the shipped behavior truthfully.
- Tests over the verb resolution: phase mapping, blocked-state mapping, unknown-value fallback, explicit-verb keys unaffected.
Distribution note
No released user base: the Elgato submission is pending review and packs are on-demand, so removing the fleet-slot action UUID is acceptable now and this is the cheapest moment to do it. Ships as a normal plugin update.
Relation to #1400
Not sequenced on #1400/#1401. The revised profile riding #1400's PR should assume the merged smart key exists.
Suggested protocol
PIR: the profile import and the merged key's behavior across phases must be verified on hardware before the PR (same reasoning as #1381's hardware steps).
Activity
[-]Stream Deck: phase-aware primary-artifact press for builder slot keys[/-][+]Stream Deck: merge Fleet Slot into Builder Action (phase-aware press, gate escalation)[/+]amrmelsayed commentedon Aug 11, 2026
Body rewritten per owner direction (2026-08-11): scope grew from 'add an Automatic option' to merging Fleet Slot into Builder Action with gate escalation on repeat press, plus the bundled SD+ profile rev (it references fleet-slot on 3 keys). Protocol suggestion changed AIR → PIR accordingly (hardware verification of profile import and the two-press gate flow).
[-]Stream Deck: merge Fleet Slot into Builder Action (phase-aware press, gate escalation)[/-][+]Stream Deck: merge Fleet Slot into Builder Action (phase-aware press)[/+]amrmelsayed commentedon Aug 11, 2026
Implementation note discovered while reviewing PR #1405: the phase-aware verb resolution this issue wants for the key press already exists for the Zoom Navigator's touch-strip zoom-in —
zoomInVerb(covered by 'zoomInVerb (phase-aware zoom-in)' tests inapps/streamdeck/src/__tests__/actions.test.ts, e.g. spec at spec-approval/specify). The merged Builder Action's Automatic mode should reuse/extract that resolver rather than writing a second phase→verb mapping.amrmelsayed commentedon Aug 11, 2026
On it! Working on this with the PIR protocol (plan + dev-approval gates before PR).
[PIR #1404] Plan draft
[PIR #1404] Plan revised: merged key press also selects the builder
[PIR #1404] Merge Fleet Slot into Builder Action: Automatic phase-awa…
[PIR #1404] Plugin assets: builder-action tooltip + PI Automatic defa…
[PIR #1404] Docs: fold Fleet Slot into Builder Action (README, releas…
[PIR #1404] Review + retrospective
[PIR #1404] docs: release-notes entry for the merged phase-aware buil…