<feed xmlns='http://www.w3.org/2005/Atom'>
<title>superpowers.git/docs, branch fix/wave1-public-docs-and-errata</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-public-docs-and-errata</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=3d1bd8f963d1ef8ea1a01dc9b17729507c1ec6c4'/>
<id>3d1bd8f963d1ef8ea1a01dc9b17729507c1ec6c4</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>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(porting): point the marketplace row at the README's install routes</title>
<updated>2026-11-25T09:19:58+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T09:19:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=da0d65d55330d591b03b6b7d818dc7dd7746e4e1'/>
<id>da0d65d55330d591b03b6b7d818dc7dd7746e4e1</id>
<content type='text'>
The row sent readers to `AGENTS.md`, and before that to release steps in
`CLAUDE.md`; neither file says anything about the marketplace. It also
called the external repo the only place users install from. The row
names `.claude-plugin/marketplace.json` as the `superpowers-dev`
development marketplace, names both routes users install from, and
points at the README's Claude Code section, which documents them.

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 row sent readers to `AGENTS.md`, and before that to release steps in
`CLAUDE.md`; neither file says anything about the marketplace. It also
called the external repo the only place users install from. The row
names `.claude-plugin/marketplace.json` as the `superpowers-dev`
development marketplace, names both routes users install from, and
points at the README's Claude Code section, which documents them.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(porting): scope Antigravity's hook observations to agy 1.3.1 and record what 1.5.16 has</title>
<updated>2026-11-25T09:19:43+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T09:19:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=0df7f140f26586a2122d65e63fb54739098e01c5'/>
<id>0df7f140f26586a2122d65e63fb54739098e01c5</id>
<content type='text'>
Jesse's paragraph records what probing agy 1.3.1 found, and the guide
states it with no version. agy 1.5.16 has a SessionStart hook event and
sets PLUGIN_ROOT for plugin hook commands (since 1.5.3), so "its hooks
have no session-start event" and "${PLUGIN_ROOT} is not set in hooks"
are false for current agy.

The hooks bullet opens with the version it describes, and one sentence
after Jesse's says what 1.5.16 has: SessionStart and PLUGIN_ROOT, with
hooks.json read only from the plugin root. The routing-table example and
the Appendix A bootstrap cell name the same version. Jesse's observations
and the skill-index choice stay as they are.

The 1.5.16 facts are from the agy binary's embedded hook docs and
changelog. The installed agy 1.5.17 says the same: SessionStart runs
"once when a new conversation session starts", plugin hooks get
PLUGIN_ROOT as an environment variable, and `agy plugin validate` reports
"plugin hooks are read only from hooks.json at the plugin root".

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>
Jesse's paragraph records what probing agy 1.3.1 found, and the guide
states it with no version. agy 1.5.16 has a SessionStart hook event and
sets PLUGIN_ROOT for plugin hook commands (since 1.5.3), so "its hooks
have no session-start event" and "${PLUGIN_ROOT} is not set in hooks"
are false for current agy.

The hooks bullet opens with the version it describes, and one sentence
after Jesse's says what 1.5.16 has: SessionStart and PLUGIN_ROOT, with
hooks.json read only from the plugin root. The routing-table example and
the Appendix A bootstrap cell name the same version. Jesse's observations
and the skill-index choice stay as they are.

The 1.5.16 facts are from the agy binary's embedded hook docs and
changelog. The installed agy 1.5.17 says the same: SessionStart runs
"once when a new conversation session starts", plugin hooks get
PLUGIN_ROOT as an environment variable, and `agy plugin validate` reports
"plugin hooks are read only from hooks.json at the plugin root".

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(docs): return README, release-notes and porting-guide rewording to dev's text where no issue requires a change</title>
<updated>2026-11-25T09:17:53+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T09:17:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=66203d7265c6f1b9f92893582c9897d6263a52e4'/>
<id>66203d7265c6f1b9f92893582c9897d6263a52e4</id>
<content type='text'>
Each README and porting-guide line keeps only the part the review found
false; everything else reads as it does on dev.

