Parent
Refs #912 (audit umbrella; finding F3).
What to build
block-noncanonical-commit.sh's BLOCKED remediation text tells the caller to use git commit -F - --cleanup=verbatim <<'EOF' … EOF — a bash heredoc that does not run in PowerShell or cmd. On Windows-primary machines (PowerShell tool primary; and after #915 broadens the matcher, PowerShell-tool traffic hits this guard directly) the remediation is unusable as pasted.
Make the remediation shell-agnostic or shell-aware: either present both forms (bash heredoc + PowerShell pipeline equivalent, e.g. a here-string piped to git commit -F - --cleanup=verbatim), or detect the invoking tool (tool_name in the hook payload) and tailor the snippet. Keep the /commit-skill pointer first — it is shell-neutral.
Acceptance criteria
Blocked by
Parent
Refs #912 (audit umbrella; finding F3).
What to build
block-noncanonical-commit.sh's BLOCKED remediation text tells the caller to usegit commit -F - --cleanup=verbatim <<'EOF' … EOF— a bash heredoc that does not run in PowerShell or cmd. On Windows-primary machines (PowerShell tool primary; and after #915 broadens the matcher, PowerShell-tool traffic hits this guard directly) the remediation is unusable as pasted.Make the remediation shell-agnostic or shell-aware: either present both forms (bash heredoc + PowerShell pipeline equivalent, e.g. a here-string piped to
git commit -F - --cleanup=verbatim), or detect the invoking tool (tool_namein the hook payload) and tailor the snippet. Keep the /commit-skill pointer first — it is shell-neutral.Acceptance criteria
Blocked by