[policy] feat(maintainers): add risk-based PR evidence gate#33
Merged
Conversation
Change-Id: I6fca63510c1953053a0feddd77b4bdff29c64191
Change-Id: I8a21b384a5d0a18f8069becce1464cefaa1250ae
heimanba
marked this pull request as ready for review
July 19, 2026 07:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Gate.Why
AI-assisted contributions can produce a large, plausible diff quickly. This gives maintainers a concise statement of the behavior and validation evidence before reviewing high-blast-radius changes, without requiring AI disclosure, a design document, or an Issue for routine contributions.
Behavior / risk
High-risk PRs without a non-empty
## Behavior / riskand## Validationsection now fail the aggregateGate. Low-risk paths continue to pass without those sections. The evidence check itself is included in the existing policy-surface protection.Validation
bun run verify:pushbun test scripts/pr-evidence.test.tsbun test --timeout 20000 scripts/open-source.test.tsbun run typecheck:scripts.github/workflows/ci.ymlwith Ruby YAML and rangit diff --check.