Skip to main content

Progressive Enforcement

Adopt policy gating in safe phases to build confidence before blocking. Change categories referenced (new, changed, removed, existing) follow the canonical semantics in Diff-Based Analysis.

Phase Table

PhaseRule ActionsPurpose
1infoObserve & tune noise
2warnSignal risk; non-blocking
3block (critical), warn (others)Prevent high-impact regressions
4block (critical+high)Tighten gate as backlog shrinks
5block (severity thresholds per domain)Mature steady-state

Recommendations

  • Start with a single high-signal vulnerability rule (e.g., CRITICAL new only)
  • Add license / package policies once initial noise is characterized
  • Promote to block only after two+ weeks of stable signal

Rollback Guidance

If false positives spike, demote affected rule to warn while triaging root cause.

Communication

Document enforcement phase in PR comment or README so developers know expectations.

See also: Glossary, Policy System, Combining & Grouping.