<feed xmlns='http://www.w3.org/2005/Atom'>
<title>superpowers.git/tests/claude-code, 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>test(sdd): skip the FIFO and symlink OUTFILE cases where the shell cannot make one</title>
<updated>2026-11-26T11:32:05+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T11:32:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=ef91a2a452f9c928c602108cacbbcc154078fead'/>
<id>ef91a2a452f9c928c602108cacbbcc154078fead</id>
<content type='text'>
Git Bash copies a file for ln -s unless native symlinks are enabled,
and a shell may lack mkfifo. Each case now probes for the thing it
needs and prints a [SKIP] line when it cannot be made, so the file
still runs on Windows.

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>
Git Bash copies a file for ln -s unless native symlinks are enabled,
and a shell may lack mkfifo. Each case now probes for the thing it
needs and prints a [SKIP] line when it cannot be made, so the file
still runs on Windows.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(sdd): refuse a symlink or special-file OUTFILE in task-brief</title>
<updated>2026-11-26T11:25:20+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T11:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=6af681b0a4ee384f91dca298b8e3da064ae44180'/>
<id>6af681b0a4ee384f91dca298b8e3da064ae44180</id>
<content type='text'>
#2611's staging writes the brief to a temporary file beside OUTFILE and
renames it into place. The rename replaced whatever OUTFILE was: a FIFO
or a symlink became a regular file, and as root a device such as
/dev/null would be replaced too. task-brief now exits 2 unless OUTFILE
is absent or a plain regular file, as it already did for a directory.
Nothing in the skills passes such an OUTFILE.

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>
#2611's staging writes the brief to a temporary file beside OUTFILE and
renames it into place. The rename replaced whatever OUTFILE was: a FIFO
or a symlink became a regular file, and as root a device such as
/dev/null would be replaced too. task-brief now exits 2 unless OUTFILE
is absent or a plain regular file, as it already did for a directory.
Nothing in the skills passes such an OUTFILE.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'fix/wave1-worktree-finish-safety' into fix/wave1-executor-helpers</title>
<updated>2026-11-26T10:26:45+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T10:26:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=dbed26371a8c9e40080528cc7679489968a136b2'/>
<id>dbed26371a8c9e40080528cc7679489968a136b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test(worktrees): check that Step 2 runs poetry install only for a Poetry project</title>
<updated>2026-11-26T10:21:34+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T10:21:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=0dde9356151a6990209b4b9a9818cd3cf539c9ac'/>
<id>0dde9356151a6990209b4b9a9818cd3cf539c9ac</id>
<content type='text'>
The `pyproject.toml` line in using-git-worktrees' Step 2 runs `poetry
install` only beside a poetry.lock or for a [tool.poetry] table (#1108),
and no test ran it. poetry_install_only_for_poetry_projects extracts
Step 2's setup fence and runs it in three directories with a stub poetry
first on PATH that records each call: a pyproject.toml with neither the
table nor a lock does not call it; one with the table does; a
poetry.lock beside a pyproject.toml without the table does. Each
directory holds only those files, so no other installer line runs.

In a throwaway copy of the skill with dev's line put back,
  if [ -f pyproject.toml ]; then poetry install; fi
the first check fails: the stub is called as `poetry install`.

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>
The `pyproject.toml` line in using-git-worktrees' Step 2 runs `poetry
install` only beside a poetry.lock or for a [tool.poetry] table (#1108),
and no test ran it. poetry_install_only_for_poetry_projects extracts
Step 2's setup fence and runs it in three directories with a stub poetry
first on PATH that records each call: a pyproject.toml with neither the
table nor a lock does not call it; one with the table does; a
poetry.lock beside a pyproject.toml without the table does. Each
directory holds only those files, so no other installer line runs.

In a throwaway copy of the skill with dev's line put back,
  if [ -f pyproject.toml ]; then poetry install; fi
the first check fails: the stub is called as `poetry install`.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<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>test(sdd): capture and check the cached-brief warning in the deleted-plan cases</title>
<updated>2026-11-26T09:40:29+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T09:40:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=6e44e1276968f05f0a81580007f7e1adc239cb56'/>
<id>6e44e1276968f05f0a81580007f7e1adc239cb56</id>
<content type='text'>
Two #2630 cases ran task-brief on a deleted plan without capturing its
stderr, so every run printed "task-brief: warning: deleted-plan.md not
found; serving cached brief" twice between PASS lines. Both now send
stderr to a file and check that the warning is there, as the review's
F16 proposed, so the suite's output is clean and a lost warning fails.

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>
Two #2630 cases ran task-brief on a deleted plan without capturing its
stderr, so every run printed "task-brief: warning: deleted-plan.md not
found; serving cached brief" twice between PASS lines. Both now send
stderr to a file and check that the warning is there, as the review's
F16 proposed, so the suite's output is clean and a lost warning fails.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(executing-plans): run the plan's closing sections before the final review</title>
<updated>2026-11-26T09:38:09+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T09:38:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=0e42dbf98a4338db40ba676ae354bdb4897758ea'/>
<id>0e42dbf98a4338db40ba676ae354bdb4897758ea</id>
<content type='text'>
The final-task bound keeps a plan's trailing Self-Review and Execution
Handoff out of the last brief (#2406). It also keeps out a closing
"Final verification" or "Done criteria" section, and no step told the
executor to read one: Final Review went straight to the review package,
and task-brief's only trace was a stderr line that read like a
truncation error.

executing-plans' Final Review now opens by telling the executor to run
the checks in those sections first, and task-brief's message says the
plan from that heading on is in no brief. Both texts are the review's
F4. The message's apostrophe is written '\'' so the single-quoted awk
program still parses; pasted as is, it is a syntax error.

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>
The final-task bound keeps a plan's trailing Self-Review and Execution
Handoff out of the last brief (#2406). It also keeps out a closing
"Final verification" or "Done criteria" section, and no step told the
executor to read one: Final Review went straight to the review package,
and task-brief's only trace was a stderr line that read like a
truncation error.

executing-plans' Final Review now opens by telling the executor to run
the checks in those sections first, and task-brief's message says the
plan from that heading on is in no brief. Both texts are the review's
F4. The message's apostrophe is written '\'' so the single-quoted awk
program still parses; pasted as is, it is a syntax error.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(sdd): label the plan header in task briefs and end it at the header's rule</title>
<updated>2026-11-26T09:36:16+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T09:36:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=e03bb9bbc1fb1186d0a1d5d6523c195ce908c3bf'/>
<id>e03bb9bbc1fb1186d0a1d5d6523c195ce908c3bf</id>
<content type='text'>
A brief opened with everything above the plan's first Task heading and
nothing to mark where that context ends and the task begins, yet the
task reviewer reads the whole brief as what was requested. In a plan
grouped by chunk or phase, every task also got Chunk 1's heading and
intro.

The header now sits under a label saying its Global Constraints bind
the task and the rest is context, and it ends at the header's last ---
rule, so chunk and phase intros stay out; a header with no rule gets
one. The comment above the scan describes this. The code is the
review's F1/F2 patch (#2493).

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 brief opened with everything above the plan's first Task heading and
nothing to mark where that context ends and the task begins, yet the
task reviewer reads the whole brief as what was requested. In a plan
grouped by chunk or phase, every task also got Chunk 1's heading and
intro.

The header now sits under a label saying its Global Constraints bind
the task and the rest is context, and it ends at the header's last ---
rule, so chunk and phase intros stay out; a header with no rule gets
one. The comment above the scan describes this. The code is the
review's F1/F2 patch (#2493).

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(sdd): return task-brief's ENVIRON, not-found and OUTFILE changes to dev's text where no issue requires a change</title>
<updated>2026-11-26T09:33:10+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T09:33:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=4ff57366737ba6ae3e47f191fcc59d4163734ade'/>
<id>4ff57366737ba6ae3e47f191fcc59d4163734ade</id>
<content type='text'>
task-brief keeps what its issues need: the brief is staged in a temp
file beside OUTFILE and moved into place only after a clean scan, so a
missing task or a failed rerun never empties an existing brief (#2611);
a deleted plan serves the brief already cached in its workspace
(#2630); and the two-pass CommonMark scan bounds the final task and
carries the plan header (#2406, #2493).

No cited issue asks for the rest, so it reads as on dev again:
- the task number passed through ENVIRON; -v n is back, and so is the
  comment on why only the plan path goes through ENVIRON;
- the not-found message and exit 3 moved into awk, and the close of the
  stderr pipe at the end of awk's END; the shell check is back, on the
  staged file, and stderr prints in the same order as before;
- the line count kept in a variable; the "wrote" line counts the
  committed file again;
- creating a missing OUTFILE directory: an explicit OUTFILE in a missing
  directory fails, as on dev;
- the /dev/null OUTFILE branch, which served only the task-id check
  that left task-done, with its two test cases.

Two cases now create OUTFILE's directory before the call.

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>
task-brief keeps what its issues need: the brief is staged in a temp
file beside OUTFILE and moved into place only after a clean scan, so a
missing task or a failed rerun never empties an existing brief (#2611);
a deleted plan serves the brief already cached in its workspace
(#2630); and the two-pass CommonMark scan bounds the final task and
carries the plan header (#2406, #2493).

No cited issue asks for the rest, so it reads as on dev again:
- the task number passed through ENVIRON; -v n is back, and so is the
  comment on why only the plan path goes through ENVIRON;
- the not-found message and exit 3 moved into awk, and the close of the
  stderr pipe at the end of awk's END; the shell check is back, on the
  staged file, and stderr prints in the same order as before;
- the line count kept in a variable; the "wrote" line counts the
  committed file again;
- creating a missing OUTFILE directory: an explicit OUTFILE in a missing
  directory fails, as on dev;
- the /dev/null OUTFILE branch, which served only the task-id check
  that left task-done, with its two test cases.

Two cases now create OUTFILE's directory before the call.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(sdd): return sdd-workspace's plan identity and slug rules to dev's text where no issue requires a change</title>
<updated>2026-11-26T09:29:37+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T09:29:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=4eb634cd11873939ddcb5e297cec1dd9ef428344'/>
<id>4eb634cd11873939ddcb5e297cec1dd9ef428344</id>
<content type='text'>
sdd-workspace keeps what #2619 and #2630 need: the writable-directory
guard, the mkdir claim lock, the bounded claim loop, an empty PLAN_FILE
refused, a missing plan resolved lexically to the workspace that
already claimed it, and a .lock slug, in any case, kept off the lock
directory. review-package keeps its deleted-plan resolution (#2630),
its ^{commit} checks (#2620) and commit bodies (#2298).

Neither issue needs a new plan identity, so dev's rule is back: the
plan-path marker is repo-relative in the repo, absolute outside it.
These read as on dev again, because no cited issue asks for them:
- the worktree-prefix plan_id loop, which merged one plan's workspaces
  across worktrees and left in-flight workspaces behind at upgrade;
- the .markdown slug, the .gitignore and .plan-path reserved slugs, and
  the "root" parent fallback; the slug comes from basename again;
- the comments the rewrite deleted ("Physical path...", "Invoke via
  bash...", "Normalize the plan path...", and the ownership rule now
  above claim_candidate), and the reordered usage check;
- review-package reusing the deleted-plan lookup's directory;
- the test fixture's git_id refactor.

The three cross-checkout identity cases go with the loop, the
absorbed-submodule case goes because it passes on dev and no issue asks
for it, and the reserved-slug case keeps .lock.md and .LOCK.md only.

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>
sdd-workspace keeps what #2619 and #2630 need: the writable-directory
guard, the mkdir claim lock, the bounded claim loop, an empty PLAN_FILE
refused, a missing plan resolved lexically to the workspace that
already claimed it, and a .lock slug, in any case, kept off the lock
directory. review-package keeps its deleted-plan resolution (#2630),
its ^{commit} checks (#2620) and commit bodies (#2298).

Neither issue needs a new plan identity, so dev's rule is back: the
plan-path marker is repo-relative in the repo, absolute outside it.
These read as on dev again, because no cited issue asks for them:
- the worktree-prefix plan_id loop, which merged one plan's workspaces
  across worktrees and left in-flight workspaces behind at upgrade;
- the .markdown slug, the .gitignore and .plan-path reserved slugs, and
  the "root" parent fallback; the slug comes from basename again;
- the comments the rewrite deleted ("Physical path...", "Invoke via
  bash...", "Normalize the plan path...", and the ownership rule now
  above claim_candidate), and the reordered usage check;
- review-package reusing the deleted-plan lookup's directory;
- the test fixture's git_id refactor.

The three cross-checkout identity cases go with the loop, the
absorbed-submodule case goes because it passes on dev and no issue asks
for it, and the reserved-slug case keeps .lock.md and .LOCK.md only.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
