Skip to content

feat(review): label panel seats by roster name in the progress panel - #122

Merged
Jodre11 merged 1 commit into
mainfrom
feat/panel-seat-name-label
Jul 24, 2026
Merged

Jodre11 merged 1 commit into
mainfrom
feat/panel-seat-name-label

Conversation

@Jodre11

@Jodre11 Jodre11 commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Now that panel is the default (and soon only) orchestration mode for the code-review engine, its panelists are the agents users see running in the Workflow progress panel at the bottom of the GUI. Until now they showed as the anonymous panel-0, panel-1, panel-2. Each seat already carries a Titans roster name internally (used to keep panelist prompts byte-distinct so Bedrock draws independent votes); this PR simply surfaces that name in the progress label so the panel reads panel-Cronus, panel-Rhea, panel-Oceanus, … instead.

Changes

  • review-core.mjs — extract a hoisted panelSeatName(i) helper (roster: Cronus, Rhea, Oceanus, Hyperion, Themis; falls back to Seat N beyond the roster). It is shared by the existing prompt-prefix and the new dispatch label panel-${panelSeatName(i)}. The name remains content-neutral by design — it differentiates seats only and must never steer what a seat reviews (that would bias the panel).
  • tests/lib/test_panel_review.sh and tests/ab/lib/render_pr_mockup.mjs — the panel-agent stubs previously keyed panelists by parsing the integer out of panel-N. Updated them to map the roster-name label back to the seat index so the fixtures still align.

Test plan

  • bash tests/run.sh — 846 passed, 1 skipped (clean tree)
  • Confirm live: run a panel review and check the progress panel shows panel-Cronus etc.

Panelists appeared in the Workflow progress panel as panel-0/1/2. Surface
the Titans roster name each seat already carries (Cronus, Rhea, Oceanus,
...) so the panel reads panel-Cronus etc. instead.

Extract a hoisted panelSeatName(i) helper shared by the prompt prefix and
the dispatch label; the name stays content-neutral (seat differentiation
only, never steering what a seat reviews). Update the panel-agent test
stubs to map the roster-name label back to the seat index.
@Jodre11
Jodre11 merged commit 15e7e2a into main Jul 24, 2026
3 checks passed
@Jodre11
Jodre11 deleted the feat/panel-seat-name-label branch July 24, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant