<feed xmlns='http://www.w3.org/2005/Atom'>
<title>superpowers.git, branch fix/wave1-harness-adapters</title>
<subtitle>Agentic skills framework and development workflow
</subtitle>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/'/>
<entry>
<title>Merge branch 'fix/wave1-run-hook-heredoc' into fix/wave1-harness-adapters</title>
<updated>2026-11-26T08:46:47+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T08:46:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=270c94ec16738f1dbb1e43513b09733d9600ac84'/>
<id>270c94ec16738f1dbb1e43513b09733d9600ac84</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(hooks): show how to read the escaping example's result</title>
<updated>2026-11-26T08:46:07+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T08:46:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=f27e901302c8294370ac77bfba148c7d72bc8b78'/>
<id>f27e901302c8294370ac77bfba148c7d72bc8b78</id>
<content type='text'>
The example's escape_for_json, copied from hooks/session-start, leaves
its result in using_superpowers_escaped and prints nothing, but the
block shows no call, so a hook author who copies it and writes
json=$(escape_for_json "$text") gets an empty string and no error. Add
a comment after the function that says why the result is left in a
variable (capturing output with $(...) forks) and shows the call
followed by the read of the variable.

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 example's escape_for_json, copied from hooks/session-start, leaves
its result in using_superpowers_escaped and prints nothing, but the
block shows no call, so a hook author who copies it and writes
json=$(escape_for_json "$text") gets an empty string and no error. Add
a comment after the function that says why the result is left in a
variable (capturing output with $(...) forks) and shows the call
followed by the read of the variable.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(hooks): return session-start's read comment to dev's text, correcting its || true clause</title>
<updated>2026-11-26T08:38:47+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T08:38:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=3cad9e246314d52dcff002668cdbfceadd80a993'/>
<id>3cad9e246314d52dcff002668cdbfceadd80a993</id>
<content type='text'>
The POSIX rewrite replaced the whole three-line comment above the block
that reads using-superpowers/SKILL.md, though most of it is still true
of the new code: the content is read with the read builtin, with no cat
(for the same PATH-independence reason as dirname above) and no $(&lt; file)
subshell, read returns 1 at end of file, and the loop drops trailing
newlines as $(&lt; file) did. Only "hence || true" became false: the read
now sits in a while condition, and its || is || [ -n "$line" ], which
keeps a last line that has no trailing newline. Return dev's lines with
that one change, rewrapping the last line.

Checked: read returns 1 at end of file under bash, dash, zsh and /bin/sh,
including after reading a final line with no newline; and on skill files
with trailing blank lines, no final newline, or nothing at all, the hook
prints the same bytes as dev's. Comment-only: session-start's stdout
under bash is byte-identical before and after, and to dev's, 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 replaced the whole three-line comment above the block
that reads using-superpowers/SKILL.md, though most of it is still true
of the new code: the content is read with the read builtin, with no cat
(for the same PATH-independence reason as dirname above) and no $(&lt; file)
subshell, read returns 1 at end of file, and the loop drops trailing
newlines as $(&lt; file) did. Only "hence || true" became false: the read
now sits in a while condition, and its || is || [ -n "$line" ], which
keeps a last line that has no trailing newline. Return dev's lines with
that one change, rewrapping the last line.

Checked: read returns 1 at end of file under bash, dash, zsh and /bin/sh,
including after reading a final line with no newline; and on skill files
with trailing blank lines, no final newline, or nothing at all, the hook
prints the same bytes as dev's. Comment-only: session-start's stdout
under bash is byte-identical before and after, and to dev's, 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>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>test(opencode): make the V1 deletion and V2 todo checks able to fail</title>
<updated>2026-11-26T08:34:40+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T08:34:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=b96b91a34c2e8c41f2a85207763582807f1e4134'/>
<id>b96b91a34c2e8c41f2a85207763582807f1e4134</id>
<content type='text'>
mapsMutationToWriteEditBash looked for a bare `bash`, which also
matches the V1 line "Run shell commands → `bash`". With ", and `bash`
for deletion" removed from the V1 mapping in a throwaway copy, the
suite still passed. The check now looks for "`bash` for deletion", and
against that mutation it fails with "expected OpenCode bootstrap to
include write, edit, and bash alongside apply_patch".

