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] /add-dir replaces additionalDirectories instead of appending #14097
I have searched existing issues and this hasn't been reported yet
This is a single bug report (please file separate reports for different bugs)
I am using the latest version of Claude Code
What's Wrong?
When using multiple /add-dir commands in a session, only the last directory is persisted to settings.local.json. The command replaces the additionalDirectories array rather than appending to it.
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.
Activity
github-actions commentedon Dec 16, 2025
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
mousio commentedon Dec 16, 2025
Hawkeye! This appears to be the same root cause as #5710 - arrays in
settings.local.jsonare replaced instead of merged/appended.permissions.allowpermissions.allowpermissions.allow/deny/askadditionalDirectories/add-dircommandClosing as duplicate.
github-actions commentedon Dec 23, 2025
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.