Skip to content

Stream Deck: phaseArtifactVerb doesn't map the verify-approval gate (Automatic press falls back to terminal) #1431

Closed

Description

@amrmelsayed

Problem (surfaced by the pir-1428 builder while mirroring gateIconFor, 2026-08-12)

phaseArtifactVerb (apps/streamdeck/src/actions.ts:229-239) maps gates spec-approval, plan-approval, dev-approval, pr - but not verify-approval, which the VS Code sidebar's gate vocabulary knows (gateIconFor in apps/vscode/src/views/builder-row.ts maps it to the verified codicon). A builder blocked at verify-approval returns undefined, so the Builder Action Automatic press opens a terminal instead of the review artifact, and the phase-aware dial mode resolves through the same resolver.

Fix

Add verify-approval to the gate branch, returning view-diff (same as dev-approval/pr - the human is reviewing completed work). One line plus a test alongside the existing gate cases.

Protocol

BUGFIX (isolated one-line mapping gap with existing test patterns; no hardware gate needed - the resolver is fully unit-tested). Sequence after #1428 merges to avoid actions.ts churn.

Activity

  1. added
    area/streamdeck
    on Aug 12, 2026
  2. added a commit that references this issue on Aug 12, 2026
  3. amrmelsayed commented on Aug 13, 2026

    @amrmelsayed
    CollaboratorAuthor

    On it! Working on a fix now.

  4. added 4 commits that reference this issue on Aug 13, 2026
    71de358
    b7d89bf
    2dfbd81
    3603d63
  5. added a commit that references this issue on Aug 13, 2026
    805df27
  6. amrmelsayed commented on Aug 13, 2026

    @amrmelsayed
    CollaboratorAuthor

    Shipping record: PR #1442 merged 2026-08-13T07:22:22Z (7/7 green). One clause added to the gate branch (verify-approval → view-diff, symmetric with dev-approval/pr), its test, and deletion of the stale face.ts comment that pointed here.

    Notable for the record: this was the first lane merged entirely under the degraded-board policy adopted while codex is unavailable (2-way CMAP + architect source verification). That verification earned its keep — gemini and claude both APPROVEd HIGH while missing a real untested behaviour change: because reviewMode derives from phaseArtifactVerb, this mapping also flips a verify-approval-blocked builder's review dials from none (dead) to diff (navigating). Correct and desirable, but unasserted until the architect sent it back; now pinned by a regression that fails without the fix.

    Release-notes entry on docs/vscode-changelog covers both the press fix and the user-visible dial consequence.

  7. added a commit that references this issue on Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/streamdeck

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions