{"version":"2.1.331","anchor":"diff-view-stub-reports-folder-not-trusted-under-a-flag-te","canonical_anchor":"diff-view-stub-reports-folder-not-trusted-under-a-flag-te","heading":"Diff view can report that a folder is not trusted","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/diff-view-stub-reports-folder-not-trusted-under-a-flag-te","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Diff view can report that a folder is not trusted\n\nA placeholder diff source always reports itself unavailable with a 'folder not trusted' message naming CI and IS_DEMO\n\n**What**\n\nA diff view shows the changes made to files. Claude Code now has a placeholder source for it that never loads any changes. It always reports the diff as unavailable, with the reason \"folder not trusted: run claude without CI or IS_DEMO set\". CI means automated build and test systems, which normally mark themselves with a CI environment variable.\n\nThis placeholder is used only when a trust check passes. That happens when reading the folder's trust status fails, or when a set of conditions holds and the remote switch `tengu_shimmering_tulip` is on.\n\n**Why**\n\nIn folders Claude Code treats as untrusted, or in automated runs, the diff view gets a clear message instead of trying to load changes it should not read. If you see this message, running Claude Code without `CI` or `IS_DEMO` set is what it asks for.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}