Skip to content

Workspace trust prompt appears repeatedly - settings not persisting #21283

@kornface13

Description

@kornface13

Description

The workspace trust prompt ("Quick safety check: Is this a project you created or one you trust?") appears repeatedly for the same workspace directory, even after selecting "Yes, I trust this folder". The trust setting is not being saved/persisted.

Steps to Reproduce

  1. Open workspace /Users/tkorn in Claude Code
  2. See workspace trust prompt
  3. Select "Yes, I trust this folder"
  4. Close and reopen Claude Code
  5. Workspace trust prompt appears again

Expected Behavior

After selecting "Yes, I trust this folder" once, the choice should be saved and the prompt should not appear again for the same workspace.

Actual Behavior

The prompt appears every time the workspace is opened, sometimes multiple times within the same hour (reported 5+ times in one hour).

Environment

  • OS: macOS (Darwin 25.2.0)
  • Claude Code version: (current version as of 2026-01-27)
  • Workspace path: /Users/tkorn
  • Additional context: User has also configured additionalDirectories setting to include /Users/tkorn

Additional Notes

  • User has confirmed selecting "Yes" multiple times
  • No error messages visible to user
  • Unclear if trust settings file is failing to write or being cleared
  • Possible permissions issue with ~/.claude/ directory or workspace trust storage

Impact

This requires the user to repeatedly confirm trust for the same workspace, creating significant friction and disrupting workflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions