ECC/scripts
Affaan Mustafa 0e0319a1c2 fix: clamp suggest-compact counter overflow, add 9 boundary tests
Counter file could contain huge values (e.g. 999999999999) that pass
Number.isFinite() but cause unbounded growth. Added range clamp to
reject values outside [1, 1000000].

New tests cover:
- Counter overflow reset (huge number, negative number)
- COMPACT_THRESHOLD zero fallback
- session-end empty sections (no tools/files omits headers)
- session-end slice boundaries (10 messages, 20 tools, 30 files)
- post-edit-console-warn 5-match limit
- post-edit-console-warn ignores console.warn/error/debug
2026-02-13 01:59:25 -08:00
..
ci fix: greedy regex in validate-commands captures all refs per line, add 18 tests 2026-02-13 01:52:30 -08:00
hooks fix: clamp suggest-compact counter overflow, add 9 boundary tests 2026-02-13 01:59:25 -08:00
lib fix: calendar-accurate date validation in parseSessionFilename, add 22 tests 2026-02-13 01:42:56 -08:00
release.sh fix: harden CI validators, shell scripts, and expand test suite 2026-02-12 14:11:33 -08:00
setup-package-manager.js fix: resolve ESLint errors and update tests for project-name fallback 2026-01-29 02:58:51 -08:00
skill-create-output.js fix: box() off-by-one alignment, add 5 tests for readStdinJson and box alignment 2026-02-12 16:53:06 -08:00