You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
specfact code review can currently emit error findings and still return zero because severity, score, fixability, enforcement mode, and core fallback behavior are independent. C15 makes the signed policy/profile the sole severity-calibration authority and derives truthful assurance and exit behavior from effective severity, lifecycle, waiver, differential state, and enforcement mode without changing C14 scope or differential contracts.
Add audited suppression evidence authenticated against trusted, active, scope-matched exception records.
Freeze and sign the initial rule/severity mapping and schema compatibility fixtures.
Dogfood in shadow, remediate both repositories, rerun the frozen measurement, then explicitly activate blocking mode only if the precision target passes.
Acceptance criteria
Open, applicable, unwaived effective errors yield FAIL and exit 1 in non-shadow changed/full enforcement.
Required uncertainty yields UNKNOWN and exit 1 in non-shadow enforcement.
Warning/info-only and waived/advisory reports do not block; info is score-neutral.
Score and fixable never determine verdict or exit.
Shadow preserves truthful assurance while exiting zero.
Suppression directives never delete findings and cannot self-authorize candidate-added exceptions.
Attribution ambiguity that could affect blocking becomes UNKNOWN; multiplicity is never silently collapsed.
Schema 1.7 compatibility, signed module identity, dogfood remediation, and the frozen audit gates all pass before blocking activation.
Measurement and rollback
Repeat the frozen 40-PR replay and n=150 stratified adjudication with seed 20260819.
Require weighted effective-error actionable precision ≥80%, Wilson 95% lower bound ≥70%, and at least 40 adjudicated effective-error findings.
Require zero silently collapsed multiplicity cases and zero unresolved blocking attribution conflicts.
If targets miss, keep shadow mode, demote failing rules, and rerun the frozen measurement.
Rollback is configuration-only: restore shadow while retaining schema 1.7 evidence.
Non-goals
No new analyzer family or AI reviewer.
No blanket blocking of warning/info findings.
No candidate-controlled self-waiver.
No change to C14 Git scope, immutable snapshots, differential matching, or protected-envelope ownership.
No generalization claim beyond the measured Python repositories.
Why
specfact code reviewcan currently emit error findings and still return zero because severity, score, fixability, enforcement mode, and core fallback behavior are independent. C15 makes the signed policy/profile the sole severity-calibration authority and derives truthful assurance and exit behavior from effective severity, lifecycle, waiver, differential state, and enforcement mode without changing C14 scope or differential contracts.Parent and coordination
code-review-15-signal-calibrated-blocking-gatecode-review-14-scope-truth-and-differential-enforcementSpecFact CLITododjm81cli-val-07-code-review-gate-adoptionBlockers and dependency order
Implement these prerequisites first:
Native blocked-by relationships include all five prerequisites, including the two cross-repository core authorities.
What changes
ReviewReportto schema 1.7 and preserve raw analyzer severity separately from effective severity.changedorfullenforcement on every open, applicable, unwaived effective error.UNKNOWNand fail non-shadow enforcement closed.assurance_statusin shadow while returning zero.MISSING_ICONTRACT, hierarchy-aware optional-param analysis, AST-backed attribution/exact deduplication, and deterministic calibrated contexts.Acceptance criteria
FAILand exit 1 in non-shadow changed/full enforcement.UNKNOWNand exit 1 in non-shadow enforcement.fixablenever determine verdict or exit.UNKNOWN; multiplicity is never silently collapsed.Measurement and rollback
20260819.Non-goals
OpenSpec Change Proposal:
code-review-15-signal-calibrated-blocking-gate