test(opencode): use the config-defined model so bwrap tests stay hermetic #129
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.67) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.67 · 254 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.332
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.067
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #129"
general
weight: 0.35
pquerna
Summary
Main's
integration (bwrap)job is red (since the #124 merge run — pre-existing, unrelated to #124): all threeopencode_fake_inferencefailures saw zero requests reach the fake inference server because opencode crashed before its first model call.Root cause, from the
pane.castCI artifacts: the scenarios invoke-m openai/o3-mini, which resolves against opencode's live-fetched model catalog (models.dev) — not the sha256-pinned v1.15.10 binary. The catalog floated forward and droppedo3-mini. One dependency, three failure modes depending on the fetch outcome:UnknownError: Unexpected server errorright after the first-run DB migration (opencode_persists_streamed_response_to_session_db,opencode_handles_server_500_without_hanging)Model not found: openai/o3-mini. Did you mean: gpt-4.1-mini, gpt-4o-mini, gpt-5-mini?(opencode_executes_bash_tool_use_and_persists_output)opencode_streams_chunks_incrementally,opencode_persists_user_prompt_in_session)Fix
-m openai/fake-model— the model each scenario's ownopencode.jsonalready defines under the provider'smodelsmap. Resolution then never touches the live catalog. The fake server echoes anymodelfield back without validating it, so request/response shapes are unchanged.Testing
cargo check -p agent-tui-integration --features bwrap --testscargo clippy --workspace --all-targets -- -D warnings,cargo fmt --checkintegration (bwrap)job is the execution environment (same arrangement as #127).Not in this PR
crates/agent-tui/skill-data/ai-cli/SKILL.mdstill useso3-miniin its real-world examples (the{test=…}blocks don't execute in CI today). Stale for the same root cause, but the right replacement model for user-facing docs is a product call — follow-up.🤖 Generated with Claude Code + Squire