fix(clients): distinguish unset birth dates in client and family forms #829
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 353 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.351
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #829"
general
weight: 0.35
zhangxinyao88
Create Client and Add Family Member now show “Not set” for an empty Date of Birth and offer a clear action after selection. Clearing after a rejected create also keeps the retry payload free of the old date. Client help describes the create wizard or the edit task, as appropriate. The latest review cleanup consolidates duplicate adapter imports without changing the component body.
Closes #747. The name-input validation associations reported there already work on main. Clearing an existing record’s DOB and constraining future birthdays remain outside this change; existing edit serialization is preserved.
Verification:
All requests and fixtures in local browser coverage are synthetic and mocked. No local real-backend, full browser, non-English browser, offline/container build or generated-client regeneration was run. Screenshots and video are saved by the focused specs for inspection.
Codex assisted with implementation and Vitest/Playwright verification. No generated API files or lint suppressions were hand-edited; commits are signed.
Screenshots
Captured with synthetic mocked data on the verified application head.
Untouched optional DOB, desktop1280×900:
!Create Client with an unset date of birth
Explicitly selected DOB and Clear action, phone390×844:
!Create Client with a selected date of birth and Clear action
Empty family-member DOB (field capture):
!Family member date of birth shows Not set