ECC/scripts/hooks
Affaan Mustafa b1b28f2f92 fix: capture stderr in typecheck hook, add 13 tests for session-end and utils
- post-edit-typecheck.js: capture both stdout and stderr from tsc
- hooks.test.js: 7 extractSessionSummary tests (JSONL parsing, array content,
  malformed lines, empty transcript, long message truncation, env var fallback)
- utils.test.js: 6 tests (replaceInFile g-flag behavior, string replace,
  capture groups, writeFile overwrite, unicode content)

Total test count: 294 → 307
2026-02-12 16:31:07 -08:00
..
check-console-log.js fix: 3 bugs fixed, stdin encoding hardened, 37 CI validator tests added 2026-02-12 16:08:49 -08:00
evaluate-session.js fix: 3 bugs fixed, stdin encoding hardened, 37 CI validator tests added 2026-02-12 16:08:49 -08:00
post-edit-console-warn.js fix: 3 bugs fixed, stdin encoding hardened, 37 CI validator tests added 2026-02-12 16:08:49 -08:00
post-edit-format.js fix: 3 bugs fixed, stdin encoding hardened, 37 CI validator tests added 2026-02-12 16:08:49 -08:00
post-edit-typecheck.js fix: capture stderr in typecheck hook, add 13 tests for session-end and utils 2026-02-12 16:31:07 -08:00
pre-compact.js feat: cross-platform support with Node.js scripts 2026-01-22 23:08:07 -08:00
session-end.js fix: broken cross-references, version sync, and enhanced command validator 2026-02-12 16:19:04 -08:00
session-start.js fix: remove unused fs imports in 3 hook scripts 2026-02-12 15:33:51 -08:00
suggest-compact.js fix: broken cross-references, version sync, and enhanced command validator 2026-02-12 16:19:04 -08:00