Skip to content

fix(policy): nest request-URL constraints inside the ast-grep rule - #64

Merged
TheGreatAxios merged 1 commit into
mainfrom
fix/triage-constraints-under-rule
Nov 1, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
fix/triage-constraints-under-rule

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

checkPolicyFile rejected .corbits-triage.yml at Line 120 (rules[10].patterns[0].constraints must be removed) and Line 141 (rules[10].patterns[1].constraints must be removed). Both no-request-url-in-logs patterns now keep constraints inside rule, as a sibling of any.

checkPolicyFile refused rules[10] because constraints sat beside rule instead of inside it.
@TheGreatAxios
TheGreatAxios merged commit 0a958cc into main Nov 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant