<feed xmlns='http://www.w3.org/2005/Atom'>
<title>superpowers.git/skills/using-git-worktrees, branch fix/wave1-executor-helpers</title>
<subtitle>Agentic skills framework and development workflow
</subtitle>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/'/>
<entry>
<title>fix(using-git-worktrees): stop the ignore check when LOCATION is unset</title>
<updated>2026-11-26T10:19:43+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T10:19:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=5ec179ac6738948d8c1093648fb61171b0bc50fc'/>
<id>5ec179ac6738948d8c1093648fb61171b0bc50fc</id>
<content type='text'>
Nothing in the skill's prose sets LOCATION, and a shell variable set in
one tool call is gone in the next. Run as written, the Safety
Verification check became `git check-ignore -q "/"`, which exits 128 with
git's "outside repository" message in every layout, including one where
`.worktrees/` is ignored. An agent can read that non-zero exit as "not
ignored", add a duplicate .gitignore entry and commit it. The fence now
starts with a `${LOCATION:?}` guard, so the check stops with a message
that says to set LOCATION to the directory selected above.

The mechanics test gains ignore_check_needs_location: it runs the fence
with LOCATION unset in a repository whose `.worktrees/` is ignored and
expects a non-zero exit with that message. Against the one-line fence it
fails with exit 128 and git's message. The two existing ignore-check
cases still pass.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Nothing in the skill's prose sets LOCATION, and a shell variable set in
one tool call is gone in the next. Run as written, the Safety
Verification check became `git check-ignore -q "/"`, which exits 128 with
git's "outside repository" message in every layout, including one where
`.worktrees/` is ignored. An agent can read that non-zero exit as "not
ignored", add a duplicate .gitignore entry and commit it. The fence now
starts with a `${LOCATION:?}` guard, so the check stops with a message
that says to set LOCATION to the directory selected above.

The mechanics test gains ignore_check_needs_location: it runs the fence
with LOCATION unset in a repository whose `.worktrees/` is ignored and
expects a non-zero exit with that message. Against the one-line fence it
fails with exit 128 and git's message. The two existing ignore-check
cases still pass.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(using-git-worktrees): rename the creation snippet's path variable to worktree_path</title>
<updated>2026-11-25T08:44:52+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T08:44:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=b18d2e83155ae07fe143acb25b55ca1ad2e52ad2'/>
<id>b18d2e83155ae07fe143acb25b55ca1ad2e52ad2</id>
<content type='text'>
In zsh, the `path` array is tied to PATH, so running the snippet as
written set PATH to the new worktree's directory: `git worktree add`
itself failed with "command not found: git", and so did every later
command in that shell. The variable is renamed in its three places, and
nothing else in the snippet changes.

The mechanics test gains creation_snippet_keeps_path_under_zsh. It runs
the snippet under `zsh -f`, then `git --version` in the same shell, and
checks that the worktree exists. Against dev's snippet it fails with
"command not found: git". Without zsh, the case reports a skip.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In zsh, the `path` array is tied to PATH, so running the snippet as
written set PATH to the new worktree's directory: `git worktree add`
itself failed with "command not found: git", and so did every later
command in that shell. The variable is renamed in its three places, and
nothing else in the snippet changes.

