ECC/scripts/hooks
Affaan Mustafa 6bbcbec23d fix: exact byte pass-through in post-edit-console-warn, add 7 tests
Replace console.log(data) with process.stdout.write(data) in both
pass-through paths to prevent appending a trailing newline that
corrupts the hook output. Add 7 tests covering exact byte fidelity,
malformed JSON, missing file_path, non-existent files, exclusion
patterns in check-console-log, non-git repo handling, and empty stdin.
2026-02-13 02:49:33 -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: exact byte pass-through in post-edit-console-warn, add 7 tests 2026-02-13 02:49:33 -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