{"version":"2.1.283","anchor":"sessions-with-no-project-directory-get-their-own-config-and","canonical_anchor":"sessions-with-no-project-directory-get-their-own-config-and","heading":"Sessions with no project directory are never trusted and get their own settings handling","tier":"notice","area":"Sessions","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283\/e\/sessions-with-no-project-directory-get-their-own-config-and","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283","markdown":"### Sessions with no project directory are never trusted and get their own settings handling\n\nSessions without a project directory now never count as trusted, skip project config lookups, and get a clearer untrusted-workspace warning\n\n**Unclear.** What puts a session into the no-project state is not known.\n\n**What**\n\nClaude Code can now recognise a session that has no project: no starting directory and no project path. In such a session:\n\n- Workspace trust, the approval that lets a folder's hooks and settings run, is always refused. There is one exception, for a particular context-store case.\n\n- The warning about ignored settings no longer tells you to run Claude Code interactively and accept the trust dialog. It says instead that a session with no working directory is never trusted.\n\n- Project config reads, including the one that normalises `allowedTools`, return defaults or nothing instead of looking up an entry in the global config under a project path.\n\n- The cached project path for config is not reused.\n\n- The check for whether the project is tracked returns true straight away.\n\n- Settings-source selection returns both project and local settings without doing any git-tracking work.\n\n**Why**\n\nThis changes whether project-level features such as hooks and settings load when Claude Code runs outside a project. Such sessions no longer read or write a project entry stored under an arbitrary path, and are no longer pointed at a trust fix that cannot work for them.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 4\/5"}