mirror of
https://github.com/affaan-m/ECC.git
synced 2026-08-20 06:25:43 +02:00
Load bounded project-local Hookify rules, evaluate untrusted regexes in a resource-limited worker, and emit event-correct structured warn/block outputs for PreToolUse, PostToolUse, UserPromptSubmit, and Stop. Register bounded entrypoints, prevent recursive Stop loops, document the runtime contract, and package the implementation.\n\nCloses #2561
645 B
645 B
description
| description |
|---|
| Enable or disable hookify rules interactively |
Interactively enable or disable existing Hookify rule files.
Steps
- Inspect direct, regular
.claude/hookify.*.local.mdfiles in the current project. Do not follow symlinks. - Read the current state of each rule and check it against the runtime's strict schema.
- Present valid rules with their enabled / disabled status. Report malformed files separately because the runtime skips them.
- Ask which rules to toggle
- Update the
enabled:field in the selected rule files - Confirm the changes
Do not silently repair other fields while toggling a rule.