mapsV2ExperimentalTodo reads the whole V2 bootstrap, and the
using-superpowers body in it says "plan mode", so its 'plan' conjunct
was true whatever the mapping said. That conjunct is dropped. The
separate V2_MAPPING needle for 'plan' reads only the mapping and stays:
with "plan" taken out of the V2 todo line, it still fails the suite.
With `experimental.todo` taken out of that line, the trimmed check
fails. Both checks pass on the real mapping.

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>
mapsMutationToWriteEditBash looked for a bare `bash`, which also
matches the V1 line "Run shell commands → `bash`". With ", and `bash`
for deletion" removed from the V1 mapping in a throwaway copy, the
suite still passed. The check now looks for "`bash` for deletion", and
against that mutation it fails with "expected OpenCode bootstrap to
include write, edit, and bash alongside apply_patch".

mapsV2ExperimentalTodo reads the whole V2 bootstrap, and the
using-superpowers body in it says "plan mode", so its 'plan' conjunct
was true whatever the mapping said. That conjunct is dropped. The
separate V2_MAPPING needle for 'plan' reads only the mapping and stays:
with "plan" taken out of the V2 todo line, it still fails the suite.
With `experimental.todo` taken out of that line, the trimmed check
fails. Both checks pass on the real mapping.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(hooks): copy session-start's escaping code into the polyglot-hooks JSON example</title>
<updated>2026-11-26T08:32:48+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T08:32:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=ee554d0d7152af0894290254db3779ca140ff172'/>
<id>ee554d0d7152af0894290254db3779ca140ff172</id>
<content type='text'>
The example got its carriage return with cr=$(printf '\r'), a command
substitution that forks under bash, a few lines below the Do list's
"run fork-free under bash". Its escape_for_json also printed the result,
which invites a $(...) capture that forks again. Replace both with
hooks/session-start's own lines: the BASH_VERSION branch that sets cr
with printf -v under bash, and the assignment of the result to a
variable. The example is now byte-identical to session-start's nl, tab
and cr setup and its replace_all and escape_for_json functions, so it
cannot drift from the hook. The carriage-return escaping stays.

Checked by extracting the block and escaping a string holding a
backslash, a double quote, a tab, CR and LF: the output parses as JSON
and decodes to the input under bash, zsh, dash and /bin/sh. Under bash
with `ulimit -u 1`, which makes any fork fail, the old block died at the
cr line ("fork: Resource temporarily unavailable"); the new block runs.

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 example got its carriage return with cr=$(printf '\r'), a command
substitution that forks under bash, a few lines below the Do list's
"run fork-free under bash". Its escape_for_json also printed the result,
which invites a $(...) capture that forks again. Replace both with
hooks/session-start's own lines: the BASH_VERSION branch that sets cr
with printf -v under bash, and the assignment of the result to a
variable. The example is now byte-identical to session-start's nl, tab
and cr setup and its replace_all and escape_for_json functions, so it
cannot drift from the hook. The carriage-return escaping stays.

Checked by extracting the block and escaping a string holding a
backslash, a double quote, a tab, CR and LF: the output parses as JSON
and decodes to the input under bash, zsh, dash and /bin/sh. Under bash
with `ulimit -u 1`, which makes any fork fail, the old block died at the
cr line ("fork: Resource temporarily unavailable"); the new block runs.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(opencode): state only the checked 2.0.7 and 2.3.2 facts in the V2 notes</title>
<updated>2026-11-26T08:32:12+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T08:32:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=58af57f67fb3887b1055b73dcb2700a289bf4bc4'/>
<id>58af57f67fb3887b1055b73dcb2700a289bf4bc4</id>
<content type='text'>
The V2 built-ins comment said subagents are "always background since
2.3.0", and the README said the subagent `background` parameter "was
removed in 2.3.0". No review checked 2.3.0 as the boundary: the reviews
read the 2.0.7 and 2.3.2 host contracts only. Both passages also
presented `todowrite` behind `experimental.todo` as true of all of V2,
which these files define as 2.0.4 and later, while 2.0.7 has no todo
tool.

