VSCode Extension: Permissions not persisting
Status Closed — not planned
Maintainer reply None cached
Activity 8 comments · opened Dec 4, 2025 · closed Feb 12, 2026
Environment
- Claude Code VSCode Extension
- macOS
Issue
Permissions saved in .claude/settings.local.json are not being respected. The extension repeatedly asks for tool permissions that have already been allowed.
Current settings.local.json
{
"permissions": {
"allow": [
"Bash(find:*)",
"mcp__enhanced-cot__chainofthought",
"mcp__MCP_DOCKER__fetch",
"mcp__MCP_DOCKER__get-library-docs"
],
"deny": [],
"ask": []
}
}
Expected behavior
Tools in the allow array should not prompt for permission.
Actual behavior
Extension prompts for permission repeatedly, same as if no settings existed.
Notes
- This worked correctly in CLI
- Global
~/.claude/settings.jsonexists and has different schema (no permissions block) - Project-level
.claude/settings.local.jsonhas permissions but they're ignored
8 Comments
Area - Claude Code, CLI, Windows, Mac OS
This is my problem too: my allow section looks like this:
WHEN I ask for commit
THEN Claude asks me for
git commitapproval.AND
THEN all the "allow" section gets wiped out (no entries at all)
THEN new entry is created with this specific command just approved
All I need to get is Claude Code working with all the tools it needs - the environment is controlled, it can REALLY do whatever it needs, I want it to get all approvals once for good and forget this topic.
I'm experiencing this too, but in cli with the sandbox enabled. Here's what the agent an I worked out together:
Tested on: Claude Code CLI version 2.0.58
Discovery
Project-level
.claude/settings.jsonor.claude/settings.local.jsonthat contain ANYsandboxsection will completely override (not mergewith) all user-level sandbox settings from
~/.claude/settings.json.### What This Means
If you have:
~/.claude/settings.json) withsandbox.filesystem.write.allowOnlypaths.claude/settings.local.json) with ANYsandboxconfigurationResult: All user-level sandbox paths are completely ignored. The settings are not additive - project settings replace user settings entirely.
### Why This Matters
This creates a confusing situation where:
sandboxsection (even just"sandbox": { "enabled": true })### Expected Behavior
Settings should be additive/merged:
### Actual Behavior
Settings are replaced:
sandboxsection, it completely replaces usersandboxsectionThis issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
Since a bug can't solve itself, I assume this is still occurring.
Since it is annoying to have this bug, I don't use the extension.
Yup still happening. Related to #15772
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.