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
762 B
762 B
description
| description |
|---|
| List all configured hookify rules |
Find and display project-local Hookify rule files and their runtime status.
Steps
- Find direct, regular
.claude/hookify.*.local.mdfiles in the current project's.claude/directory. Do not follow symlinks. - Read each file's frontmatter:
nameenabledeventactionpatternconditionstool_matcher
- Display them as a table:
| Rule | Enabled | Event | Action | Matcher | File |
|---|
- Report malformed or unsafe files separately. They are skipped by the runtime and are not enforced.
- Show the valid/enabled count and remind the user that
/hookify-configurecan change state later.