{"version":"2.1.323","anchor":"plansdirectory-containment-enforced-with-realpath-link-and","canonical_anchor":"plansdirectory-containment-enforced-with-realpath-link-and","heading":"Plans are not saved when plansDirectory leads outside the project","tier":"notice","area":"Plan Mode","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/plansdirectory-containment-enforced-with-realpath-link-and","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Plans are not saved when plansDirectory leads outside the project\n\nClaude Code now checks that the plansDirectory folder and plan file are really inside your project and refuses links out of it\n\n**Unclear.** Whether this check is active by default is not stated.\n\n**What**\n\nBefore saving a plan, Claude Code now confirms that the `plansDirectory` folder and the plan file are really inside your project. It refuses these cases and does not save the plan:\n\n- the folder or file is a link pointing outside the project\n\n- the plan file is a hard link, a file shared with another location\n\nThe message reads \"Could not confirm the plansDirectory folder and plan file are inside this project, so the plan was not saved.\" Before, Claude Code simply created the folder and wrote the file. The check sits behind a server-side switch.\n\n**Why**\n\nIf your `plansDirectory` is a link to another place, saving plans will fail. Point the setting at a real folder inside the project.\n\n- Area: Plan Mode\n- Names: `plansDirectory`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}