fix: localize infraguard policy metadata#113
Conversation
|
Directly putting various InfraGuard Rego policies into iac-code is inappropriate, as it increases maintenance costs and can easily lead to inconsistencies between the two sides. Recommendation:
|
|
@Prodesire thanks for the clear direction. Addressed in 9f046c6: added a new bundled I also narrowed |
| eggs/ | ||
| .eggs/ | ||
| lib/ | ||
| !src/iac_code/skills/bundled/iac_aliyun/references/infraguard-policies/lib/ |
There was a problem hiding this comment.
@binxin-wbx Fixed in 64c69f5 by removing the redundant .gitignore exceptions from the branch. The PR is updated and ready for re-check.
| ] | ||
|
|
||
|
|
||
| def should_trigger(prompt: str) -> bool: |
There was a problem hiding this comment.
PAC should not be triggered in the IaC skill.
There was a problem hiding this comment.
@Prodesire Fixed in 64c69f5. I removed the PAC workflow classifier from iac-aliyun; pac-aliyun now declares supersedes: iac-aliyun, and the generic auto-trigger dispatcher filters the broader IaC match. Verified with targeted auto-trigger tests, including the mixed Rego + ROS prompt.
Summary
Tests