superpowers/tests
Jesse Vincent 390bc07abb fix(hooks): dispatch the SessionStart hook via Git Bash on Windows
The SessionStart command string starts with a quoted path, which breaks
both Windows shells Claude Code may hand it to: PowerShell parses the
leading quoted string as an expression and dies on the next bareword
('Unexpected token session-start', #1751), and cmd.exe's /c quote rule
drops the outer quotes when the path contains a metacharacter, so a
profile dir like C:\Users\Name(External) truncates the command at the
'(' (#1918). Either way the bootstrap silently never loads.

Declare shell: "bash" on the hook. Claude Code >= 2.1.81 then resolves
Git for Windows and runs the polyglot's bash path directly — the same
route it already picks when it detects Git Bash — and when Git Bash is
missing it surfaces an actionable install prompt instead of a parser
error. Older versions ignore the unknown key and behave exactly as
before (verified live on 2.0.77 and 2.1.80).

Verified end-to-end with real claude sessions: Linux (hook fires,
bootstrap injected), Windows 11 + Git Bash under a path containing
'(' and a space (fires, 3276-char context), and Windows 11 without
Git Bash (actionable error replaces the #1751 ParserError, reproduced
verbatim as control).

Fixes #1751
Fixes #1918
2026-07-16 00:13:35 +00:00
..
antigravity test: realign antigravity + pi mapping assertions with pruned references 2026-07-15 11:10:55 -07:00
brainstorm-server test(deps): bump ws to ^8.21.0 in brainstorm-server tests 2026-06-18 15:44:22 -07:00
claude-code test(sdd): wire test-sdd-workspace.sh into the runner; note git clean -fdx 2026-06-18 15:44:22 -07:00
codex Preserve hooks in Codex package manifest 2026-07-02 14:53:00 -07:00
codex-plugin-sync fix: exclude repo metadata from Codex sync (PRI-1168) 2026-06-16 17:02:33 -07:00
explicit-skill-requests Tighten cross-platform tool references 2026-06-16 10:09:43 -07:00
hooks fix(hooks): dispatch the SessionStart hook via Git Bash on Windows 2026-07-16 00:13:35 +00:00
kimi Tighten Kimi plugin porting coverage 2026-06-16 10:09:44 -07:00
opencode Tighten cross-platform tool references 2026-06-16 10:09:43 -07:00
pi test(pi): scope mapping assertions to the table, not whole file 2026-07-15 11:10:55 -07:00
shell-lint Add shell lint script 2026-06-16 10:09:45 -07:00