Expand description
Lifecycle hook registry and configured handler runtimes.
The agent engine owns lifecycle seams and applies returned decisions. This crate owns handler matching, deterministic dispatch, command execution, and external script runtime selection.
Structs§
- Hook
Dispatch Report - Complete dispatch result for one lifecycle seam.
- Hook
Dispatcher - Registry and deterministic dispatcher for programmatic and configured hooks.
- Hook
Execution - One completed handler execution, returned to the engine for observability.
- Hook
RunOutcome - Aggregate control and context output from one lifecycle seam.
- Lifecycle
Hook Test Output - Raw handler result returned by the settings dry-run endpoint.
- Script
Hook - One config-driven lifecycle script executed by an installed system runtime.
- Shell
Command Hook - One config-driven lifecycle shell command.
Enums§
- Lifecycle
Hook Event - User-facing lifecycle events that currently map to engine hook seams.
- Lifecycle
Script Runner - Runtime used to execute a lifecycle script.
Functions§
- test_
lifecycle_ handler - Execute one configured handler against a deterministic synthetic payload. Production runtime limits and output caps are preserved, while result interpretation is skipped so callers receive raw diagnostics.
- test_
lifecycle_ shell_ command - Backward-compatible command-only dry-run entry point.
Type Aliases§
- Shell
Hook Event - Backward-compatible name retained for SDK consumers.
- Shell
Hook Test Output - Backward-compatible name for the command-only dry-run response.