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
Blank Quotations After a Heredoc Label on Its Opening Line in Paste-Safe #4383
In prose_lint.py, shell_literals keeps the rest of a heredoc's opening line, after the label, as code. It does not blank the quotations on that part of the line. So paste-safe reports a placeholder that is already quoted when it sits after a heredoc on the same line.
Here is a constructed shell fence that paste-safe reports on develop:
cat <<'END' | tee "<file>"bodyEND
The report reads "placeholder '' unquoted in a copy-and-run command". The placeholder is double-quoted, so the shell receives it as a literal, and no edit the message suggests clears the report.
Done when
shell_literals reads the rest of a heredoc's opening line the way the lexer reads any other code, with its quotations blanked. The constructed case above passes, and its twin with the placeholder unquoted still reports.
Found by a local review pass on #4382, which reads a second shell on that same part of the line.
Released (2026-11-24): PR #4390 merged to develop at 6cb4990; branch and worktree cleaned up, so this claim holds no files. The issue closes on promotion.
Backlog burndown claim (away run 2026-11-24, round 1, group 4): branch burndown/paste-safe-heredoc-quotes, issue #4383.
Activity
Check Placeholders Inside a String Handed to a Second Shell in Paste-…
ptr727 commentedon Nov 24, 2026
Released (2026-11-24): PR #4390 merged to develop at 6cb4990; branch and worktree cleaned up, so this claim holds no files. The issue closes on promotion.
Backlog burndown claim (away run 2026-11-24, round 1, group 4): branch
burndown/paste-safe-heredoc-quotes, issue #4383.Predicted files:
.github/actions/prose-gate/prose_lint.py,shell_literals.tests/test_prose_lint.py.Any other group needing one of these files waits for this branch to merge.
Blank Quotations After a Heredoc Label on Its Opening Line in Paste-S…