[18.0][ADD] l10n_cl_dte_caf: register draft CAF authorizations #128
All Vouch review confidence checks passed
Residual risk 0.34 = Change Risk (0.59) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.59 · 201 lines diff across 2 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.318
Sensitive Paths
sensitive_paths
0.059
Real PR Conversation Timeline
1 comments
"Review active on #128"
general
weight: 0.35
edescalona
Summary
Introduce the initial CAF registration model, scoped by company and SII
environment, using the existing DTE roles from Base.
decoded file bytes.
and reject invalid ranges, malformed content and duplicate registrations.
Signature verification, SII trust keys, activation, folio reservation and
configuration views will follow in separate changes. Registering a draft CAF
does not authorize issuance.
Validation
Based on OCA/18.0 at
b108124. 398 review lines and 921 total lines includinggenerated documentation.
with CAF installed, zero failures and errors in both runs.
SQL unique constraint remains the guarantee for concurrent transactions.
are selected, and branch-only access isolation. The draft model retains
company-scoped records. Shared taxpayer folio allocation will be addressed
when designing the reservation increment.
candidate 395/414 (95.41%). CAF authorization model 101/102 (99.02%).
The remaining uncovered line rejects editing a validated CAF, a state
that has no public activation path in this first increment.
Refs #121.