ECC/scripts
Affaan Mustafa f3a4b33d41 fix: harden CI validators, shell scripts, and expand test suite
- Add try-catch around readFileSync in validate-agents, validate-commands,
  validate-skills to handle TOCTOU races and file read errors
- Add validate-hooks.js and all test suites to package.json test script
  (was only running 4/5 validators and 0/4 test files)
- Fix shell variable injection in observe.sh: use os.environ instead of
  interpolating $timestamp/$OBSERVATIONS_FILE into Python string literals
- Fix $? always being 0 in start-observer.sh: capture exit code before
  conditional since `if !` inverts the status
- Add OLD_VERSION validation in release.sh and use pipe delimiter in sed
  to avoid issues with slash-containing values
- Add jq dependency check in evaluate-session.sh before parsing config
- Sync .cursor/ copies of all modified shell scripts
2026-02-12 14:11:33 -08:00
..
ci fix: harden CI validators, shell scripts, and expand test suite 2026-02-12 14:11:33 -08:00
hooks fix: harden error handling, fix TOCTOU races, and improve test accuracy 2026-02-12 13:40:14 -08:00
lib feat: add TypeScript declaration files for all core libraries 2026-02-12 13:56:48 -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