You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #139 review finding [1]: apply_patch is handled in tool.execute.after (increments edit counters, resets review_state) but is not handled in tool.execute.before. This means:
Secret file deny checks (deny()) don't fire for apply_patch
Config file protection (cfg patterns) is bypassed
Version baseline regression check is bypassed
Context budget gate is bypassed
Fix
Add apply_patch to the tool.execute.before handler alongside edit/write:
guardrail.ts:601 — add || item.tool === "apply_patch" to deny check
Activity
fix(guardrails): address 8 foundation bugs from PR #90 and Issues #140/…