{"version":"2.1.283","anchor":"environment-attachment-now-reports-the-working-directory-dis","canonical_anchor":"environment-attachment-now-reports-the-working-directory-dis","heading":"Claude is told when its working directory disappears or comes back","tier":"notice","area":"Sessions","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283\/e\/environment-attachment-now-reports-the-working-directory-dis","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283","markdown":"### Claude is told when its working directory disappears or comes back\n\nIf the main working folder is deleted or reappears mid-session, Claude Code now tells the model the earlier folder no longer applies\n\n**Unclear.** One further condition decides whether the check runs, and what it is was not resolved.\n\n**What**\n\nOn each turn Claude Code attaches a short note about the environment, including the primary working directory (the folder the session works in). It now notices when that folder stops existing or starts existing again. When it does, it tells the model \"The primary working directory announced earlier no longer applies.\" and logs the change.\n\nThe environment summary rebuilt after compaction (when a long conversation is shortened to save space) now comes from the same logic. The check is skipped for bare forks of the conversation and for isolated contexts.\n\n**Why**\n\nThe model stops acting as though it can still work in a folder that has been deleted out from under it.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}