ECC/scripts/hooks
Affaan Mustafa 4ff4872bf3 fix: nullish coalescing in evaluate-session config, narrow pre-compact glob, add 11 tests
- evaluate-session.js: || 10 → ?? 10 for min_session_length (0 is valid)
- pre-compact.js: *.tmp → *-session.tmp to match only session files
- 11 new tests: config loading (min=0, null, custom path, invalid JSON),
  session-end update path (timestamp, template replace, preserve content),
  pre-compact glob specificity, extractSessionSummary edge cases
2026-02-13 02:42:01 -08:00
..
check-console-log.js fix: eliminate command injection in hooks, fix pass-through newline corruption, add 8 tests 2026-02-13 02:22:55 -08:00
evaluate-session.js fix: nullish coalescing in evaluate-session config, narrow pre-compact glob, add 11 tests 2026-02-13 02:42:01 -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: eliminate command injection in hooks, fix pass-through newline corruption, add 8 tests 2026-02-13 02:22:55 -08:00
post-edit-typecheck.js fix: eliminate command injection in hooks, fix pass-through newline corruption, add 8 tests 2026-02-13 02:22:55 -08:00
pre-compact.js fix: nullish coalescing in evaluate-session config, narrow pre-compact glob, add 11 tests 2026-02-13 02:42:01 -08:00
session-end.js fix: Windows compatibility for hook scripts (execFileSync + tmux) (#215) 2026-02-13 01:04:27 -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: clamp suggest-compact counter overflow, add 9 boundary tests 2026-02-13 01:59:25 -08:00