mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-12 16:22:30 +02:00
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 |
||
|---|---|---|
| .. | ||
| evaluate-session.test.js | ||
| hooks.test.js | ||