mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 04:18:05 +00:00
Root cause: Claude's allowedTools pattern matching is literal string matching. Multiline content in --body breaks the `Bash(gh pr comment *)` pattern. The Bash(cat *) pattern only matches reading, not writing with redirection. Changes: - Add Write tool to allowedTools (enables temp file creation) - Remove Bash(cat *) (not needed, Write replaces it) - Update prompt to require Write + --body-file pattern - Explicitly warn against inline --body with multiline content Tested locally: Successfully posted comment using Write + --body-file