Preserve delegated request nonce compatibility #143
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.46) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 464 lines diff across 5 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.367
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #143"
general
weight: 0.35
Miko997
Outcome
Problem
MP2-016 delegate-normal requests use a 64-hex-character nonce, while the broker's durable request inventory still accepted only the 32-character owner-request form. PR #141 therefore reached durable reservation but was fenced as
uncertainwithdurable request inventory identity is inconsistenteven though its signed package and exact-head qualification were valid.User-visible behavior
None. The broker can interpret retained delegate-normal request rows using their existing contract without weakening owner-normal nonce validation or rewriting historical evidence.
Changes
Scope
Classify the durable request subject before validating its nonce: the exact delegate-normal subject shape requires 64 lowercase hexadecimal characters, while owner and human request shapes continue to require 32. Export the canonical delegate subject field set, cover both accepted and rejected cross-shape lengths, and refresh only mechanically affected inventories and traceability records. No workflow, ruleset, credential, trust-root, publication, or repository-setting change is included.
Compatibility
Existing owner-normal and owner-repair rows retain their 32-character nonce contract. Existing delegate-normal rows retain their signed 64-character nonce contract and become readable by full inventory/orphan reconciliation. Historical request rows are not migrated, relabelled, or rewritten. Python and platform support declarations are unchanged.
Evidence and research impact
The change only corrects broker interpretation of durable authorization evidence. The failed PR #141 request and provider identities remain immutable retained evidence. No product evidence schema, research result, or release artifact changes.
Validation
Tests
2d66d21d25d3a9a93e5452388d28bd29a0757c83; local Python 3.12 suite: 5,842 passed, 16 skipped in 22m40s.Documentation
docs/maintainers/main-health-broker.mdnow records the shape-specific nonce lengths. Testing policy and mechanically generated functional-inventory, public-surface, requirements, and capability-ledger records were refreshed.Boundaries
Privacy and security
No credentials, recordings, personal data, private paths, or secret material were added. Delegate shape classification is exact and fail-closed; ambiguous, malformed, cross-length, or unknown shapes remain rejected. Authorization, signatures, freshness, exact-head binding, CAS, and App-owned state boundaries are unchanged.
Checklist