Skip to content

fix: reorder vars in semicolons example to match auto-approve pattern#33

Merged
josephfung merged 1 commit into
mainfrom
fix/claude-md-var-order
May 16, 2026
Merged

fix: reorder vars in semicolons example to match auto-approve pattern#33
josephfung merged 1 commit into
mainfrom
fix/claude-md-var-order

Conversation

@josephfung
Copy link
Copy Markdown
Owner

Summary

  • Reorders MAIN= before WORKTREE= in the semicolons example so the command matches the Bash(MAIN=:*) auto-approve permission rule documented in the global CLAUDE.md.

Test plan

  • Verify the example in settings/claude-md.md line 118 now has MAIN= first
  • Confirm the rendered CLAUDE.md injection still passes linting/validation

MAIN= must come first so the command matches the Bash(MAIN=:*) permission
rule documented in the global CLAUDE.md.
@josephfung josephfung merged commit 49a5c4c into main May 16, 2026
2 checks passed
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