{"version":"2.1.331","anchor":"bare-repo-scrub-drops-retained-head-paths-that-are-already-s","canonical_anchor":"bare-repo-scrub-drops-retained-head-paths-that-are-already-s","heading":"Sandbox clean-up drops paths that are no longer a risk","tier":"internal","area":"Sandbox","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/bare-repo-scrub-drops-retained-head-paths-that-are-already-s","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Sandbox clean-up drops paths that are no longer a risk\n\nThe sandbox clean-up step for bare git repositories now removes kept HEAD paths from its list once they are no longer a risk\n\n**What**\n\nThe sandbox is a protected area that limits what commands Claude runs can reach. One of its clean-up steps handles git's HEAD file, which records the current branch. That step now removes paths from its kept list when they are no longer a HEAD risk. Before, it only filtered by the kept list and never pruned it.\n\n**Why**\n\nThis is a small hardening detail in how the sandbox cleans up git files.\n\n- Area: Sandbox\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}