Regression on plan-mode
Describe the bug
Plan mode in the latest version is now blocking shell commands. I consider this a regression since may commands were used by the plan mode to help enrich the plan - for example gh cli is now blocked but this was used to read or create issues as part of the plan process, specially on private repo, where websearch command will not work. Out of the box mcp servers don't support reading issues only code search. The command also blocks removing existing plans, forcing the agent to rewrite plans, which can lead to pieces of the plan to be left behind specially in smaller models.
Affected version
GitHub Copilot CLI 1.0.72-1.
Steps to reproduce the behavior
- Create a plan mode referencing an issue in a private repo
Expected behavior
The plan will be able to read the issue to review it and plan implementation
Additional context
No response
related to #4160
I observe the same with Azure Board cli commands
I can reproduce similar behavior on Copilot CLI 1.0.73: in plan mode, a read-only shell command is blocked with:
"This shell command may modify the workspace and was blocked. Plan mode does not permit changes to the workspace."
Example I hit:
session-recall files --json --limit 10
This appears stricter than the v1.0.71 note saying plan mode blocks mutating built-in tools/shell commands while MCP/external tools are still allowed. In practice, read-only shell workflows also appear blocked.
Could you clarify the intended plan-mode contract?
- Is built-in shell intentionally blocked wholesale in plan mode, or should semantically read-only commands be allowed?
- For planning tasks that need read-only remote context (private repo reads, curl GETs, internal API lookups), what is the recommended path?
- Does
--allow-toolapply here, or is this blocked before tool-permission checks? - Would you consider a strict read-only shell allowlist (or semantics-based read-only classifier) for plan mode?
This matters for planning workflows where context must come from private/on-prem systems before implementation
@.***
On Tue, 21 Jul 2026, 9:54 pm Henry Rohlfing, @.***> wrote:
zimbeo left a comment (github/copilot-cli#4188) https://github.com/github/copilot-cli/issues/4188#issuecomment-5036152412
I can reproduce similar behavior on Copilot CLI 1.0.73: in plan mode, a read-only shell command is blocked with:
"This shell command may modify the workspace and was blocked. Plan mode does not permit changes to the workspace."
Example I hit: session-recall files --json --limit 10
This appears stricter than the v1.0.71 note saying plan mode blocks mutating built-in tools/shell commands while MCP/external tools are still allowed. In practice, read-only shell workflows also appear blocked.
Could you clarify the intended plan-mode contract?
- Is built-in shell intentionally blocked wholesale in plan mode, or should semantically read-only commands be allowed?
- For planning tasks that need read-only remote context (private repo reads, curl GETs, internal API lookups), what is the recommended path?
- Does --allow-tool apply here, or is this blocked before tool-permission checks?
- Would you consider a strict read-only shell allowlist (or semantics-based read-only classifier) for plan mode?
This matters for planning workflows where context must come from private/on-prem systems before implementation
— Reply to this email directly, view it on GitHub https://github.com/github/copilot-cli/issues/4188?email_source=notifications&email_token=B4FO3EC6YQT3NCCHIEPE5KD5F6G2RA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBTGYYTKMRUGEZKM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#issuecomment-5036152412, or unsubscribe https://github.com/notifications/unsubscribe-auth/B4FO3EENETFZNO5HLBCXNAD5F6G2RAVCNFSNUABFKJSXA33TNF2G64TZHM2TQNJYGYYDMNRUHNEXG43VMU5TIOJSGUYDAMRWGMZ2C5QC . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/B4FO3EGIYZRWNTZKVLFVFQ35F6G2RA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBTGYYTKMRUGEZKM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSVGM33PORSXEX3JN5ZQ and Android https://github.com/notifications/mobile/android/B4FO3EENSL5ACI6ZBONTSDL5F6G2RA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBTGYYTKMRUGEZKM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ. Download it today! You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hey folks, we've shipped a re-tune of what shell commands Plan mode blocks in 1.0.74, give the latest version a try and let me know if it still feels overzealous!
Hey folks, we've shipped a re-tune of what shell commands Plan mode blocks in 1.0.74, give the latest version a try and let me know if it still feels overzealous!
It fixed the issue on my side (skills using bash scripts being blocked). Thank you!
Working much better here also, thanks team!
Please let us know in case you have follow-up feedback about copilot cli being overly strict about command denial while in plan mode. I am closing this issue now.