ECC/docs
suusuu0927 1ebf45c533 fix(hooks): rewrite patch_settings_cl_v2_simple.ps1 to avoid argv-dup bug
- Use PATH-resolved `bash` as first token instead of quoted `.exe` path
  so Claude Code v2.1.116 argv duplication does not feed a binary to
  bash as its $0 (repro: exit 126 "cannot execute binary file").
- Point the command at `observe-wrapper.sh` and pass distinct `pre` /
  `post` positional arguments so PreToolUse and PostToolUse are
  registered as separate entries.
- Normalize the wrapper path to forward slashes before embedding in the
  hook command to avoid MSYS backslash surprises.
- Write UTF-8 (no BOM) with CRLF normalized to LF so downstream JSON
  parsers never see mixed line endings.
- Preserve existing hooks (legacy `observe.sh`, third-party entries)
  by appending only when the canonical command string is not already
  registered. Re-runs are idempotent ([SKIP] both phases).
- Keep the script compatible with Windows PowerShell 5.1: fall back to
  a manual PSCustomObject → Hashtable conversion when
  `ConvertFrom-Json -AsHashtable` is unavailable, and materialize hook
  arrays as `System.Collections.ArrayList` so single-element arrays
  survive PS 5.1 `ConvertTo-Json` serialization.

Companion to PR #1524 (settings.local.json shape fix) and PR #1540
(install_hook_wrapper.ps1 argv-dup fix).
2026-04-22 06:41:12 +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 patch_settings_cl_v2_simple.ps1 to avoid argv-dup bug 2026-04-22 06:41:12 +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