You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Plan mode allows creating GitHub issues via gh CLI #34390
While in Plan Mode (read-only), it is possible to create GitHub issues using gh issue create and make API calls via gh api/curl. This violates the constraint that Plan Mode should be read-only.
This issue might be a duplicate of existing issues. Please check:
Agent bypassed Plan mode restrictions and posting a GitHub issue comment via gh #34190: Nearly identical report — agent bypassed Plan mode restrictions and posted a GitHub issue comment via gh CLI. Same root cause (bash tool unrestricted in plan mode, only prompt-level enforcement), same symptom (gh issue comment/gh issue create succeeding in plan mode).
Addressed in the ranex fork (plan-mode-bash-guard, commit de1e2e5618) — see comment on #34190: Plan mode now denies/ prompts on mutating gh/git/curl commands and built-in GitHub writes. Closes the gh issue create/gh api bypass.
Closing as a duplicate of #34190, which tracks Plan mode letting the agent run mutating gh commands (comments, issues, API calls). Please follow and 👍 there.
Activity
github-actions commentedon Jun 29, 2026
This issue might be a duplicate of existing issues. Please check:
ghCLI. Same root cause (bash tool unrestricted in plan mode, only prompt-level enforcement), same symptom (gh issue comment/gh issue createsucceeding in plan mode).If your issue is specifically about
ghCLI / remote API calls (not local file writes), #34190 is the closest match.TonyGarces commentedon Aug 13, 2026
Addressed in the
ranexfork (plan-mode-bash-guard, commitde1e2e5618) — see comment on #34190: Plan mode now denies/ prompts on mutating gh/git/curlcommands and built-in GitHub writes. Closes thegh issue create/gh apibypass.neriousy commentedon Oct 1, 2026
Closing as a duplicate of #34190, which tracks Plan mode letting the agent run mutating
ghcommands (comments, issues, API calls). Please follow and 👍 there.