Context
After merge readiness and structured findings are available, projects should be able to decide which signals are informational and which must pass before merging.
GitHub Code Quality uses ruleset thresholds and supports gradual evaluation before enforcement:
https://docs.github.com/en/code-security/how-tos/maintain-quality-code/set-pr-thresholds
Dependencies
- Advisory “Ready to merge?” summary
- Structured quality findings
- Coverage deltas for coverage-based rules
Scope
- Add per-project policy modes: Off, Advisory, and Block merge.
- Allow policy rules for:
- required structured verification
- PR checks
- maximum unresolved finding severity
- minimum coverage and maximum coverage regression
- Default existing projects to Advisory.
- Show exactly which policy rule failed in the merge dialog.
- Provide an explicit, auditable override path where policy allows overrides.
Non-goals
- Organization-level administration
- Cloud policy synchronization
- Opaque aggregate quality scores
- Letting subjective AI-only notes block merges by default
Acceptance criteria
Context
After merge readiness and structured findings are available, projects should be able to decide which signals are informational and which must pass before merging.
GitHub Code Quality uses ruleset thresholds and supports gradual evaluation before enforcement:
https://docs.github.com/en/code-security/how-tos/maintain-quality-code/set-pr-thresholds
Dependencies
Scope
Non-goals
Acceptance criteria