fix(cc): run clang in cl mode through a clang-cl alias of the shim #1080
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.43) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 373 lines diff across 4 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.354
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1080"
general
weight: 0.35
jdx
A
clang-cllink that points at mbx'sclangshim now runsclangin itscl.exemode. cargo-xwin makes such a link to whicheverclangis first onPATH.Before this change mbx did not recognize the name
clang-cland ran its own CLI instead:Now the call reaches the real
clangwith--driver-mode=cl. A--driver-modethe caller passes still wins. This works both insidembx execand after the session has ended. These compilations are not cached.Validation: a new unit test and a Bats case that runs the alias inside and after
mbx exec; all 19 cases intest/cc_standalone_exec.batspass on macOS arm64. I reproduced the original failure with hand-made links, not a cargo-xwin build. In a localmise run ci,test:prettytimed out ontest --test custom(as it did on other branches on this machine), which stopped the run before the full Bats suite.AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: unavailable.
🤖 Generated with Claude Code
<!-- CURSOR_SUMMARY -->
---
<!-- /CURSOR_SUMMARY -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
clang-claliases that point to theclangshim now run Clang incl.exemode. These compilations are not cached.Documentation
Clarified how
clang-claliases behave withmbx exec.Tests
Added coverage for
clang-clalias behavior and compatibility help output.<!-- end of auto-generated comment: release notes by coderabbit.ai -->