The mechanics test gains creation_snippet_keeps_path_under_zsh. It runs
the snippet under `zsh -f`, then `git --version` in the same shell, and
checks that the worktree exists. Against dev's snippet it fails with
"command not found: git". Without zsh, the case reports a skip.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(using-git-worktrees): run poetry install only for a Poetry project</title>
<updated>2026-11-25T08:44:09+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T08:44:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=b575a5dc541e306ba1db936272badfa6ecf56cfb'/>
<id>b575a5dc541e306ba1db936272badfa6ecf56cfb</id>
<content type='text'>
Step 2 ran `poetry install` for any pyproject.toml, which fails for uv,
hatch, pdm and setuptools projects, and on machines without Poetry
(#1108). The line now runs it only when the project has a poetry.lock or a
[tool.poetry] table, the condition from #2204. The rest of the setup block
stays as it is.

Co-authored-by: y$un_ &lt;forrest.sun527@gmail.com&gt;
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Step 2 ran `poetry install` for any pyproject.toml, which fails for uv,
hatch, pdm and setuptools projects, and on machines without Poetry
(#1108). The line now runs it only when the project has a poetry.lock or a
[tool.poetry] table, the condition from #2204. The rest of the setup block
stays as it is.

Co-authored-by: y$un_ &lt;forrest.sun527@gmail.com&gt;
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(using-git-worktrees): drop the false claim that GIT_DIR differs from GIT_COMMON in a submodule</title>
<updated>2026-11-25T08:43:11+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T08:43:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=3fdf4f7d6cef2bc8a94b0eb610a9c5fa673db5ac'/>
<id>3fdf4f7d6cef2bc8a94b0eb610a9c5fa673db5ac</id>
<content type='text'>
Inside a submodule, `git rev-parse --git-dir` and `--git-common-dir`
resolve to the same directory (git 2.54: absorbed and embedded submodules,
and a submodule in a linked worktree of the superproject). Only that
sentence goes. The guard and its command stay as they are.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Inside a submodule, `git rev-parse --git-dir` and `--git-common-dir`
resolve to the same directory (git 2.54: absorbed and embedded submodules,
and a submodule in a linked worktree of the superproject). Only that
sentence goes. The guard and its command stay as they are.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(using-git-worktrees): verify a native worktree's base commit against the starting commit</title>
<updated>2026-11-25T08:42:53+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T08:42:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=fe6d90cf1a1f8ec407bf4a63336d91cb8eda9cca'/>
<id>fe6d90cf1a1f8ec407bf4a63336d91cb8eda9cca</id>
<content type='text'>
A native tool may create the worktree from origin's default branch, not
from the commit the work started on, so an unpushed plan is missing from
the new worktree (#2245, item 1). Step 0 now records and prints the
starting commit as START_HEAD, with the branch, so the values survive a
shell that does not keep variables between commands.

Step 1a takes the base check from the review (finding F1, which also
carries F2 and F9). After the tool runs, the agent works in the path the
tool returned, and runs four commands there. Their output picks one of
four actions: continue when the worktree is at the start commit;
fast-forward when the start commit is ahead, on any branch; continue when
only the remote was ahead; otherwise stop and ask which commit to build
on. The check is skipped when START_HEAD is `unborn`. Dev's paragraph on
what native tools handle stays as it is.

The tool-name examples lose `WorktreeCreate`, which is a settings hook
name, not a tool, and gain Codex's `create_worktree`.

The mechanics test gains base_check_states. It takes START_HEAD and the
branch from the Step 0 snippet's output, creates worktrees at, behind,
ahead of and diverged from the start commit, and checks what the Step 1a
commands print in each. Against dev's text it fails: Step 1a has no check.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A native tool may create the worktree from origin's default branch, not
from the commit the work started on, so an unpushed plan is missing from
the new worktree (#2245, item 1). Step 0 now records and prints the
starting commit as START_HEAD, with the branch, so the values survive a
shell that does not keep variables between commands.

Step 1a takes the base check from the review (finding F1, which also
carries F2 and F9). After the tool runs, the agent works in the path the
tool returned, and runs four commands there. Their output picks one of
four actions: continue when the worktree is at the start commit;
fast-forward when the start commit is ahead, on any branch; continue when
only the remote was ahead; otherwise stop and ask which commit to build
on. The check is skipped when START_HEAD is `unborn`. Dev's paragraph on
what native tools handle stays as it is.

The tool-name examples lose `WorktreeCreate`, which is a settings hook
name, not a tool, and gain Codex's `create_worktree`.

The mechanics test gains base_check_states. It takes START_HEAD and the
branch from the Step 0 snippet's output, creates worktrees at, behind,
ahead of and diverged from the start commit, and checks what the Step 1a
commands print in each. Against dev's text it fails: Step 1a has no check.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(using-git-worktrees): check only the selected worktree directory, with a trailing slash</title>
<updated>2026-11-25T08:41:02+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T08:41:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=8881e52b1b154243032411b29a4da55de62e62fa'/>
<id>8881e52b1b154243032411b29a4da55de62e62fa</id>
<content type='text'>
Safety Verification passed when either `.worktrees` or `worktrees` was
ignored, so with both present and only `worktrees/` ignored, the worktree
went into an unignored `.worktrees/` (#2515). The check now covers only the
directory Directory Selection chose, using the same `$LOCATION` as the
creation snippet. The trailing slash lets a directory-only pattern such as
`.worktrees/` match before the directory exists, which the reporter's
follow-up showed fails without it.

The mechanics test starts with this case: it extracts the fence under
Safety Verification and runs it on both reported repositories. Against
dev's check, both fail.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Safety Verification passed when either `.worktrees` or `worktrees` was
ignored, so with both present and only `worktrees/` ignored, the worktree
went into an unignored `.worktrees/` (#2515). The check now covers only the
directory Directory Selection chose, using the same `$LOCATION` as the
creation snippet. The trailing slash lets a directory-only pattern such as
`.worktrees/` match before the directory exists, which the reporter's
follow-up showed fails without it.

The mechanics test starts with this case: it extracts the fence under
Safety Verification and runs it on both reported repositories. Against
dev's check, both fail.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(using-git-worktrees): return the skill to dev's text where no issue requires a change</title>
<updated>2026-11-25T08:39:51+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T08:39:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=bd1bca8b7b98575d9d6a2708830d90b66ee549c7'/>
<id>bd1bca8b7b98575d9d6a2708830d90b66ee549c7</id>
<content type='text'>
Every hunk of this PR in using-git-worktrees/SKILL.md goes back to dev's
text: the sandbox paragraph and its Quick Reference row, the placeholder
rewrite of the creation snippet and --no-track, the self-ignoring
.gitignore, the one-sentence replacement of the setup block, the reworded
rationalization row, and the rewritten Step 0 lines. No cited issue needs
them. The edits that #2515, #2245 and #1108 do need, and the correction of
the false submodule sentence, are made on dev's text in the commits that
follow.

The 1,213-line mechanics test pinned about 180 strings of the rewritten
prose. It is removed here and replaced, at the same path, by a short test
that extracts the skill's snippets and runs them in throwaway repositories.
Its line in run-skill-tests.sh stays.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Every hunk of this PR in using-git-worktrees/SKILL.md goes back to dev's
text: the sandbox paragraph and its Quick Reference row, the placeholder
rewrite of the creation snippet and --no-track, the self-ignoring
.gitignore, the one-sentence replacement of the setup block, the reworded
rationalization row, and the rewritten Step 0 lines. No cited issue needs
them. The edits that #2515, #2245 and #1108 do need, and the correction of
the false submodule sentence, are made on dev's text in the commits that
follow.

The 1,213-line mechanics test pinned about 180 strings of the rewritten
prose. It is removed here and replaced, at the same path, by a short test
that extracts the skill's snippets and runs them in throwaway repositories.
Its line in run-skill-tests.sh stays.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(using-git-worktrees): verify native base commit and avoid unrequested .gitignore commits</title>
<updated>2026-11-24T22:53:34+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-24T22:53:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=e0c80bbaebbc57b9b94edfffea28fcb441f83025'/>
<id>e0c80bbaebbc57b9b94edfffea28fcb441f83025</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(skills): convert using-git-worktrees guard sections to rationalization table</title>
<updated>2026-07-14T22:02:16+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@primeradiant.com</email>
</author>
<published>2026-07-05T19:26:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=8489d22016e3b36f3bce51e53b5fc0d0444f3ec5'/>
<id>8489d22016e3b36f3bce51e53b5fc0d0444f3ec5</id>
<content type='text'>
Common Mistakes and Red Flags restated Steps 0-3 wholesale; both fold
into one Common Rationalizations table (house Excuse/Reality form) whose
five rows carry the tempting-thought version of each rule, including the
#1-mistake emphasis on bypassing native tools. Quick Reference stays as
the compact decision aid.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Common Mistakes and Red Flags restated Steps 0-3 wholesale; both fold
into one Common Rationalizations table (house Excuse/Reality form) whose
five rows carry the tempting-thought version of each rule, including the
#1-mistake emphasis on bypassing native tools. Quick Reference stays as
the compact decision aid.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: remove global worktree path fallback (#1476)</title>
<updated>2026-06-16T17:09:43+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@ritter.dev</email>
</author>
<published>2026-05-12T17:24:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=d00f4ad4428e99db18619e077b99340fb7158f2f'/>
<id>d00f4ad4428e99db18619e077b99340fb7158f2f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
