feat(release): release approval record and fail-closed checker (REL01 #68) #323
All Vouch review confidence checks passed
Residual risk 0.39 = Change Risk (0.47) × (1 − Review Confidence (0.16)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.47 · 335 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 14% · 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.348
Shallow Review Depth
shallow_review_depth
0.344
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #323"
general
weight: 0.35
copilot-pull-request-reviewer[bot]
<!-- claude-projects-attribution: {"github_login":"CierCier"} -->
_Requested by cier · project thread_
Summary
Refs #68 (REL01). Adds the approval record and a checker that refuses approval on the current evidence. This does not approve the release. Both sign-offs are blank for @CierCier and @jR4dh3y, 18 P0 blockers are open and #68 should stay open until both developers sign. Please do not treat the merge as closing it.
Plan mapped to acceptance
| Step | Acceptance item | Done by |
| --- | --- | --- |
| 1. One blank sign-off per developer (statement, date, evidence commit) | Both developers explicitly record approval |
docs/roadmap/release-approval.json;checkrequires both, distinct, at the reviewed commit || 2. Refuse approval with an open P0, open gate or open non-release task | Approval only with zero open P0 blockers; review six gates and nonpublication task closures |
blocking_reasons();checkfails if a sign-off is recorded while any reason remains || 3. Five evidence classes tied to blockers and records | Missing dataset/model metric, platform, asset, chain or restore evidence fails approval |
evidence_classes; open or unknown blocker or missing record fails the class || 4. Index current and at one commit | Review the evidence index and source decisions | REL03
problems()rules plus snapshot/evidence commit match || 5. No deadline or staging field; unknown fields rejected | Deadlines and staging cannot authorize release | closed key sets; tests show such fields are rejected and cannot change the reasons |
| 6.
verdictfor #69 | Approval gates publication |make release-approval-verdictexits 1 now |Tested
make release-approval-test(23 tests),make release-approval-check,make release-evidence-test,make release-evidence-check,go test ./docs/,tools/citests: pass locally.make release-approval-verdictexits 1 with 43 reasons and both missing sign-offs, as intended.Not tested / limits
docs/requirements.mdchanged, sorelease-evidence-index.mdwas regenerated.---
_Generated by Claude Code_