Harden current-schema capacity reservation and recovery status #920
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 250 lines diff across 3 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.331
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #920"
general
weight: 0.35
scottopell
Summary
Current-schema deployment now reserves a mathematically bounded growth envelope for a live WAL database instead of treating a racy filesystem sample as an exact ceiling. Status also distinguishes unresolved marker loss from completed, markerless predecessor recovery.
Changed
Why
A live main/WAL/SHM sample can become stale through ordinary writes or be internally inconsistent if checkpointing races its separate filesystem stats. Reserving from proven filesystem headroom makes that sample a lower-bound observation while preserving fail-closed stopped-state checks.
Validation
The focused deployment-controller suites passed 223 tests; full devpy passed 699 tests. The latter unexpectedly invoked a real local Rust build through an existing seed-test setup and is recorded as resource-noncompliant evidence, not a safe qualification method. Subsequent review was source-only and found no actionable findings. Hosted CI is the authoritative post-commit qualification; no production recovery, retry, or mutation is authorized by this PR.