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 hook now refuses destructive commands and redirections whose target it cannot resolve, such as a path after a cd it cannot follow, an unknown user's home directory, or a whole $TMPDIR, $HOME or $PWD directory. Paths inside those directories stay allowed in standalone commands. Run cratis ai update to pick up the updated hook.
The guard no longer refuses find commands that only mention -delete as a quoted search pattern.