Repository navigation
feat(rules): add sensitive-paths and risk-level rules - #648
Merged
TheGreatAxios merged 1 commit intoOct 26, 2026
Merged
TheGreatAxios merged 1 commit into
TheGreatAxios merged 1 commit into
Conversation
TheGreatAxios
force-pushed
the
cl-11537-add-sensitive-paths-and-risk-level-rules-with-defaults-a
branch
2 times, most recently
from
October 26, 2026 22:22
453f487 to
6bdba24
Compare
TheGreatAxios
force-pushed
the
cl-11537-add-sensitive-paths-and-risk-level-rules-with-defaults-a
branch
from
October 26, 2026 22:38
6bdba24 to
3cc22e3
Compare
TheGreatAxios
marked this pull request as ready for review
October 26, 2026 22:39
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.
Closes CL-11537
What changed
sensitive: mediumand a note. The finding names the group and up to five files.docs/orexamples/, and tests includee2e/,cypress/and snapshot folders. A high sensitive group makes it high on its own, unless the sensitive paths rule is on, in which case that rule asks about it once. By default it asks a maintainer at high and adds the labelrisk: mediumat medium. The comment reads, for example, "Risk: high (schema paths, 42 files, no tests)". A policy can change what counts as medium or high, and at which level each rule fails or labels.sensitive: medium|high,risk: medium|high) and takes the old one off when the level changes or drops to low. A rule set to only label addsrisk: highorsensitive: high..corbits-triage.ymlturns them on in a follow-up after this is deployed, because the hub running today refuses a policy naming rules it does not know.riskorsensitive-paths; the policy check names the rule that does.onFaildefaults. Setup skill reference and ARCHITECTURE updated.Verified
bun run checkandbun run lintpass; the policy check againstorigin/mainpasses 7 of 7.policy-file.postgres.test.ts,bridge.test.tsandpolicy-read.test.tsagainst local Postgres: 57 pass. Portal, triage-manager and triage-judge tests: 337 pass; portal DOM tests: 7 pass. All run with the machine's load under 20.