Skip to content

fix: replace deprecated :* Bash tool pattern syntax with space wildcard#948

Open
tomoish wants to merge 1 commit intoanthropics:mainfrom
tomoish:fix/deprecated-colon-allowedtools-syntax
Open

fix: replace deprecated :* Bash tool pattern syntax with space wildcard#948
tomoish wants to merge 1 commit intoanthropics:mainfrom
tomoish:fix/deprecated-colon-allowedtools-syntax

Conversation

@tomoish
Copy link
Contributor

@tomoish tomoish commented Feb 15, 2026

Summary

Context

The official Claude Code permissions documentation states:

The legacy :* suffix syntax is equivalent to * but is deprecated.

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

Location Files Description
docs/ solutions.md, faq.md Updated all Bash(cmd:*) examples
base-action/ README.md Updated ~17 occurrences of Bash(git:*)
examples/ 5 workflow files Updated example workflows
.github/workflows/ claude.yml, test-settings.yml Updated CI workflows
.claude/commands/ label-issue.md, review-pr.md Updated skill command frontmatter
base-action/test/ parse-sdk-options.test.ts Updated test fixtures

…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>
@tomoish tomoish marked this pull request as ready for review February 15, 2026 11:01
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