mirror of
https://github.com/obra/superpowers.git
synced 2026-09-25 22:09:05 +00:00
Windows: SessionStart hook fails due to CLAUDE_PLUGIN_ROOT path handling #399
Labels
No labels
antigravity
automated-issue-report
brainstorming
bug
claude-code
codex
copilot
cursor
documentation
duplicate
enhancement
factory
gemini-cli
good first issue
help wanted
hermes
hooks
invalid
kiro
needs-categorization
needs-rebase-to-dev-branch
needs-repro-case
new-harness
no-obvious-human-review
opencode
pi
plans
pr-template-rules-ignored
question
skill:brainstorming
skill:diagnosing-superpowers
skill:dispatching-parallel-agents
skill:executing-plans
skill:finishing-a-development-branch
skill:receiving-code-review
skill:requesting-code-review
skills
skill:subagent-driven-development
skill:systematic-debugging
skill:test-driven-development
skill:using-git-worktrees
skill:using-superpowers
skill:verification-before-completion
skill:writing-plans
skill:writing-skills
stale
subagents
tdd
trae
triage
upstream-bug
windows
wontfix
worktrees
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
skills/obra-superpowers#399
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
The SessionStart hook fails on Windows because Claude Code strips backslashes from
${CLAUDE_PLUGIN_ROOT}when passing it to bash.Error
Root Cause
This is a Claude Code bug (reported at https://github.com/anthropics/claude-code/issues/22449), but a workaround in the plugin would help Windows users until it's fixed.
Suggested Workaround
The
session-start.shscript already correctly derives its location usingBASH_SOURCE. The hooks.json could potentially:Current hooks.json
Environment