[#36] Add fixed-capacity SPSC RingLog #47
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.41) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 195 lines diff across 2 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.316
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #47"
general
weight: 0.35
AM-L
Closes #36
Résumé
mddlog.core.ringetRingLog<Capacity>avec stockage interne, refusRingFullsans écrasement et compteur de refus atomique.Vérification
cmake --preset ninja-macos-clangcmake --build --preset ninja-macos-clang --parallelctest --test-dir build-macos-clang --output-on-failure: 60/60 réussisclang-format21 etclang-tidy21 sur les nouveaux fichiers : réussisLes tests de concurrence relèvent du lot dédié ; cette PR ne revendique pas de preuve multi-thread. L’intégration à l’adapter reste planifiée.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Added a bounded queue for log records. It refuses writes when full and provides read-only snapshots that can be acknowledged to free space.
Added support for consuming the ring module through the installed package.
Documentation
Documented queue capacity, single-producer/single-consumer usage, ordering limitations, and current concurrency-test coverage.
Tests
* Added coverage for full queues, draining and acknowledgement, wrapped records, and write validation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->