mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-06 08:18:58 +00:00
Introduce a configurable hook system that triggers user-defined actions at workflow lifecycle points (RunStart, StageStart, StageComplete, StageFailed, EdgeSelected, CheckpointSaved, etc). Hooks can block execution, skip nodes, or override edge routing via JSON decisions. - New `hook/` module: types, config, executor (command), runner - Engine instrumented at 8 lifecycle points with HookRunner calls - TOML config: `[[hooks]]` in server.toml and run config files - Config cascade: server hooks + run hooks merge, name collisions resolved by run config winning - Remove legacy tool_hooks.pre/post from codergen handler (breaking) - 30 e2e integration tests covering all hook events and behaviors Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||