mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-23 16:41:35 +01:00
The destructive-command check now catches force pushes to main hidden behind abbreviated or misplaced dry-run flags, and asks before deletes that reach a system folder through a `cd` (including `cd ../../etc`) or a device node under /dev. Quoting no longer changes its decision: a quoted build-folder delete or a quoted `gh` title or body gets the same answer as its unquoted spelling, which was already allowed. Fixes #4628, fixes #4601. Nothing to do; no command that main asks about or blocks becomes allowed except those same-command spellings. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Co-authored-by: TayTaySwizzle <45181777+TayTaySwizzle@users.noreply.github.com> Review-Finding: p1/red-team#1 reader=red-team