- RELEASE-NOTES.md: the erratum appended to the shipped v6.0.3 entry
  returns. Shipped release notes are not rewritten (#2353).
- README.md: the trailing-space edit, the test-driven-development step,
  the diagnosing-superpowers paragraph, verification-before-completion
  under Debugging and the requesting-code-review library line return.
  Narrowed: Muse names no Copilot CLI; brainstorming keeps its sentence
  with "a short design doc" for small changes; writing-plans and
  using-git-worktrees swap places (#1578) with only their false clauses
  corrected; the requesting-code-review step keeps "Reviews against plan";
  the SDD library line and the evals line change only the false word.
- docs/porting-to-a-new-harness.md: Jesse's Antigravity paragraph and the
  two Antigravity table cells return, to be scoped to agy 1.3.1 on their
  own; the Claude Code tool-mapping cell returns. The subagent row keeps
  "if unavailable", the emphasis on never inventing a Task call and the
  Codex example, and names which skill degrades how.

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>
Each README and porting-guide line keeps only the part the review found
false; everything else reads as it does on dev.

- RELEASE-NOTES.md: the erratum appended to the shipped v6.0.3 entry
  returns. Shipped release notes are not rewritten (#2353).
- README.md: the trailing-space edit, the test-driven-development step,
  the diagnosing-superpowers paragraph, verification-before-completion
  under Debugging and the requesting-code-review library line return.
  Narrowed: Muse names no Copilot CLI; brainstorming keeps its sentence
  with "a short design doc" for small changes; writing-plans and
  using-git-worktrees swap places (#1578) with only their false clauses
  corrected; the requesting-code-review step keeps "Reviews against plan";
  the SDD library line and the evals line change only the false word.
- docs/porting-to-a-new-harness.md: Jesse's Antigravity paragraph and the
  two Antigravity table cells return, to be scoped to agy 1.3.1 on their
  own; the Claude Code tool-mapping cell returns. The subagent row keeps
  "if unavailable", the emphasis on never inventing a Task call and the
  Codex example, and names which skill degrades how.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'fix/wave1-run-hook-heredoc' into fix/wave1-public-docs-and-errata</title>
<updated>2026-11-25T09:12:04+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T09:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=7ae838924aa0ec0ce135df8eb75f7c64095385b4'/>
<id>7ae838924aa0ec0ce135df8eb75f7c64095385b4</id>
<content type='text'>
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>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(hooks): escape carriage returns in the polyglot-hooks JSON example</title>
<updated>2026-11-25T08:43:02+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T08:43:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=4be7cd4fda25e090b84e446a9906ccfa7dd04d20'/>
<id>4be7cd4fda25e090b84e446a9906ccfa7dd04d20</id>
<content type='text'>
The POSIX rewrite of the escape_for_json example dropped the carriage
return case the bash version had, though hooks/session-start still
escapes it. A hook copied from the example emits a raw CR inside a JSON
string whenever the injected file has CRLF line endings, and the harness
rejects the JSON. Add the CR replacement session-start uses, guarded on
an empty $cr because replace_all never ends on an empty search string.

Checked by extracting the block and escaping a string holding a
backslash, a quote, CR, LF and a tab under bash, dash, zsh and /bin/sh:
node's JSON.parse rejected all four outputs before the change, and after
it all four parse back to the input.

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 of the escape_for_json example dropped the carriage
return case the bash version had, though hooks/session-start still
escapes it. A hook copied from the example emits a raw CR inside a JSON
string whenever the injected file has CRLF line endings, and the harness
rejects the JSON. Add the CR replacement session-start uses, guarded on
an empty $cr because replace_all never ends on an empty search string.

Checked by extracting the block and escaping a string holding a
backslash, a quote, CR, LF and a tab under bash, dash, zsh and /bin/sh:
node's JSON.parse rejected all four outputs before the change, and after
it all four parse back to the input.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(hooks): name dash, not ash or sh, as the shell that rejects bash-only constructs</title>
<updated>2026-11-25T08:42:13+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T08:42:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=67c748041b7ea7f324070e95e3509951a7a8ff3f'/>
<id>67c748041b7ea7f324070e95e3509951a7a8ff3f</id>
<content type='text'>
The Avoid list said ${s//a/b}, [[ ... ]], $'\n' and (( i++ )) fail on
dash, ash and sh. Only dash rejects all four. busybox ash accepts the
first three and rejects only (( i++ )), and macOS /bin/sh is bash, which
accepts all four. Checked on macOS /bin/dash, /bin/sh (bash 3.2) and the
busybox:latest image.

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 Avoid list said ${s//a/b}, [[ ... ]], $'\n' and (( i++ )) fail on
dash, ash and sh. Only dash rejects all four. busybox ash accepts the
first three and rejects only (( i++ )), and macOS /bin/sh is bash, which
accepts all four. Checked on macOS /bin/dash, /bin/sh (bash 3.2) and the
busybox:latest image.

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>
</feed>
