Files
ECC/commands/hookify-configure.md
Affaan Mustafa 504261d069 fix: wire Hookify runtime enforcement
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
2026-07-26 05:07:34 -04:00

645 B

description
description
Enable or disable hookify rules interactively

Interactively enable or disable existing Hookify rule files.

Steps

  1. Inspect direct, regular .claude/hookify.*.local.md files in the current project. Do not follow symlinks.
  2. Read the current state of each rule and check it against the runtime's strict schema.
  3. Present valid rules with their enabled / disabled status. Report malformed files separately because the runtime skips them.
  4. Ask which rules to toggle
  5. Update the enabled: field in the selected rule files
  6. Confirm the changes

Do not silently repair other fields while toggling a rule.