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
{{ message }}
Repository navigation
Read a Process Substitution as One Word in the Write Guard's Commit and Merge Walks #3073
Found by the local review of the lane closing #3006, whose new merge check shares the defect with the existing commit check. It was confirmed with classify probes on constructed commands.
A Process Substitution Is Read as Words of the Command It Feeds
_region_end reads through a <(...) a command opens, so the run-time word checks walk the substitution's inner words and its closing ) as the command's own words. A process substitution that expands nothing still fails closed:
git commit -F <(cat msg.txt) is denied, naming ) as the run-time word.
gh pr merge 5 -s --body-file <(cat body.md) is denied the same way.
gh pr merge 5 -s --body-file <(git log -1 --format=%B "$SHA") is denied on $SHA, a word gh never sees.
The command reads one path, the substitution's file descriptor. Each of these is a false deny, never a false allow.
Possible Direction
Read a <(...) or >(...) in the commit and merge argument walks as one word, a path, and leave its body to the checks that read substitution bodies as commands of their own. One fix covers both sites.
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.
Activity
Read Abbreviated, Clustered, and Negated Options in the Write Guard (#…
ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.