mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02: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 |
||
|---|---|---|
| .. | ||
| check-console-log.js | ||
| evaluate-session.js | ||
| post-edit-console-warn.js | ||
| post-edit-format.js | ||
| post-edit-typecheck.js | ||
| pre-compact.js | ||
| session-end.js | ||
| session-start.js | ||
| suggest-compact.js | ||