[#31] Finalize and accept ADR-001 contracts #41
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 381 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.356
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #41"
general
weight: 0.35
ambroise-leclerc
Summary
Closes every checklist item #31 raises against ADR-001 (
docs/adr/ADR-001-allocation-free-governed-logging-core.md) and records the maintainer's acceptance:message160B,component/operationId32B each,correlationId40B), the named-preset parametrization mode chosen over exposing template parameters, and theuint16_tceilingInlineString<N>imposes.component,operationId,correlationId) vs. descriptive (message) field list, the UTF-8-safe truncation-boundary algorithm, and an explicit non-goal of validating already-malformed UTF-8 input.WriteResult/Refusal/TruncatedFieldsshape and the fixed refusal-priority order (MalformedTime→IdentifierTooLong→RingFull) when several conditions apply at once.atomic<uint64_t>, modulo wraparound, unreachable in practice) for the ring cursors and refusal counter — the same statement ADR-002 Decision 5 asks forAuditEvent.sequence.mddlog.core.loglevelsplits (the enum/semantic helpers stay governed, the ANSI color helpers move to the sink zone), and the current allocatingLogRecord/LogStatisticsmove tomddlog.adapter.logrecord, freeingmddlog.core.recordfor the new governed type.RawTimetype (std::chrono::nanoseconds) and the singleMalformedTimesentinel (RawTime::min()), confirming the governed core reads no clock.sizeof(LogRecord)≈ 312 B,RingLog<1024>≈ 312 KiB) stating whatsizeof/static_assertguarantee and what stays compiler/ABI-dependent.No code changes — this batch touches only
docs/adr/ADR-001-allocation-free-governed-logging-core.mdand the status table indocs/adr/README.md, as #31 scopes it.Invitation and contributor agreement
Not applicable — this PR is the project steward's own change, made directly by the maintainer (ambroise-leclerc); there is no external contributor or CLA issue involved.
Verification
LogRecord.cppm/LogLevel.cppm's actual current contents, and the Status/Approval/Risks sections no longer describing the ADR as pending).docs/adr/README.md, ADR-002/003/004) references ADR-001's status in a way this change leaves stale.