zeroclaw/src/hooks
argenis de la rosa f90ac82d4c fix(security): add capability gating for hook tool-result modification
Add `capabilities()` method to HookHandler trait so the runner can check
whether a hook has ModifyToolResults permission before allowing it to
mutate tool results. Without this, any registered hook could flip success,
rewrite output, or suppress errors with no gate.
2026-02-28 19:51:37 -05:00
..
builtin feat(plugins): scaffold wasm runtime and wire core hook lifecycle 2026-02-28 19:51:37 -05:00
mod.rs feat(hooks): add CommandLoggerHook builtin 2026-02-21 13:34:09 +08:00
runner.rs refactor(hooks): extract HookRunner factory and make plugin registry init idempotent 2026-02-28 19:51:37 -05:00
traits.rs fix(security): add capability gating for hook tool-result modification 2026-02-28 19:51:37 -05:00