<feed xmlns='http://www.w3.org/2005/Atom'>
<title>superpowers.git/.gitattributes, 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(executing-plans): return task-done's log staging, id check and LF rule to dev's text where no issue requires a change</title>
<updated>2026-11-26T09:26:27+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T09:26:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=02cf11a2995bd858c65d383b3c23e18ec244e042'/>
<id>02cf11a2995bd858c65d383b3c23e18ec244e042</id>
<content type='text'>
task-done keeps what its issues need: BASE is peeled to a commit
(#2620), sdd-workspace runs through bash (#2642), and the ledger
records "exit 0, log: task-&lt;N&gt;-tests.log", or "exit 0 (no output), ..."
when the command printed nothing, in place of a scraped last line
(#2342).

No cited issue asks for the rest, so it reads as on dev again:
- the task-id guard and the validation through task-brief (#2342 never
  mentions task ids), with its two test cases and the deleted-plan
  assertion that pinned it;
- the .failed.log staging with its EXIT trap and temp log, the stderr
  warning for a silent pass and its aside in SKILL.md, the ledger header
  read from the plan-path marker, and the repair of an unterminated
  ledger line, with the five test cases that pinned them;
- the skills/*/scripts/* LF rule in .gitattributes, with its check-attr
  case.

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-done keeps what its issues need: BASE is peeled to a commit
(#2620), sdd-workspace runs through bash (#2642), and the ledger
records "exit 0, log: task-&lt;N&gt;-tests.log", or "exit 0 (no output), ..."
when the command printed nothing, in place of a scraped last line
(#2342).

No cited issue asks for the rest, so it reads as on dev again:
- the task-id guard and the validation through task-brief (#2342 never
  mentions task ids), with its two test cases and the deleted-plan
  assertion that pinned it;
- the .failed.log staging with its EXIT trap and temp log, the stderr
  warning for a silent pass and its aside in SKILL.md, the ledger header
  read from the plan-path marker, and the repair of an unterminated
  ledger line, with the five test cases that pinned them;
- the skills/*/scripts/* LF rule in .gitattributes, with its check-attr
  case.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(executing-plans): survive stripped exec bits, validate task ids, and record exit status in ledger</title>
<updated>2026-11-24T22:56:05+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=d321f4b9611990a7eaf01519075f9027bd69db5a'/>
<id>d321f4b9611990a7eaf01519075f9027bd69db5a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: restore polyglot wrapper to fix Windows hook window spawning</title>
<updated>2026-02-21T18:29:26+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@fsck.com</email>
</author>
<published>2026-02-11T02:34:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=5fbefbd0a96074f871ec465f0c54f913c1e4919f'/>
<id>5fbefbd0a96074f871ec465f0c54f913c1e4919f</id>
<content type='text'>
Claude Code spawns hook commands with shell:true + windowsHide:true,
but on Windows the execution chain cmd.exe -&gt; bash.exe causes Git
Bash (MSYS2) to allocate its own console window, bypassing the hide
flag. This creates visible terminal windows that steal focus on every
SessionStart event (startup, resume, clear, compact).

The fix:
- Rename session-start.sh to session-start (no extension) so Claude
  Code's .sh auto-detection regex doesn't fire and prepend "bash"
- Restore run-hook.cmd polyglot wrapper to control bash invocation
  on Windows (tries known Git Bash paths, then PATH, then exits
  silently if no bash found)
- On Unix, the polyglot's shell portion runs the script directly

This avoids Claude Code's broken .sh auto-prepend, gives us control
over how bash is invoked on Windows, and gracefully handles missing
bash instead of erroring.

Addresses: #440, #414, #354, #417, #293
Upstream: anthropics/claude-code#14828
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Claude Code spawns hook commands with shell:true + windowsHide:true,
but on Windows the execution chain cmd.exe -&gt; bash.exe causes Git
Bash (MSYS2) to allocate its own console window, bypassing the hide
flag. This creates visible terminal windows that steal focus on every
SessionStart event (startup, resume, clear, compact).

The fix:
- Rename session-start.sh to session-start (no extension) so Claude
  Code's .sh auto-detection regex doesn't fire and prepend "bash"
- Restore run-hook.cmd polyglot wrapper to control bash invocation
  on Windows (tries known Git Bash paths, then PATH, then exits
  silently if no bash found)
- On Unix, the polyglot's shell portion runs the script directly

This avoids Claude Code's broken .sh auto-prepend, gives us control
over how bash is invoked on Windows, and gracefully handles missing
bash instead of erroring.

Addresses: #440, #414, #354, #417, #293
Upstream: anthropics/claude-code#14828
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: Windows hook execution for Claude Code 2.1.x (#331)</title>
<updated>2026-01-23T03:56:52+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@fsck.com</email>
</author>
<published>2026-01-22T21:29:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=36fcd576265b93d3a0048ad928c986a4b9bf1af8'/>
<id>36fcd576265b93d3a0048ad928c986a4b9bf1af8</id>
<content type='text'>
* fix: convert shell scripts from CRLF to LF line endings

Add .gitattributes to enforce LF line endings for shell scripts,
preventing bash errors like "/usr/bin/bash: line 1: : command not found"
when scripts are checked out on Windows with CRLF.

Fixes #317 (SessionStart hook fails due to CRLF line endings)

Files converted:
- hooks/session-start.sh
- lib/brainstorm-server/start-server.sh
- lib/brainstorm-server/stop-server.sh
- lib/brainstorm-server/wait-for-feedback.sh
- skills/systematic-debugging/find-polluter.sh

Co-Authored-By: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;

* fix: update Windows hook execution for Claude Code 2.1.x

Claude Code 2.1.x changed the Windows execution model: it now auto-detects
.sh files in hook commands and prepends "bash " automatically. This broke
the polyglot wrapper because:

  Before: "run-hook.cmd" session-start.sh  (wrapper executes)
  After:  bash "run-hook.cmd" session-start.sh  (bash can't run .cmd)

Changes:
- hooks.json now calls session-start.sh directly (Claude Code handles bash)
- Added deprecation comment to run-hook.cmd explaining the change
- Updated RELEASE-NOTES.md

Fixes #317, #313, #275, #292

Co-Authored-By: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;

---------

Co-authored-by: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fix: convert shell scripts from CRLF to LF line endings

Add .gitattributes to enforce LF line endings for shell scripts,
preventing bash errors like "/usr/bin/bash: line 1: : command not found"
when scripts are checked out on Windows with CRLF.

Fixes #317 (SessionStart hook fails due to CRLF line endings)

Files converted:
- hooks/session-start.sh
- lib/brainstorm-server/start-server.sh
- lib/brainstorm-server/stop-server.sh
- lib/brainstorm-server/wait-for-feedback.sh
- skills/systematic-debugging/find-polluter.sh

Co-Authored-By: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;

* fix: update Windows hook execution for Claude Code 2.1.x

Claude Code 2.1.x changed the Windows execution model: it now auto-detects
.sh files in hook commands and prepends "bash " automatically. This broke
the polyglot wrapper because:

  Before: "run-hook.cmd" session-start.sh  (wrapper executes)
  After:  bash "run-hook.cmd" session-start.sh  (bash can't run .cmd)

Changes:
- hooks.json now calls session-start.sh directly (Claude Code handles bash)
- Added deprecation comment to run-hook.cmd explaining the change
- Updated RELEASE-NOTES.md

Fixes #317, #313, #275, #292

Co-Authored-By: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;

---------

Co-authored-by: Claude Opus 4.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
