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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
The shell write guard allows a few more read-only inspection forms that reference protected files: git -C <dir> with exactly status --short, rev-parse HEAD, branch --show-current or tag --list <pattern>, git diff --numstat, and rg -n. Run cratis ai update to pick up the hook change (part of #1024)
Security
The write guard classifies glob patterns in file references more conservatively, so a bracket or brace pattern that could expand to a protected file is refused. A reference it cannot classify safely is refused rather than allowed. Run cratis ai update to pick up the hook change (#1038)