Skip to content

fix: avoid positional substitution in clean_gone#58655

Open
yudin-s wants to merge 1 commit into
anthropics:mainfrom
yudin-s:fix/clean-gone-dollar-substitution
Open

fix: avoid positional substitution in clean_gone#58655
yudin-s wants to merge 1 commit into
anthropics:mainfrom
yudin-s:fix/clean-gone-dollar-substitution

Conversation

@yudin-s
Copy link
Copy Markdown

@yudin-s yudin-s commented May 13, 2026

Summary

  • Replace awk '{print $1}' snippets in /clean_gone with sed field extraction
  • Avoid Claude Code command positional substitution stripping literal $1 and breaking branch/worktree parsing

Fixes #52226.

Test plan

  • rg -n "awk '\{print $1\}'|$1" plugins/commit-commands/commands/clean_gone.md
  • git diff --check

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.

Skills: no escape syntax for literal $<digit> in command bodies

1 participant