Repository navigation
Description
Gap
The deck can reach every builder — select it, open its artifact, approve its gate, run its dev server, send it feedback, open its terminal — and cannot reach a single architect. But architects are where the conversation happens: when a review raises something the builder can't settle, the next move is talking to whoever owns the lane, and that requires leaving the deck for the mouse.
Design: builder-scoped, like the rest of Row 2
A new key whose press opens the terminal of the architect that spawned the currently selected builder. It follows the Row 2 rule exactly — every key there acts on the selected builder — so architects never enter the selection model, Row 1 stays builder-only, and no key's meaning depends on what kind of thing is selected (the modality #1410 rejected).
You never pick an architect; you pick a builder, and the key follows the ownership the system already records. That scales to any number of architects at zero cost and reads as the natural escalation: I am reviewing this work, now talk to whoever owns it.
Everything needed already exists:
open-architect-terminalis in the relay allowlist and the deck's PI verb list.codev.openArchitectTerminalaccepts an optional architect name (extension.ts).OverviewBuilder.spawnedByArchitect: string | nullis already on the wire the deck reads — no types, Tower, or relay change.
Implementation shape: a VerbKey subclass whose args() returns [selectedBuilder.spawnedByArchitect], mirroring how Row 2's Open Terminal passes the selected builder id. It should render its target's name on the face (labelFaceSvg), so you can see who you would summon before pressing — note that VerbKey has no runtime face, so this key must opt into compositing (see #1444 / #1459).
Rulings to honour
spawnedByArchitectisnull(builder spawned outside an architect context): the key is inert with a status message, not a silent fallback tomain. A key that sometimes means "the owner" and sometimes "main" is exactly the quiet inconsistency this board's design avoids.- Architect not live / unresolvable: defer to the VS Code command's existing handling; the deck must not second-guess it.
- No builder selected: inert, consistent with the rest of Row 2.
Dependency: #1406 is a prerequisite, not a footnote
#1406 (spawn attribution silently falls back to main unless CODEV_ARCHITECT_NAME is set) is today a cosmetic wrinkle in afx status. This feature turns it into a wrong action on hardware — pressing "talk to the owner" and summoning the wrong architect. air-1403 is a real instance: spawned by the streamdeck architect, registered as main's. Fix or confirm #1406 before this ships, or accept that the key inherits its inaccuracy.
Alternatives considered and rejected
- Statically configured per-architect keys (PI carries an architect name). Rejected: it breaks the Row 2 invariant by making one key context-free while its neighbours are builder-scoped, and it needs a folder or several slots to cover more than one architect.
- An architect altitude on the Zoom dial. Rejected on reading the code: that dial's cursor is the shared selection (
cursor.builder→selectedBuilder()→ what Row 2 and both review dials act on), so putting architects there either moves the selection off a builder and hollows out Row 2, or needs a parallel cursor plus an altitude whose tap means "summon" where every other altitude's tap means "descend". Its gestures are also fully allocated (rotate walks, tap zooms in, press zooms out).
Placement
The plugin does not dictate placement — bundled profiles ship Actions: null by long-standing precedent (#1404, re-ruled at #1410's dev-approval), so keys are placed by the user in the Stream Deck app. Guidance for the README:
- Recommended home is Row 2 alongside the other builder-scoped actions.
- The natural donor is Send Feedback while the workspace is in forward mode, where that key is inert by design (badge pinned at 0, press does nothing). Unplacing a key does not remove the action — it stays available in the picker and can be re-placed in seconds if the workspace moves to queue mode.
- The trade disappears entirely with a larger profile (Bundle preconfigured Stream Deck profiles in the plugin manifest ahead of Marketplace submission #1381), which this feature is a concrete argument for.
Protocol
PIR — the key renders a composite face and its press behaviour is worth seeing on hardware before a PR exists, matching #1428's precedent for face work.
Activity
amrmelsayed commentedon Aug 15, 2026
Design revision (owner question): how do you reach
maindeliberately?As filed, the key only reaches an architect who happens to own the selected builder. If a streamdeck-owned builder is selected,
mainis unreachable; with no builder selected, nothing is reachable at all. That is a real hole, and the fix is a pattern this plugin already ships.Adopt Builder Action's Automatic-or-explicit shape. Its Property Inspector defaults to Automatic (resolve from the selected builder's phase) and lets you pin an explicit verb instead. This key should mirror that exactly:
Automatic(default) — resolve the target fromselectedBuilder.spawnedByArchitect.One action type, one extra PI field, and the two use cases stop competing: the everyday key stays contextual ("talk to whoever owns this work"), and a second instance pinned to
mainis available the moment a slot exists — which is another concrete argument for #1381.Revising ruling 1 above. I originally said a
nullowner (or no selection) should leave the key inert rather than fall back tomain, on the grounds that a key meaning "the owner" sometimes and "main" other times is a quiet inconsistency. That objection does not survive this design, because the key renders its resolved target's name on its face — so a fallback is visible before you press, not hidden. With that, the honest reading is a single coherent meaning: the architect responsible for what you are looking at — the builder's owner when a builder is selected, and the workspace's primary otherwise.So:
Automaticfalls back tomainwhen there is no selected builder or the builder has no recorded owner, matching the conventionafx send architectalready established (route tomainif present, else the first registered). Inert remains correct only when that fallback itself cannot resolve — a workspace with no live architects.Consequence worth stating plainly: with this,
mainis reachable from the deck in three ways — selecting any main-owned builder, pressing with nothing selected, or pinning a second key to it.amrmelsayed commentedon Aug 15, 2026
On it! Working on this with the PIR protocol (plan + dev-approval gates before PR).
[PIR #1463] Plan draft
[PIR #1463] Plan revised: first-live-architect fallback (no hardcoded…
[PIR #1463] Plan: fold in live-view caveats (No architect face, missi…
[PIR #1463] Plan reshaped: two-mode key (Builder/Main), Architect-ove…
[PIR #1463] Plan: document Main-mode residual + Row-1 placement cavea…
[PIR #1463] Add architect glyph + architectFaceSvg (title/subtitle, d…
[PIR #1463] OpenArchitectAction: two-mode (Builder/Main) Row-2 key, d…
[PIR #1463] Manifest action + Property Inspector (target: Builder/Mai…
[PIR #1463] README: document Open Architect key, its modes, and known…
[PIR #1463] Thread: implement phase complete
[PIR #1463] Rename the terminal keys as a pair: Open Builder Terminal…
[PIR #1463] Plan: add dev-approval check #8 (already-placed Open Term…
[PIR #1463] Review + retrospective (arch + lessons cold-tier notes)
amrmelsayed commentedon Aug 15, 2026
Shipping record: PR #1466 merged 2026-08-15T08:49:14Z (
0cc416ff7), seven checks green, full 3-way consult all APPROVE.What shipped: an Open Architect Terminal key with two modes —
builder(default: the architect that spawned the selected builder, visibly inert as a dim "None" when there is none) andmain— plus the owner-directed paired rename of the existing key to Open Builder Terminal.The two decisions worth inheriting, both arrived at during review rather than in the original filing:
main-else-first to VS Code and never consumes the live-architect view.OverviewData.architectsis built byliveArchitects(), which skips any architect whose terminal session is missing — so it answers "who can Tower currently see", not "who exists". Three registry failure modes were raised against an earlier design that read that list (empty list during a restart window; a transiently invisiblemainmaking positional fallback summon a sibling; a live row behind a dead PTY). The shipped design makes all three not this key's problem rather than handling them carefully: the deck fires a name, and VS Code — which already special-cases the literal'main'— resolves it. One policy, one home. Avoiding the dependency beat mitigating it.resolve()is shared by the press path and the face render, so what the key shows and what a press sends cannot drift apart. The rendered architect name is the only safeguard against summoning the wrong architect, and sharing the resolution makes that safeguard structural rather than conventional — there is no second code path to keep in step.Release notes: UNRELEASED entry added; deliberately no
apps/vscode/CHANGELOG.mdentry, since that file is the VS Code extension's own changelog and this change touches no extension code (the single Stream Deck mention in its history is there because the extension side changed that time).Still open and relevant: #1406 — spawn mis-attribution can make
buildermode summon the wrong architect, and the face will faithfully display the wrong name because the deck renders what it was told. #1465 covers the Row-1 windowing constraint that governs where this key can sit.[PIR #1463] docs: release-notes entry for the Open Architect Terminal…
[PIR #1463] Review/arch: capture the key reuse lesson (avoid the live…
Merge pull request #1467 from cluesmith/builder/pir-1463
[PIR #1465] Retire the manual Slot PI field; document placed-key wind…
[PIR #1465] Review: record why the doc findings were not nits (post-m…