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
0.11.6 in conflict with config instructions (too restrictive on valid directories inside .config/opencode) #2794
The recommended approach is to use the instructions field in opencode.json:
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"instructions": ["docs/development-standards.md", "test/testing-guidelines.md", "packages/*/AGENTS.md"]
}
Since last update:
Error: Config file at /home//.config/opencode is invalid: Unexpected directory "rules" found in "/home//.config/opencode". Only agent, command, mode, plugin, tool directories are allowed.
The core issue appears to be version 0.11.6 introducing overly restrictive directory validation in ~/.config/opencode that breaks existing valid configurations.
Feel free to ignore if none of these address your specific case.
I have a lot of custom folder in my opencode directory and this error just broke my opencode, I can't open it anymore and have to rework the whole infrastructure. No BC and just a restrictive update is harsh.
Activity
github-actions commentedon Sep 26, 2025
This issue might be a duplicate of existing issues. Please check:
The core issue appears to be version 0.11.6 introducing overly restrictive directory validation in ~/.config/opencode that breaks existing valid configurations.
Feel free to ignore if none of these address your specific case.
OpeOginni commentedon Sep 26, 2025
@jflaflamme Could you share parts of your config?
vasilvestre commentedon Sep 26, 2025
I have a lot of custom folder in my opencode directory and this error just broke my opencode, I can't open it anymore and have to rework the whole infrastructure. No BC and just a restrictive update is harsh.
arsham commentedon Sep 26, 2025
The last release fixes it.
rekram1-node commentedon Sep 26, 2025
This should be fixed