Both passages now state only the checked facts: the subagent
`background` parameter is present in 2.0.7 and absent in 2.3.2, and
2.0.7 has no todo tool while 2.3.2 has `todowrite` behind
`experimental.todo`. The mapping lines that say `todowrite` "when
available" state no version, hold on both versions, and are 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>
The V2 built-ins comment said subagents are "always background since
2.3.0", and the README said the subagent `background` parameter "was
removed in 2.3.0". No review checked 2.3.0 as the boundary: the reviews
read the 2.0.7 and 2.3.2 host contracts only. Both passages also
presented `todowrite` behind `experimental.todo` as true of all of V2,
which these files define as 2.0.4 and later, while 2.0.7 has no todo
tool.

Both passages now state only the checked facts: the subagent
`background` parameter is present in 2.0.7 and absent in 2.3.2, and
2.0.7 has no todo tool while 2.3.2 has `todowrite` behind
`experimental.todo`. The mapping lines that say `todowrite` "when
available" state no version, hold on both versions, and are unchanged.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(opencode): say apply_patch when available in the V1 built-ins comment</title>
<updated>2026-11-26T08:31:11+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T08:31:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=61f647514808fd4667eac8095583e980922b2d7f'/>
<id>61f647514808fd4667eac8095583e980922b2d7f</id>
<content type='text'>
The comment above V1_MAPPING listed "(or apply_patch on gpt- models)",
the claim the V1 mapping line below it was corrected away from.
OpenCode 1.19.6's tool registry offers apply_patch only when the model
ID contains `gpt-` and contains neither `gpt-4` nor `oss`, so gpt-4* and
oss model IDs get write and edit. The comment now says "(or apply_patch
when available)", as the mapping line does.

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 comment above V1_MAPPING listed "(or apply_patch on gpt- models)",
the claim the V1 mapping line below it was corrected away from.
OpenCode 1.19.6's tool registry offers apply_patch only when the model
ID contains `gpt-` and contains neither `gpt-4` nor `oss`, so gpt-4* and
oss model IDs get write and edit. The comment now says "(or apply_patch
when available)", as the mapping line does.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(using-superpowers): create checklist todos only with a todo tool, else use the harness mapping</title>
<updated>2026-11-25T09:21:14+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T09:21:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=7caf690a0e2a8b6b304371b9bf7863a94210ff76'/>
<id>7caf690a0e2a8b6b304371b9bf7863a94210ff76</id>
<content type='text'>
The bootstrap told every session to create a todo per checklist item.
Current Claude Code models have no todo tool unless it is switched on
(#2177). The PR made the sentence conditional on "a task-tracking
tool". On Antigravity and Pi, whose references map todos to a task
artifact or a TODO.md, that condition reads as false, so the review
expects agents there to track nothing (toolrefs F1; not measured).

Use the design's sentence: create a todo per item if you have a todo
tool, and use your harness reference's mapping where it maps todos to
something else.

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 bootstrap told every session to create a todo per checklist item.
Current Claude Code models have no todo tool unless it is switched on
(#2177). The PR made the sentence conditional on "a task-tracking
tool". On Antigravity and Pi, whose references map todos to a task
artifact or a TODO.md, that condition reads as false, so the review
expects agents there to track nothing (toolrefs F1; not measured).

Use the design's sentence: create a todo per item if you have a todo
tool, and use your harness reference's mapping where it maps todos to
something else.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(using-superpowers): name read_skill as Muse's skill loader without the CLI command</title>
<updated>2026-11-25T09:20:32+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T09:20:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=ac435477befeb35bb15393940f2d7dc462e66402'/>
<id>ac435477befeb35bb15393940f2d7dc462e66402</id>
<content type='text'>
The Muse skill-invocation paragraph said Muse "has native skill support
via `read_skill` (`muse skills`)". `muse skills` is a CLI subcommand,
not a tool the agent can call; Muse's tool for loading a skill is
`read_skill`, which takes the skill's id or path from the session's
skill catalog.

Use the first sentence of the review's replacement (toolrefs F8). The
bootstrap sentence after it stays as dev has it.

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 Muse skill-invocation paragraph said Muse "has native skill support
via `read_skill` (`muse skills`)". `muse skills` is a CLI subcommand,
not a tool the agent can call; Muse's tool for loading a skill is
`read_skill`, which takes the skill's id or path from the session's
skill catalog.

Use the first sentence of the review's replacement (toolrefs F8). The
bootstrap sentence after it stays as dev has it.

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