<feed xmlns='http://www.w3.org/2005/Atom'>
<title>superpowers.git/tests, branch fix/wave1-run-hook-heredoc</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(hooks): run the escaping round-trip under bash and zsh too, and report a failing hook</title>
<updated>2026-11-26T08:35:57+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T08:35:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=48be04cebbdfe71f0875d66e0147905462f4b3ff'/>
<id>48be04cebbdfe71f0875d66e0147905462f4b3ff</id>
<content type='text'>
The backslash, quote, tab, glob and CRLF round-trip ran only under the
non-bash POSIX sh, and was skipped entirely where neither dash nor ash is
installed. bash is the shell Claude Code uses and the only one that sets
the carriage return with printf -v, so nothing tested that branch: with
it producing an empty value, the hook emits invalid JSON under bash for a
CRLF skill file and the suite still passed. Run the fixture under the
non-bash sh when present, $BASH, and zsh when present, outside the
sh-only guard, and name each result after its shell. With that branch
broken, the suite now fails on the bash run only.

Capture the hook's exit status too. Under set -e a failing hook inside
the command substitution aborted the suite with no FAIL line and no
STATUS line (exit 2 with dev's bash-only hook under dash); it now prints
a FAIL line with the hook's rc and the run finishes.

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 backslash, quote, tab, glob and CRLF round-trip ran only under the
non-bash POSIX sh, and was skipped entirely where neither dash nor ash is
installed. bash is the shell Claude Code uses and the only one that sets
the carriage return with printf -v, so nothing tested that branch: with
it producing an empty value, the hook emits invalid JSON under bash for a
CRLF skill file and the suite still passed. Run the fixture under the
non-bash sh when present, $BASH, and zsh when present, outside the
sh-only guard, and name each result after its shell. With that branch
broken, the suite now fails on the bash run only.

Capture the hook's exit status too. Under set -e a failing hook inside
the command substitution aborted the suite with no FAIL line and no
STATUS line (exit 2 with dev's bash-only hook under dash); it now prints
a FAIL line with the hook's rc and the run finishes.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(hooks): restore session-start's output comments and keep heredocs out of the hooks</title>
<updated>2026-11-25T08:41:51+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T08:41:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=64dbc15cf25a16564e61139dd07d97b0735bd4f8'/>
<id>64dbc15cf25a16564e61139dd07d97b0735bd4f8</id>
<content type='text'>
The POSIX rewrite cut the comment block above emit_json to one line,
though the code under it did not change. The block says why each
platform gets exactly one field, why output is built with printf rather
than a heredoc (#571), and why emit_json absorbs EPIPE (#1612); that last
part exists because contributors kept removing the guard as noise.
Restore dev's block with three corrections: the Muse line names the
nested form the Muse branch emits, the heredoc hang starts at bash 5.1
rather than 5.3, and the script runs under set -eu, not set -euo
pipefail.

Nothing else kept a heredoc out of either hook file. Add heredocs to the
hook-author Avoid list in polyglot-hooks.md, and a test that fails if
run-hook.cmd or session-start has `&lt;&lt;` on a line that is not a # or REM
comment. The test fails against dev's run-hook.cmd.

session-start prints the same bytes as on dev under bash for the Cursor,
Claude Code, Copilot CLI, Muse and no-platform branches.

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 POSIX rewrite cut the comment block above emit_json to one line,
though the code under it did not change. The block says why each
platform gets exactly one field, why output is built with printf rather
than a heredoc (#571), and why emit_json absorbs EPIPE (#1612); that last
part exists because contributors kept removing the guard as noise.
Restore dev's block with three corrections: the Muse line names the
nested form the Muse branch emits, the heredoc hang starts at bash 5.1
rather than 5.3, and the script runs under set -eu, not set -euo
pipefail.

Nothing else kept a heredoc out of either hook file. Add heredocs to the
hook-author Avoid list in polyglot-hooks.md, and a test that fails if
run-hook.cmd or session-start has `&lt;&lt;` on a line that is not a # or REM
comment. The test fails against dev's run-hook.cmd.

session-start prints the same bytes as on dev under bash for the Cursor,
Claude Code, Copilot CLI, Muse and no-platform branches.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(hooks): remove run-hook.cmd heredoc and support POSIX sh/ash in session-start</title>
<updated>2026-11-24T23:58:12+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-24T23:58:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=744f8620d357ceb122d4b05e07a2123f0aa7f7d8'/>
<id>744f8620d357ceb122d4b05e07a2123f0aa7f7d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test(brainstorm-server): drain the socket before counting reloads</title>
<updated>2026-11-03T02:51:38+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@fsck.com</email>
</author>
<published>2026-11-03T02:51:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=78c867996a73b86cd356431346af304a0d76afa6'/>
<id>78c867996a73b86cd356431346af304a0d76afa6</id>
<content type='text'>
The two "does NOT send reload" tests waited for the barrier file's
screen-added line on stdout, then counted reloads on the WebSocket. The
server logs and broadcasts in the same tick, but stdout and the socket
are separate channels, and on Linux stdout usually won: the socket had
0 reloads when the barrier fired and 1 reload 300ms later, so the tests
failed in 8 of 10 runs.

They now ping the server after the barrier and wait for the pong. The
server writes it on the same socket after the reload, so every reload
sent before it has arrived. 30 consecutive clean runs; with the server's
.html filter removed, both tests still fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The two "does NOT send reload" tests waited for the barrier file's
screen-added line on stdout, then counted reloads on the WebSocket. The
server logs and broadcasts in the same tick, but stdout and the socket
are separate channels, and on Linux stdout usually won: the socket had
0 reloads when the barrier fired and 1 reload 300ms later, so the tests
failed in 8 of 10 runs.

They now ping the server after the barrier and wait for the pong. The
server writes it on the same socket after the reload, so every reload
sent before it has arrived. 30 consecutive clean runs; with the server's
.html filter removed, both tests still fail.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2654 from obra/fix/2277-systematic-debugging-fixtures</title>
<updated>2026-11-02T22:41:44+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@ritter.dev</email>
</author>
<published>2026-11-02T22:41:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=43685181dd5b64741cec160d5b0cb6b80252ccb4'/>
<id>43685181dd5b64741cec160d5b0cb6b80252ccb4</id>
<content type='text'>
fix(systematic-debugging): ship pressure scenarios under tests/, not in the skill (#2277)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix(systematic-debugging): ship pressure scenarios under tests/, not in the skill (#2277)</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2609 from obra/fix/codex-scripts-in-worktrees</title>
<updated>2026-11-02T22:39:13+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@ritter.dev</email>
</author>
<published>2026-11-02T22:39:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=cdeb32c955964723c09f7191db8f81f426ddbab8'/>
<id>cdeb32c955964723c09f7191db8f81f426ddbab8</id>
<content type='text'>
fix(codex): accept linked git worktrees in the package and sync scripts</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix(codex): accept linked git worktrees in the package and sync scripts</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2608 from obra/fix/2524-relative-project-dir</title>
<updated>2026-11-02T22:37:39+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@ritter.dev</email>
</author>
<published>2026-11-02T22:37:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=4e08cb1469a23f82d7024d6c493f618a5e54bd0e'/>
<id>4e08cb1469a23f82d7024d6c493f618a5e54bd0e</id>
<content type='text'>
fix(brainstorming): resolve a relative --project-dir before start-server.sh cds (#2524)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix(brainstorming): resolve a relative --project-dir before start-server.sh cds (#2524)</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2607 from obra/fix/2429-sdd-invocation-text</title>
<updated>2026-11-02T22:36:15+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@ritter.dev</email>
</author>
<published>2026-11-02T22:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=95b0413050c13f3dd974c0744ccfbb6c2721c38c'/>
<id>95b0413050c13f3dd974c0744ccfbb6c2721c38c</id>
<content type='text'>
skills(sdd, executing-plans): run helpers by absolute path from the working tree (#2429, #2525)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
skills(sdd, executing-plans): run helpers by absolute path from the working tree (#2429, #2525)</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2606 from obra/fix/2429-sdd-repo-resolution</title>
<updated>2026-11-02T22:01:03+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@ritter.dev</email>
</author>
<published>2026-11-02T22:01:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=2f5dc3b335c05e8e3078c0be056c1001baa6b554'/>
<id>2f5dc3b335c05e8e3078c0be056c1001baa6b554</id>
<content type='text'>
fix(sdd): helpers act on the current directory's repo like git, with -C to override (#2429)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix(sdd): helpers act on the current directory's repo like git, with -C to override (#2429)</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2605 from obra/fix/2436-task-brief-unclosed-fence</title>
<updated>2026-11-02T21:50:41+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@ritter.dev</email>
</author>
<published>2026-11-02T21:50:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=862308e2b3dade2c6df424115d86e7307961a129'/>
<id>862308e2b3dade2c6df424115d86e7307961a129</id>
<content type='text'>
fix(sdd): task-brief refuses a brief that an unclosed code fence would run to EOF (#2436)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix(sdd): task-brief refuses a brief that an unclosed code fence would run to EOF (#2436)</pre>
</div>
</content>
</entry>
</feed>
