Complete epic #9 and accept ADR-002 [#9] #94
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 428 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.363
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #94"
general
weight: 0.35
AM-L
Completes the remaining criteria of epic #9 and, at the maintainer's request, accepts ADR-002.
Changes
AuditSinkAdapter::addRing): returnsAuditRingRegistration. An invalid identity →InvalidStream; an identity already registered on the adapter →DuplicateStream, which covers a second concurrent producer and a recreated producer that kept its identity while its sequence restarted. Refusals are configuration errors in audit health (lastIssuenames them) and refused rings are not drained. Registered identities stay reserved for the adapter's lifetime. Uniqueness across adapters, processes and boot sessions remains the host's obligation (stated in the ADR and the guide). Breaking: the result is[[nodiscard]].AuditRing::identity()accessor (governed core, non-allocating).docs/audit-scenario-validation.md), MduXd972d77and WebFront3027d33: identifiers fit the grammar and capacities (longest 29 bytes); MduX's governanceAuditEventrecords the development history and is not an input to this path (itsLifecycleis a software-lifecycle phase); WebFront emits no audit;LifecycleandOperatorstill lack a runtime call site, recorded as a residual gap for the ADR review.UINT64_MAXthen permanentSequenceExhausted, and the enforced scope of stream uniqueness.docs/migration/audit-admission.md: registration results and the breaking change.Lifecycle/Operatorwithout a runtime call site, no monotonic value, per-adapter stream uniqueness. Approval dated 2026-10-02. Index, README roadmap and validation report updated.addRing()rolls the identity reservation back if adding the ring source throws.Verification (macOS arm64, LLVM 21.1.8, CMake 4.3.1)
audit-stream-identity-uniquenessspec (concurrent duplicate, recreated producer, invalid identity, health, refused ring not drained).webfront.integration.sourceand.installed: passed.#9 criteria
logAudit()migration and field-boundary refusals naming the field: #58 (audit-public-field-boundaries).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Audit stream identities must now be valid and unique within an adapter. Invalid or duplicate rings are refused and reported as configuration errors; refused rings are not drained.
Ring registration now reports whether it succeeded or was refused.
Documentation
* Clarified sequence-number limits, stream identity responsibilities, and audit identifier compatibility.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->