← Back to Pull requests

test: cover inline Claude composer in a tall installed pane #2022

Closed
unknown closed this pull request without merging on Oct 25, 2026 15:03 UTC
View on GitHub
unknown unknown commented on Oct 25, 2026 12:47 UTC
Author

A working Claude seat can draw its composer near the top of a tall pane, leaving blank rows below it. The installed prompt-state scenario now exercises that layout after #2005, so quoted approval text must allow actual sends and timer wakes while a real dialog still refuses them.

Restores inline rendering in a 45-row pane, keeps the cursor inside the input, and retains the full pre-send screen. Result admission requires the actual pane height, a drawn footer, and at least 20 blank rows below it; controls reject a short pane, a truncated capture and a blank capture. Existing attention, clearing and exact watchdog-refusal checks remain.

Three test/documentation files, +23/-10 on main 3623f4d6 (the #2002 merge); no product source or extra scenario/container. Syntax and diff checks passed. Exact-head remote CI and a rebuilt pre-#2005 source fail-before check are pending. No native provider or local product execution; controlled pane layouts do not establish native-client behavior. Added runtime and peak footprint are not yet measured for this revision.

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

<!-- coderabbit-ai-generated:v1 -->

Summary by CodeRabbit

Tests
Strengthened prompt-state checks to verify a sufficiently tall terminal pane, a complete pre-send screen, and adequate space below the composer.
Updated test scenarios to reject short panes, incomplete frames, and blank-screen captures.
Documentation
* Clarified the expected terminal layout and pre-send screen requirements.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Diff: 204 lines (+153 / -51) across 2 files Reviewer: openrig-review Review duration: 135m
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.41) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 204 lines diff across 2 files
0.41
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
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
Diff Size diff_size
0.318
Shallow Review Depth shallow_review_depth
0.289
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #2022"
general weight: 0.35
Assignees
Unassigned
Labels
risk: low confidence: 60.5% 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: 41.3% (MEDIUM) · Higher = larger blast radius
41.3%
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: 60.5% · Lower = rushed or shallow review
60.5%
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: 16.3% · Safe to merge
16.3%