<feed xmlns='http://www.w3.org/2005/Atom'>
<title>superpowers.git/skills/subagent-driven-development/scripts, 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(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>fix(sdd): return sdd-workspace's usage check to dev's text</title>
<updated>2026-11-26T10:28:51+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T10:28:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=22a0cc084537732c56c6f9988f12038a7e84df9e'/>
<id>22a0cc084537732c56c6f9988f12038a7e84df9e</id>
<content type='text'>
The usage check had gained `|| [ -z "$1" ]` so that an empty PLAN_FILE
is refused now that the relaxed existence check lets a missing plan
through (#2630). The slug check three lines later already refuses it:
basename makes an empty or "." slug of an empty path, and both fail
that check. `sdd-workspace ""` still exits 2 ("cannot derive a
workspace name from: ") and creates nothing, with or without -C. No
cited issue needs the extra condition, so the line reads as on dev
again.

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 usage check had gained `|| [ -z "$1" ]` so that an empty PLAN_FILE
is refused now that the relaxed existence check lets a missing plan
through (#2630). The slug check three lines later already refuses it:
basename makes an empty or "." slug of an empty path, and both fail
that check. `sdd-workspace ""` still exits 2 ("cannot derive a
workspace name from: ") and creates nothing, with or without -C. No
cited issue needs the extra condition, so the line reads as on dev
again.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(review): drop task-brief's unread used_stderr flag</title>
<updated>2026-11-26T10:05:28+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T10:05:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=d87729db3addda6ad19a56c5f75d1ceeaa14e683'/>
<id>d87729db3addda6ad19a56c5f75d1ceeaa14e683</id>
<content type='text'>
stderr() set used_stderr so that awk's END could close the stderr pipe
only when something had been printed. Both readers went back to dev's
text with the not-found check, so the flag is set and never read. The
stderr() helper itself stays; awk still closes its pipes at exit, and
the order of stderr lines is unchanged.

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>
stderr() set used_stderr so that awk's END could close the stderr pipe
only when something had been printed. Both readers went back to dev's
text with the not-found check, so the flag is set and never read. The
stderr() helper itself stays; awk still closes its pipes at exit, and
the order of stderr lines is unchanged.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(sdd): say the task brief opens with the plan header</title>
<updated>2026-11-26T09:38:58+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T09:38:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=815d0cf711cee9eb28b112be65dfa54055ff1347'/>
<id>815d0cf711cee9eb28b112be65dfa54055ff1347</id>
<content type='text'>
The brief now carries the plan header ahead of the task (#2493), but
SDD's Task brief step, the implementer prompt and task-brief's own
header comment still said it holds only the task's text. Nothing told
the implementer that part of the brief is shared context, or that its
Global Constraints bind the task; the #2493 thread asked for exactly
that in the implementer template.

All three now say so, in the review's F3 words. SDD's SKILL.md stays
under the 20,000-byte cap (19,928 bytes).

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 brief now carries the plan header ahead of the task (#2493), but
SDD's Task brief step, the implementer prompt and task-brief's own
header comment still said it holds only the task's text. Nothing told
the implementer that part of the brief is shared context, or that its
Global Constraints bind the task; the #2493 thread asked for exactly
that in the implementer template.

All three now say so, in the review's F3 words. SDD's SKILL.md stays
under the 20,000-byte cap (19,928 bytes).

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): restore sdd-workspace's design notes, with the claim lock and deleted-plan rules</title>
<updated>2026-11-26T09:34:22+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T09:34:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=3d3163124571c7da193629e58a0ee884cd2f52d1'/>
<id>3d3163124571c7da193629e58a0ee884cd2f52d1</id>
<content type='text'>
The rewrite deleted the header that says why the workspace is per plan,
why it is not under .git/, how plan-path markers and legacy adoption
work, and why -C exists (#1799), along with the comments on the
create-only .gitignore and the Windows path print. Those choices still
hold, and nothing else in the file records them.

They read as on dev again, with two sentences added to the marker
paragraph so it describes the script as it now is: the counter stops at
100 and claims run under a mkdir lock whose dead holder is reclaimed
(#2619), and a plan file that no longer exists resolves to the
workspace whose marker already names it (#2630). Only the two lines
those sentences join are rewrapped.

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 rewrite deleted the header that says why the workspace is per plan,
why it is not under .git/, how plan-path markers and legacy adoption
work, and why -C exists (#1799), along with the comments on the
create-only .gitignore and the Windows path print. Those choices still
hold, and nothing else in the file records them.

They read as on dev again, with two sentences added to the marker
paragraph so it describes the script as it now is: the counter stops at
100 and claims run under a mkdir lock whose dead holder is reclaimed
(#2619), and a plan file that no longer exists resolves to the
workspace whose marker already names it (#2630). Only the two lines
those sentences join are rewrapped.

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>
<entry>
<title>fix(sdd): harden workspace claims, task-brief boundaries, and review-package commits</title>
<updated>2026-11-24T22:55:51+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-24T21:59:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=f5b37ad90b2a0eb179c1b481d0b7e58780a8aba1'/>
<id>f5b37ad90b2a0eb179c1b481d0b7e58780a8aba1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
