← Back to Pull requests

The gathering player's camera moves to the Bottom view, where the gathered Traitor pile lies #1640

Open
unknown opened this pull request with 240 lines diff across 3 files
View on GitHub
unknown unknown commented on Oct 01, 2026 23:23 UTC
Author

🤖 Generated with Claude Code

https://claude.ai/code/session_01FU9gKGtpj9vUoc4mSTT6sz

Before: after "Gather tabletop traitors" the six Traitor decks disappeared from the desktop Map view. The combined pile lands in the Other decks slot under the Bene Tleilaxu tanks, which is below the Map view's frame on a wide screen, so the player had to find it through the Bottom view themselves.

After: when the viewer's own gather completes, their camera moves to the Bottom view, with the pile in the middle of the frame and ready for the shuffle and deal. Other players' cameras stay where they are, and a rejected gather moves nothing.

How: TableSession counts the viewer's own traitors-gather commands that the table completed (traitorsGathered). HostedTable passes that count to GameTable as a requestedView revision, and GameTable selects the requested view once per new revision. A revision already standing when the table mounts is treated as answered, so a remount does not move the camera again.

Fixes #1635.

Screenshots

Pages / Play / Journey, J13 → J14 after clicking "Gather tabletop traitors" as seat 1, 1440×900.

| Before | After |
| --- | --- |
| !before | !after |

Checks

  • TableSession.test.ts covers the count: a rejected gather and an unrelated completion leave it at 0, and the gather's own completion raises it to 1.

  • Multiplayer and GameTable unit tests, typecheck, oxlint, oxfmt and the prose check all pass locally.

  • The proof images are committed and removed in the next commit, so they stay out of the tree.
  • ---
    _Generated by Claude Code_

    Diff: 240 lines (+180 / -60) across 3 files Reviewer: copilot-pull-request-reviewer[bot] Review duration: 0m
    All Vouch review confidence checks passed
    Residual risk 0.39 = Change Risk (0.44) × (1 − Review Confidence (0.11)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.44 · 240 lines diff across 3 files
    0.44
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 6% · Reviewer familiarity: 35%
    10%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.328
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #1640"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: medium confidence: 10.9% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 43.7% (MEDIUM) · Higher = larger blast radius
    43.7%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 10.9% · Lower = rushed or shallow review
    10.9%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 39.0% · Moderate risk
    39.0%