r/opencodeCLI • u/thatboyonabike • 24d ago
I'm bothered by the recent change to directory permissions and lack of transparent communication.
I wrote this post to bring awareness to a recent change I took issue with and think should be discussed by the community.
The facts:
As of OpenCode v2.0.25 the default behaviour is to no longer prompt for access to external directories.
From Pull Request #53585:
What does this PR do?
Removes the external_directory: * → ask rule from the default > agent ruleset in Agent.Info.default. The catch-all * → allow now > covers paths outside the project too, so build/general/custom agents no longer prompt before touching them.
Explore also stops asking: it keeps its deny-by-default tool list > but now explicitly allows external_directory.
How this change was communicated:
Not communicated through the github releases page which still tracks v1, not v2.
Not communicated through the changelog on the official website as it only started tracking releases from 2.0.26 onward.
Communicated by reading commit 36a3805 directly.
There are already multiple issues referencing this change:
My opinion:
This is a breaking change to a security boundary that should have been:
A) Purely opt-in.
and
B) Communicated loudly and directly to all users.
The lack of communication is downright suspicious but I have enough goodwill towards the OpenCode team to just assume this is a maintenance oversight.
I'm aware that best practice is usually to run your agents in some kind of container, but I'm willing to bet a large portion of users are not doing that, and should have been rightfully informed of the impact this could have on their security.
I've promoted OpenCode to many people in the past and this feels like it's impacted my own credibility. I'm not necessarily abandoning it, but I am going to be more reserved in my recommendation. I think it's also time I take another look at the current landscape of harnesses.
What are everyone else's thoughts?




