bug(control): keep documented widget IDs stable across languages #19963
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.33) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 158 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.303
Real PR Conversation Timeline
1 comments
"Review active on #19963"
general
weight: 0.35
coderabbitai[bot]
What and why
Fixes #19340. Agent
uiuses a registered ID where a screen supplies one, not a slug of its translated text. This keeps the documented controls on the title, world creation, options and pause paths addressable in other locales. The labels andclick-button LABELremain localized, and unregistered widgets such as player-named world rows still use a label-derived ID. A stable ID wins over a colliding dynamic slug.Kind
Layer
Engine client and control tooling; no new dependencies or visual changes.
Live proof
HORIZON_E2E_HEADLESS=1 python3 tools/agent_control_e2e.py --scenario ui --mode bothonc73edea956:Each real offscreen client started in Russian, switched to English on the same title screen, verified identical IDs and different labels, then switched back. Both control paths clicked
singleplayer, created a world, setfov, clickeddoneandback-to-game, moved inventory items, and selected the dynamicui-worldrow by its name-derived ID. Nine widget tests and changed-file rustfmt passed.🤖 Agent: GPT-6.2 Sol via omp: implementation and verification.