ECC/scripts
Affaan Mustafa 63be081741 fix: renameAlias data corruption, empty sessionId match, NaN threshold
- Fix renameAlias() leaving orphaned newAlias key on save failure,
  causing in-memory data corruption with both old and new keys present
- Add sessionPath validation to setAlias() to reject empty/null paths
- Guard getSessionById() against empty string matching all sessions
  (startsWith('') is always true in JavaScript)
- Fix suggest-compact.js NaN comparison when COMPACT_THRESHOLD env var
  is set to a non-numeric value — falls back to 50 instead of silently
  disabling the threshold check
- Sync suggest-compact.js to .cursor/ copy
2026-02-12 14:30:10 -08:00
..
ci fix: harden CI validators, shell scripts, and expand test suite 2026-02-12 14:11:33 -08:00
hooks fix: renameAlias data corruption, empty sessionId match, NaN threshold 2026-02-12 14:30:10 -08:00
lib fix: renameAlias data corruption, empty sessionId match, NaN threshold 2026-02-12 14:30:10 -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: resolve ESLint errors and update tests for project-name fallback 2026-01-29 02:58:51 -08:00