ECC/schemas
Affaan Mustafa 7ec5fc3a52 fix: add event type enum to hooks schema and avoid shared RegExp state
- hooks.schema.json: add enum constraint for hook event types
  (PreToolUse, PostToolUse, PreCompact, SessionStart, SessionEnd,
  Stop, Notification, SubagentStop) — enables IDE autocompletion
  and compile-time validation
- utils.js countInFile: always create fresh RegExp to avoid shared
  lastIndex state when reusing global regex instances
- README: update AgentShield stats (751 tests, 73 rules)
2026-02-12 16:24:48 -08:00
..
hooks.schema.json fix: add event type enum to hooks schema and avoid shared RegExp state 2026-02-12 16:24:48 -08:00
package-manager.schema.json fix: add try-catch to inline hooks, fix schema drift 2026-02-12 14:38:00 -08:00
plugin.schema.json fix: add try-catch to inline hooks, fix schema drift 2026-02-12 14:38:00 -08:00