ECC/scripts/hooks
Affaan Mustafa f4758ff8f0 fix: consistent periodic interval spacing in suggest-compact, add 10 tests
- suggest-compact.js: count % 25 → (count - threshold) % 25 for consistent
  spacing regardless of threshold value
- Update existing periodic interval test to match corrected behavior
- 10 new tests: interval fix regression (non-25-divisible threshold, false
  suggestion prevention), corrupted counter file, 1M boundary, malformed
  JSON pass-through, non-TS extension pass-through, empty sessions dir,
  blank template skip
2026-02-13 02:45:08 -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: consistent periodic interval spacing in suggest-compact, add 10 tests 2026-02-13 02:45:08 -08:00