fix(verification): read the document holder's name, never the issuer's #454
All Vouch review confidence checks passed
Residual risk 0.32 = Change Risk (0.52) × (1 − Review Confidence (0.39)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 491 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 67% · 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.371
Shallow Review Depth
shallow_review_depth
0.344
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #454"
general
weight: 0.35
claude[bot]
What
The document check (
document_check.py,_prompt) now asks the model for the holder's names:given_names/surnames: the person the document is about or addressed to (holder, account holder or addressee). Never a person who signs for the issuer.business_name: the company the document is about or addressed to. Never the company that issued it (a bank, phone company, utility, authority).values: a person's or company's name is the holder's, never the issuer's.Docs: one sentence in
docs/operations/carrier-verification.md(Document check).Why
The old prompt said "a company's name exactly as printed" but not whose. On a bill or bank statement the model often returned the issuer. So the company box could be filled with the bank's or utility's name, and the company name check could warn when the customer typed their own company.
Probe (real model)
eu.anthropic.claude-haiku-5-5(the document reader's default), Bedrockeu-central-1. Fallback models turned off for the probe, so every answer is Haiku's.read_documentsends, throughcheck_documents, with the GB mobile forms from the saved Twilio fixtures (business form: proof of address slot; person form: proof of address slot).business_nameform value the console would fill.| Document | Form | Old: names | Old:
business_name| New: names | New:business_name|| --- | --- | --- | --- | --- | --- |
| (a) phone bill | business | empty 5/5 | Lumen Konsult AB 5/5 (box 5/5) | empty 5/5 | Lumen Konsult AB 5/5 (box 5/5) |
| (a) phone bill | person | empty 5/5 | Lumen Konsult AB 4/5, Nordtel AB 1/5 | empty 5/5 | Lumen Konsult AB 5/5 |
| (b) electricity bill | business | Anna Berg 1/5, empty 4/5 | Stadsel Energi AB 5/5 (box 5/5) | Anna Berg 5/5 | empty 5/5 (box empty 5/5) |
| (b) electricity bill | person | empty 5/5 | empty 5/5 | Anna Berg 5/5 | empty 5/5 |
| (c) bank statement | business | empty 5/5 | Kustbanken AB (publ) 5/5 (box 5/5) | Anna Berg 5/5 | empty 5/5 (box empty 5/5) |
| (c) bank statement | person | Anna Berg 5/5 | Kustbanken AB (publ) 5/5 | Anna Berg 5/5 | empty 5/5 |
Tests
core/tests/providers/test_verification_document_check.py: 111 passed, 1 skipped.api/tests/test_verification_document_check_api.py: 32 passed.What merge does by itself
mainruns the Deploy workflow (acore/change is not inpaths-ignore): it runs CI, rebuilds the 3 service images (API, voicebot, MCP) and rolls them on the VM. The API then sends the new prompt. No migration.What merge does not do
printed_name.business_nameis separate and depends on this one shipping first.Review: 0 of 1 commits.