Skip to content

Conversation

@jaypaulb
Copy link

Summary

This PR updates all permission patterns in settings.json and settings.jsonc to be compatible with Claude Code v4's new settings schema.

Changes

  • Converted 1,006+ permission patterns from old format to new Claude Code v4 format

    • Old format: Bash(command *) or Bash(command*)
    • New format: Bash(command:*) (using :* for prefix matching)
  • Updated files:

    • settings.json - 893 allow rules, 149 deny rules
    • settings.jsonc - Same rules with documentation comments

Why This Matters

The current Claude Code settings schema (used in latest versions) requires the :* suffix for prefix matching instead of just *. The old format in this repository causes validation errors when users try to use these settings. This conversion makes the settings compatible with the current Claude Code version.

Testing

  • JSON validation: All files parse correctly
  • Permission count verification: 893 allow + 149 deny = 1,042 total rules
  • Format verification: All patterns follow the new Tool(args:*) format

Example Conversions

Old Format New Format
Bash(docker ps *) Bash(docker ps:*)
Bash(npm run *) Bash(npm run:*)
Bash(git commit *) Bash(git commit:*)
Bash(curl *) Bash(curl:*)

This update ensures the repository's settings work seamlessly with current Claude Code installations.

dwillitzer and others added 3 commits June 1, 2025 12:46
- Create organized directory structure (config/, docs/, scripts/, src/)
- Move configuration files to config/
- Move documentation to docs/
- Move scripts to scripts/
- Move wrappers to src/wrappers/
- Add tools directory for future development
- Update .gitignore for development files
- Update README.md with new structure documentation
- Add dedicated Claude tools section
- Implement new tool patterns
- Enhance security with deny patterns
- Improve documentation and structure
Convert all permission patterns from old format (e.g., "Bash(command *)") to
new Claude Code v4 compatible format (e.g., "Bash(command:*)").

- Updated 1,006+ allow and deny list patterns
- Ensures compatibility with latest Claude Code settings schema
- All 893 allow rules and 149 deny rules converted
- Tested and validated JSON structure

This addresses the incompatibility between the settings-up feature branch
and the current Claude Code settings validation schema.
@jameshowison
Copy link

Seems worth merging this :)

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.

3 participants