fix: replace deprecated :* Bash tool pattern syntax with space wildcard#948
Open
tomoish wants to merge 1 commit intoanthropics:mainfrom
Open
fix: replace deprecated :* Bash tool pattern syntax with space wildcard#948tomoish wants to merge 1 commit intoanthropics:mainfrom
:* Bash tool pattern syntax with space wildcard#948tomoish wants to merge 1 commit intoanthropics:mainfrom
Conversation
…examples, and tests The `:*` suffix syntax for Bash tool patterns is deprecated per the official Claude Code documentation. The current recommended syntax uses a space before the wildcard: `Bash(cmd *)`. The core runtime code in src/ was already updated (via anthropics#856), but documentation, examples, workflows, skill commands, and tests still used the legacy syntax. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bash(cmd:*)patterns with the currentBash(cmd *)syntax across docs, examples, workflows, skill commands, and testssrc/was already fixed in Bug: Default git permissions use deprecated :* syntax causing SDK errors #856, but these peripheral files were missedContext
The official Claude Code permissions documentation states:
This repository still contained ~40 occurrences of the deprecated
:*syntax in documentation, examples, workflow files, skill commands, and test fixtures — which can mislead users into adopting a pattern that may stop working in the future.Changes
docs/solutions.md,faq.mdBash(cmd:*)examplesbase-action/README.mdBash(git:*)examples/.github/workflows/claude.yml,test-settings.yml.claude/commands/label-issue.md,review-pr.mdbase-action/test/parse-sdk-options.test.ts