ECC/docs
suusuu0927 c32f0fffb1 fix(hooks): rewrite install_hook_wrapper.ps1 to avoid argv-dup bug
Under Claude Code v2.1.116 the first argv token of a hook command is
duplicated. When the token is a quoted Windows .exe path, bash.exe is
re-invoked with itself as script (exit 126). PR #1524 fixed the shape
of settings.local.json; this script keeps the installer consistent so
re-running it does not regenerate the broken form.

Changes:
- First token is now PATH-resolved `bash` instead of the quoted bash.exe
- Wrapper path is normalized to forward slashes for MSYS safety
- PreToolUse and PostToolUse get distinct pre/post positional arguments
- JSON output is written with LF endings (no mixed CRLF/LF)

Companion doc: docs/fixes/INSTALL-HOOK-WRAPPER-FIX-20260422.md
2026-04-22 06:19:15 +09:00
..
business fix: harden unicode safety checks 2026-03-29 21:21:18 -04:00
examples feat: add product capability planning lane 2026-04-05 16:58:02 -07:00
fixes fix(hooks): rewrite install_hook_wrapper.ps1 to avoid argv-dup bug 2026-04-22 06:19:15 +09:00
ja-JP fix: publish npm releases and clarify install identifiers 2026-04-14 20:42:28 -07:00
ko-KR fix: unblock urgent install and gateguard regressions 2026-04-14 19:23:07 -07:00
pt-BR fix: publish npm releases and clarify install identifiers 2026-04-14 20:42:28 -07:00
releases chore: ship v1.10.0 release surface refresh 2026-04-05 13:20:18 -07:00
tr fix: unblock urgent install and gateguard regressions 2026-04-14 19:23:07 -07:00
zh-CN fix: publish npm releases and clarify install identifiers 2026-04-14 20:42:28 -07:00
zh-TW fix: unblock urgent install and gateguard regressions 2026-04-14 19:23:07 -07:00
ANTIGRAVITY-GUIDE.md docs: add Antigravity setup and usage guide (#552) 2026-03-20 00:21:37 -07:00
ARCHITECTURE-IMPROVEMENTS.md feat: architecture improvements — test discovery, hooks schema, catalog, command map, coverage, cross-harness docs 2026-03-10 19:36:57 -07:00
capability-surface-selection.md docs: add capability surface selection guide 2026-04-06 14:21:28 -07:00
COMMAND-AGENT-MAP.md feat(agents): add typescript-reviewer agent (#647) 2026-03-19 20:49:23 -07:00
continuous-learning-v2-spec.md feat: deliver v1.8.0 harness reliability and parity updates 2026-03-04 14:48:06 -08:00
ECC-2.0-REFERENCE-ARCHITECTURE.md docs: add ECC 2.0 reference architecture from competitor research 2026-03-22 15:50:32 -07:00
ECC-2.0-SESSION-ADAPTER-DISCOVERY.md feat: orchestration harness, selective install, observer improvements 2026-03-14 12:55:25 -07:00
HERMES-OPENCLAW-MIGRATION.md feat: add ecc2 legacy plugin migration import 2026-04-10 11:53:17 -07:00
HERMES-SETUP.md feat: add ecc2 legacy plugin migration import 2026-04-10 11:53:17 -07:00
hook-bug-workarounds.md docs: add canonical hook bug workaround guide 2026-04-06 14:12:21 -07:00
MANUAL-ADAPTATION-GUIDE.md docs: add manual adaptation guide for non-native harnesses 2026-04-05 14:39:55 -07:00
MEGA-PLAN-REPO-PROMPTS-2026-03-12.md feat: orchestration harness, selective install, observer improvements 2026-03-14 12:55:25 -07:00
PHASE1-ISSUE-BUNDLE-2026-03-12.md feat: orchestration harness, selective install, observer improvements 2026-03-14 12:55:25 -07:00
PR-399-REVIEW-2026-03-12.md feat: orchestration harness, selective install, observer improvements 2026-03-14 12:55:25 -07:00
PR-QUEUE-TRIAGE-2026-03-13.md feat: orchestration harness, selective install, observer improvements 2026-03-14 12:55:25 -07:00
SELECTIVE-INSTALL-ARCHITECTURE.md chore: ship v1.10.0 release surface refresh 2026-04-05 13:20:18 -07:00
SELECTIVE-INSTALL-DESIGN.md feat: orchestration harness, selective install, observer improvements 2026-03-14 12:55:25 -07:00
SESSION-ADAPTER-CONTRACT.md feat(session): add worker health alongside state in ecc.session.v1 (#751) 2026-03-22 15:39:51 -07:00
skill-adaptation-policy.md docs: add skill adaptation policy 2026-04-06 14:30:23 -07:00
SKILL-DEVELOPMENT-GUIDE.md refactor: move project guidelines example into docs 2026-04-05 15:03:59 -07:00
SKILL-PLACEMENT-POLICY.md feat: define skill placement and provenance policy (#748) 2026-03-22 15:39:48 -07:00
token-optimization.md docs: add Claude Code troubleshooting workarounds 2026-03-31 15:15:09 -07:00
TROUBLESHOOTING.md docs: add canonical hook bug workaround guide 2026-04-06 14:12:21 -07:00