{"version":"2.1.323","anchor":"new-hidden-flag-to-ignore-persisted-workspace-trust","canonical_anchor":"new-hidden-flag-to-ignore-persisted-workspace-trust","heading":"Hidden --ignore-persisted-trust flag lets an editor ignore saved folder trust","tier":"use","area":"Workspace Trust","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/new-hidden-flag-to-ignore-persisted-workspace-trust","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Hidden `--ignore-persisted-trust` flag lets an editor ignore saved folder trust\n\nA hidden `--ignore-persisted-trust` flag makes one run of Claude Code ignore any saved workspace trust; it is meant to be passed by an IDE\n\n**What**\n\nClaude Code asks whether you trust a folder before working in it and saves the answer as a workspace trust record. A hidden command-line flag, `--ignore-persisted-trust`, now tells a single run of Claude Code to honour no saved trust record. Hidden means it does not appear in help.\n\nThe flag works by setting the environment variable `CLAUDE_CODE_IGNORE_PERSISTED_TRUST` to 1 for that process. It is meant to be passed by an IDE, a code editor that runs Claude Code inside it, when it opens a folder nobody has trusted.\n\n**Why**\n\nIt stops an earlier trust decision from carrying over to a folder you never agreed to trust when Claude Code is started from an editor.\n\n- Area: Workspace Trust\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}