ECC/scripts/hooks
Affaan Mustafa 6686cb9bda fix: add try-catch to inline hooks, fix schema drift
- Wrap JSON.parse in try-catch for all 6 inline hooks in hooks.json
  (dev-server blocker, tmux reminder, git-push reminder, doc blocker,
  PR create logger, build analysis) — previously unguarded JSON.parse
  would crash on empty/malformed stdin, preventing data passthrough
- Add config parse error logging to evaluate-session.js
- Fix plugin.schema.json: author can be string or {name,url} object,
  add version (semver pattern), homepage, keywords, skills, agents
- Fix package-manager.schema.json: add setAt (date-time) field and
  make packageManager required to match actual code behavior
2026-02-12 14:38:00 -08:00
..
check-console-log.js fix: path traversal in install.sh, error logging in hooks 2026-02-12 14:14:21 -08:00
evaluate-session.js fix: add try-catch to inline hooks, fix schema drift 2026-02-12 14:38:00 -08:00
post-edit-console-warn.js fix: harden error handling, fix TOCTOU races, and improve test accuracy 2026-02-12 13:40:14 -08:00
post-edit-format.js fix: harden error handling, fix TOCTOU races, and improve test accuracy 2026-02-12 13:40:14 -08:00
post-edit-typecheck.js fix: harden error handling, fix TOCTOU races, and improve test accuracy 2026-02-12 13:40:14 -08:00
pre-compact.js feat: cross-platform support with Node.js scripts 2026-01-22 23:08:07 -08:00
session-end.js fix: path traversal in install.sh, error logging in hooks 2026-02-12 14:14:21 -08:00
session-start.js fix: eliminate child process spawns during session startup (#162) 2026-02-12 00:01:23 -08:00
suggest-compact.js fix: renameAlias data corruption, empty sessionId match, NaN threshold 2026-02-12 14:30:10 -08:00