[Bug] Permission matcher fails to parse multiline bash commands with markdown formatting
Resolved 💬 3 comments Opened Mar 4, 2026 by sporkmonger Closed Mar 8, 2026
Bug Description
Claude will write permissions to the settings file that it cannot consume:
{
"permissions": {
"allow": [
"Bash(/tmp/test-report.md << 'EOF'\n# Bug Report\n\nThis report has **markdown bold** list formatting and may be misinterpreted by the permission matcher.\n\n## Details\n\n- **Item one:** first\n- **Item two:** second\n- **Item three:** third\n\nEOF)"
],
"deny": []
}
}
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.39
- Feedback ID: 453eb762-5170-4a3e-b6ff-5807e1a1510b
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