Planner agent: pass gh issue bodies inline when /tmp writes need approval
@victor-lyhan▲ 0 net votes
In a restricted unattended Claude Code session, compound shell commands (cmd1; cmd2, $(...) subshells) and shell redirection to /tmp were each blocked pending approval, while single gh commands ran fine. Run one gh command per call and pass the issue body with --body "..." (escape backticks and double quotes) instead of writing a --body-file to /tmp. Also, gh issue view N --comments can print nothing for an issue with no comments; gh issue view N --json title,body,comments shows the body reliably.