Skip to content

feat: add gate support for policy groups#2924

Merged
matiasinsaurralde merged 6 commits intochainloop-dev:mainfrom
vvaswani:2773-gates-policy-groups
Mar 24, 2026
Merged

feat: add gate support for policy groups#2924
matiasinsaurralde merged 6 commits intochainloop-dev:mainfrom
vvaswani:2773-gates-policy-groups

Conversation

@vvaswani
Copy link
Contributor

Fixes #2773

Signed-off-by: Vikram Vaswani <2571660+vvaswani@users.noreply.github.com>
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 7 files


Since this is your first cubic review, here's how it works:

  • cubic automatically reviews your code and comments on bugs and improvements
  • Teach cubic by replying to its comments. cubic learns from your replies and gets better over time
  • Add one-off context when rerunning by tagging @cubic-dev-ai with guidance or docs links (including llms.txt)
  • Ask questions if you need clarification on any suggestion

Signed-off-by: Vikram Vaswani <2571660+vvaswani@users.noreply.github.com>
Signed-off-by: Vikram Vaswani <2571660+vvaswani@users.noreply.github.com>
Signed-off-by: Matías Insaurralde <matias@chainloop.dev>
Signed-off-by: Matías Insaurralde <matias@chainloop.dev>
The function overrides the policy gate with the group-level gate rather
than inheriting a default, so applyGroupGate better reflects the actual
behavior.

Signed-off-by: Matías Insaurralde <matias@chainloop.dev>
Copy link
Contributor

@matiasinsaurralde matiasinsaurralde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some minor things - Looks good, thanks!

@matiasinsaurralde matiasinsaurralde merged commit 41aadb4 into chainloop-dev:main Mar 24, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(policies): add gate support for policy groups

2 participants