<feed xmlns='http://www.w3.org/2005/Atom'>
<title>superpowers.git/skills/systematic-debugging, branch fix/wave1-systematic-debugging</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(systematic-debugging): import tmpdir in the Layer 3 guard snippet</title>
<updated>2026-11-25T08:38:20+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T08:38:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=d285941c9f1f32c4f2588cf0091dbaa7d9b14bde'/>
<id>d285941c9f1f32c4f2588cf0091dbaa7d9b14bde</id>
<content type='text'>
The Layer 3 snippet in defense-in-depth.md imports resolve, normalize
and sep from node:path, then calls tmpdir(), which node:path does not
export. Run as written with NODE_ENV=test, the guard throws
"ReferenceError: tmpdir is not defined" for every path, the temp
directory included, before it checks anything. Import tmpdir from
node:os, as review finding F1 gives 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 Layer 3 snippet in defense-in-depth.md imports resolve, normalize
and sep from node:path, then calls tmpdir(), which node:path does not
export. Run as written with NODE_ENV=test, the guard throws
"ReferenceError: tmpdir is not defined" for every path, the temp
directory included, before it checks anything. Import tmpdir from
node:os, as review finding F1 gives it.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(systematic-debugging): return the session results and the Layer 1 summary to dev's text where no issue requires a change</title>
<updated>2026-11-25T08:37:35+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T08:37:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=871f1129fb663966c0c9d9a148f345b299bec8c0'/>
<id>871f1129fb663966c0c9d9a148f345b299bec8c0</id>
<content type='text'>
This branch deleted three passages that report the debugging session
these reference files draw on: "Real-World Impact" in
root-cause-tracing.md and in condition-based-waiting.md, and the
"**Result:**" line in defense-in-depth.md. No issue this PR cites
mentions them.

It also rewrote defense-in-depth.md's Layer 1 summary from "validates
not empty/exists/writable" to "validates non-empty existing directory".
Review finding F2 traced the line to the session's Project.create(),
which did check writability, so dev's line was accurate; the rewrite
also reads as "a directory with files in it".

The three files return to dev's text apart from the changes this PR
keeps: the waitFor default and the Layer 3 prefix check with its import.

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>
This branch deleted three passages that report the debugging session
these reference files draw on: "Real-World Impact" in
root-cause-tracing.md and in condition-based-waiting.md, and the
"**Result:**" line in defense-in-depth.md. No issue this PR cites
mentions them.

It also rewrote defense-in-depth.md's Layer 1 summary from "validates
not empty/exists/writable" to "validates non-empty existing directory".
Review finding F2 traced the line to the session's Project.create(),
which did check writability, so dev's line was accurate; the rewrite
also reads as "a directory with files in it".

