[BUG] The current trust dialog lacks a convenient "Yes and don't ask again" option, forcing users to manually edit JSON files for each new project they want to trust permanently.

Resolved 💬 5 comments Opened Aug 23, 2025 by nnmlss Closed Jan 7, 2026

Environment

  • Platform: Claude Code CLI on Code OSS
  • Claude CLI version: 1.0.89 (Claude Code)
  • Operating System: Manjaro
  • Terminal: Konsole

Bug Description

The current trust dialog lacks a convenient "Yes and don't ask
again for this directory" option, forcing users to manually edit JSON files for each
new project they want to trust permanently.

Steps to Reproduce

  1. Navigate to a new project directory not in trusted_directories
  2. Start Claude Code session
  3. See trust dialog with only "Yes, proceed" and "No, exit"

options

  1. Select "Yes, proceed"
  2. Exit and restart Claude Code in same directory
  3. Trust dialog appears again

Expected Behavior

To have an option "Yes and don't ask again for this directory"
which adds the current directory to the "trusted_directories"
array in ~/.claude/settings.json automatically.

Actual Behavior

I need to confirm on every claude code start or I must manually edit ~/.claude/settings.json to add each
project directory to prevent repeated trust prompts.

## Impact
Poor UX for developers working on multiple projects - requires manual JSON editing for each new projec

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