diff options
| author | Drew Ritter <drew@primeradiant.com> | 2026-04-13 12:43:38 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@primeradiant.com> | 2026-04-13 16:31:11 -0700 |
| commit | b8d9f06cfb0eb5e43944b7fe1310d5add238754c (patch) | |
| tree | 8e3e2d73a7b5a26afb0c04b74ac38d53dc069e87 /docs | |
| parent | 884b1a5960f435e670d0a3f1f5246e4a8fd54b24 (diff) | |
fix: close sibling-worktree loophole in already-inside pathfix-sibling-worktree-loophole
Drill scenario worktree-already-inside-spec-aware revealed a latent
skill loophole: agents detecting existing isolation would correctly
refuse to nest a worktree, but then offer options — including exiting
to the main repo and creating a sibling worktree from there — and
execute the sibling option when the actor accepted.
The prior wording "Do NOT create another worktree" got read as
"don't NEST another worktree," leaving sibling creation as an
apparently-legal workaround that satisfied the agent's interpretation
of the directive while violating the skill's actual intent (use the
current workspace, period).
Fix: tighten the already-inside block to be explicit:
- Current workspace is the working environment, use it
- No alternatives, no creation — not nested, not sibling, not anywhere
- If the user genuinely needs different isolation for unrelated work,
they have to exit the current workspace themselves
Validation pending via drill reruns of worktree-already-inside and
worktree-already-inside-spec-aware on this branch state.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
