{"version":"2.1.334","anchor":"plan-file-marking-and-exe-re-exec-prefix-added","canonical_anchor":"plan-file-marking-and-exe-re-exec-prefix-added","heading":"Plan file writes are tagged by location, and a self-restart command is built","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/plan-file-marking-and-exe-re-exec-prefix-added","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Plan file writes are tagged by location, and a self-restart command is built\n\nClaude Code now tags a write to the plan file as default-folder or in-project, and can build a command that restarts its own program\n\n**What**\n\nTwo new internal helpers appear:\n\n- Plan file tagging: a single step that writes the plan file is marked as either `in_default_directory` or `in_project`, depending on where the file lives.\n\n- Self-restart command: Claude Code can build a shell command that starts its own program again from the running process, and exits with code 126 if that fails.\n\n**Why**\n\nThese are internal pieces around plans and around how commands are started inside the sandbox, a restricted environment for running commands. Nothing here asks anything new of you.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}