The three files return to dev's text apart from the changes this PR
keeps: the waitFor default and the Layer 3 prefix check with its import.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(systematic-debugging): return find-polluter.sh, its test and its section to dev's text where no issue requires a change</title>
<updated>2026-11-25T08:37:26+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T08:37:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=e1b426c4a732e0d11650a250b0d5cdb5ccf2d37f'/>
<id>e1b426c4a732e0d11650a250b0d5cdb5ccf2d37f</id>
<content type='text'>
This branch deleted skills/systematic-debugging/find-polluter.sh, its
test tests/systematic-debugging/test-find-polluter.sh, and the "Finding
Which Test Causes Pollution" section of root-cause-tracing.md that runs
the script. Jesse fixed the script and added its test in v6.2.0
(01461735), and no issue this PR cites asks for their removal: #2460
proposes fixes to the script in place, and those fixes are not part of
this PR. The script, its test and the section return to dev's text, so
this branch no longer changes them. The script keeps its executable bit.

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>
This branch deleted skills/systematic-debugging/find-polluter.sh, its
test tests/systematic-debugging/test-find-polluter.sh, and the "Finding
Which Test Causes Pollution" section of root-cause-tracing.md that runs
the script. Jesse fixed the script and added its test in v6.2.0
(01461735), and no issue this PR cites asks for their removal: #2460
proposes fixes to the script in place, and those fixes are not part of
this PR. The script, its test and the section return to dev's text, so
this branch no longer changes them. The script keeps its executable bit.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(systematic-debugging): fix defense-in-depth prefix check (#2460), waitFor signature (#1839), and stale refs</title>
<updated>2026-11-24T05:49:25+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-24T05:49:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=12a6486ee46a7fdfb499aa476831711e1e26b786'/>
<id>12a6486ee46a7fdfb499aa476831711e1e26b786</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(systematic-debugging): remove broken find-polluter.sh script (#2460)</title>
<updated>2026-11-24T05:45:09+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-24T05:45:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=0de05ebfd38f99d236944998a0742dc127bd910d'/>
<id>0de05ebfd38f99d236944998a0742dc127bd910d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(systematic-debugging): ship pressure scenarios under tests/, not in the skill (#2277)</title>
<updated>2026-11-02T18:24:16+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@fsck.com</email>
</author>
<published>2026-11-02T18:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=4eb73b6b70e66a5e1c535f4f579e720b82a3c5de'/>
<id>4eb73b6b70e66a5e1c535f4f579e720b82a3c5de</id>
<content type='text'>
systematic-debugging installed CREATION-LOG.md and four pressure-test
scenarios next to SKILL.md. Nothing in the skill links them, but agents
read and grep installed skill directories, and the scenarios open with
"This is a real scenario. You must choose and act".

Move all five, unchanged, to tests/systematic-debugging/pressure-scenarios/,
and add tests/skill-layout/test-no-dev-files-in-skills.sh, which fails if
any skill directory ships a CREATION-LOG.md or a test-*.md file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
systematic-debugging installed CREATION-LOG.md and four pressure-test
scenarios next to SKILL.md. Nothing in the skill links them, but agents
read and grep installed skill directories, and the scenarios open with
"This is a real scenario. You must choose and act".

Move all five, unchanged, to tests/systematic-debugging/pressure-scenarios/,
and add tests/skill-layout/test-no-dev-files-in-skills.sh, which fails if
any skill directory ships a CREATION-LOG.md or a test-*.md file.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(debugging): avoid printing identity secrets in diagnostics (#2380)</title>
<updated>2026-09-26T19:33:49+00:00</updated>
<author>
<name>m2dumpling</name>
<email>nightydumpling@gmail.com</email>
</author>
<published>2026-09-26T19:33:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=e592b34ffcb7f29150ab0ec90a91d3a5cee89c7c'/>
<id>e592b34ffcb7f29150ab0ec90a91d3a5cee89c7c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Invoke bundled scripts through their interpreter in skill prose</title>
<updated>2026-09-14T18:41:53+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@primeradiant.com</email>
</author>
<published>2026-09-14T18:39:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=d3431eb5e3152cf1eb6077e0837f2fa2f9796e32'/>
<id>d3431eb5e3152cf1eb6077e0837f2fa2f9796e32</id>
<content type='text'>
Plugin packagers for other harnesses can strip executable bits from the
files they ship. The Codex marketplace cache delivered the SDD helpers as
0644 (#2040), and the MiniMax Code marketplace ships its repackaged copy
of our skills tree with every file at mode 600. On those installs every
bare invocation in our skill prose -- `scripts/start-server.sh ...`,
`scripts/review-package ...`, `./find-polluter.sh ...`,
`./render-graphs.js ...` -- fails with "Permission denied", so the
brainstorming visual companion, subagent-driven development, the
polluter bisection helper, and render-graphs are all broken there even
though the repo records the files as 100755.

Spell every script invocation in skills/**/*.md through its interpreter
instead: `bash` for the shell scripts (start-server.sh, stop-server.sh,
sdd-workspace, task-brief, review-package, find-polluter.sh) and `node`
for render-graphs.js, per each script's shebang. That form works whether
or not the exec bit survived packaging. The MiniMax Code marketplace
package independently applied exactly this edit to its copy of v6.2.0;
this brings the same pattern upstream so every packager gets it.

Nothing else in the prose changes. #2134 covers the complementary case
of a script exec'ing a sibling script (task-brief and review-package
calling sdd-workspace) and is still needed alongside this.

Record the rationale in docs/porting-to-a-new-harness.md (Part 6
distribution notes plus an Appendix B gotcha) and add a one-line note to
writing-skills' File Organization section so future skill authors don't
strip the prefixes.

Refs #2040, #2134.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Plugin packagers for other harnesses can strip executable bits from the
files they ship. The Codex marketplace cache delivered the SDD helpers as
0644 (#2040), and the MiniMax Code marketplace ships its repackaged copy
of our skills tree with every file at mode 600. On those installs every
bare invocation in our skill prose -- `scripts/start-server.sh ...`,
`scripts/review-package ...`, `./find-polluter.sh ...`,
`./render-graphs.js ...` -- fails with "Permission denied", so the
brainstorming visual companion, subagent-driven development, the
polluter bisection helper, and render-graphs are all broken there even
though the repo records the files as 100755.

Spell every script invocation in skills/**/*.md through its interpreter
instead: `bash` for the shell scripts (start-server.sh, stop-server.sh,
sdd-workspace, task-brief, review-package, find-polluter.sh) and `node`
for render-graphs.js, per each script's shebang. That form works whether
or not the exec bit survived packaging. The MiniMax Code marketplace
package independently applied exactly this edit to its copy of v6.2.0;
this brings the same pattern upstream so every packager gets it.

Nothing else in the prose changes. #2134 covers the complementary case
of a script exec'ing a sibling script (task-brief and review-package
calling sdd-workspace) and is still needed alongside this.

Record the rationale in docs/porting-to-a-new-harness.md (Part 6
distribution notes plus an Appendix B gotcha) and add a one-line note to
writing-skills' File Organization section so future skill authors don't
strip the prefixes.

Refs #2040, #2134.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(systematic-debugging): find-polluter accepts ./-prefixed patterns and matches top-level tests</title>
<updated>2026-07-23T17:54:50+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@primeradiant.com</email>
</author>
<published>2026-07-23T17:54:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=0146173544e48a6bc970b2a7cca1e16c2c697a6d'/>
<id>0146173544e48a6bc970b2a7cca1e16c2c697a6d</id>
<content type='text'>
Follow-up to #2011 (which fixed the ./-prefix mismatch for the documented
pattern form): strip a leading ./ from the caller's pattern instead of
double-prefixing it into a never-matching ././ form, and also match the
pattern with '**/' collapsed, since find -path cannot match '**/' against
zero directory levels and silently skipped files directly under the base
directory (src/top.test.ts vs src/**/*.test.ts).

Adds a deterministic test suite for the script with a stubbed npm.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow-up to #2011 (which fixed the ./-prefix mismatch for the documented
pattern form): strip a leading ./ from the caller's pattern instead of
double-prefixing it into a never-matching ././ form, and also match the
pattern with '**/' collapsed, since find -path cannot match '**/' against
zero directory levels and silently skipped files directly under the base
directory (src/top.test.ts vs src/**/*.test.ts).

Adds a deterministic test suite for the script with a stubbed npm.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(systematic-debugging): match find -path ./ prefix in find-polluter.sh (#2011)</title>
<updated>2026-07-23T17:53:39+00:00</updated>
<author>
<name>dev_Hakaze</name>
<email>af.nawfal@gmail.com</email>
</author>
<published>2026-07-23T17:53:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=54d0efefd7ce56b82dd32402d26f6aaa3ab75f21'/>
<id>54d0efefd7ce56b82dd32402d26f6aaa3ab75f21</id>
<content type='text'>
find . emits ./-prefixed paths, so -path "src/**/*.test.ts" matched
nothing; wc -l on empty stdin then lied as "Found 1". Fixes #2008.

Co-authored-by: arimu1 &lt;19286898+arimu1@users.noreply.github.com&gt;
Co-authored-by: Cursor &lt;cursoragent@cursor.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
find . emits ./-prefixed paths, so -path "src/**/*.test.ts" matched
nothing; wc -l on empty stdin then lied as "Found 1". Fixes #2008.

Co-authored-by: arimu1 &lt;19286898+arimu1@users.noreply.github.com&gt;
Co-authored-by: Cursor &lt;cursoragent@cursor.com&gt;</pre>
</div>
</content>
</entry>
</feed>
