Skip to content

diff -o sh: a widening is a comment, so | sh never widens - #17

Merged
ppietikainen merged 1 commit into
mainfrom
diff-sh-widenings-commented
Nov 20, 2026
Merged

ppietikainen merged 1 commit into
mainfrom
diff-sh-widenings-commented

Conversation

@ppietikainen

Copy link
Copy Markdown
Member

diff -o sh: a widening is a comment, so | sh never widens

Without --flows, a widened change was emitted as a runnable line with
only a trailing # widened tag. grep narrowed | sh skipped it, but
| sh or firru mass on the whole script applied it: on the LSPR24
example, dc1's r1 to r4 script opened AD Web Services to the DMZ's green
team, 552 flows on d2. Every other line that must not run by accident
(a change the traffic contradicts, a terminal swap, a scored removal)
was already a comment; a widening now is too, tagged # widened REVIEW. The block-early pipeline needs no second grep for it, and
firru mass's docstring drops the example that worked around it.

🤖 Generated with Claude Code

Without --flows, a widened change was emitted as a runnable line with
only a trailing `# widened` tag. `grep narrowed | sh` skipped it, but
`| sh` or `firru mass` on the whole script applied it: on the LSPR24
example, dc1's r1 to r4 script opened AD Web Services to the DMZ's green
team, 552 flows on d2. Every other line that must not run by accident
(a change the traffic contradicts, a terminal swap, a scored removal)
was already a comment; a widening now is too, tagged `# widened
REVIEW`. The block-early pipeline needs no second grep for it, and
firru mass's docstring drops the example that worked around it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ppietikainen
ppietikainen merged commit cdd9749 into main Nov 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant