← Back to Pull requests

docs(deployment): ask agencies to check a draft language before drivers use it #564

Closed
unknown closed this pull request without merging on Nov 22, 2026 19:31 UTC
View on GitHub
unknown unknown commented on Nov 22, 2026 17:52 UTC
Author

Part of #495.

The proposal promised that the deployment guide would ask an agency to have a draft language checked by fluent staff before its drivers get it. Both apps now ship English plus 28 drafts, and an app shows a draft as soon as the phone is set to that language, but nothing an agency reads before handing out phones mentioned languages.

This adds section 15 to docs/deployment.md. It points at docs/translations/status.csv for the list and each language's status instead of copying them, so it doesn't go stale as languages are added or reviewed. It says how each app picks its language: the phone's languages first, then on Android the Language row on the first welcome screen and in Help (the app's own list on 13 and newer, the phone's settings on 8 to 12), and on iPhone the app's Language row in Settings. It asks the agency to check a draft before drivers use it and keep those phones in English until then, and the steps (export the sheet with cmd/l10n, read it beside a test phone, import, check, mark reviewed, open a pull request) point back to docs/translations/README.md, which stays the one place with the details.

The iPhone line describes main as it is: the Language row comes from UIPrefersShowingLanguageSettings, and the app has no Language row of its own yet.

Two small edits ride along. The operator manual's onboarding checklist gets one item pointing at the new section, since that is where a dispatcher has the driver's phone in hand. And the translations README no longer says the apps ship in English only, which stopped being true when the drafts landed.

Checked with go vet ./..., go test ./... (including the docs tests in config_doc_test.go), go run ./cmd/l10n check (0 errors, 0 warnings), and go run ./cmd/l10n export es to confirm a sheet without Xcode has the draft in current.

Diff: 230 lines (+172 / -58) across 2 files Reviewer: aaronbrethorst Review duration: 98m
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.60) × (1 − Review Confidence (0.58)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.60 · 230 lines diff across 2 files
0.60
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%
57%
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.326
Shallow Review Depth shallow_review_depth
0.289
Sensitive Paths sensitive_paths
0.060
Real PR Conversation Timeline
1 comments
"Review active on #564"
general weight: 0.35
Assignees
Unassigned
Labels
risk: low confidence: 58.0% reviewed sensitive_module
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: 60.2% (MEDIUM) · Higher = larger blast radius
60.2%
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: 58.0% · Lower = rushed or shallow review
58.0%
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: 25.3% · Safe to merge
25.3%