HookEngine(
self,
snapshot: HooksSnapshot,
default_timeout: float | None = None,
max_output_bytes: | Name | Type |
|---|---|
| snapshot | HooksSnapshot |
| default_timeout | float | None |
| max_output_bytes | int |
| adapter | HookEnvelopeAdapter |
Execute Hooks v2 invocations against one immutable snapshot.
Execute matching handlers and return a normalized decision.
Matching handlers run concurrently with independent timeouts. Results are reduced in stable configuration order, independent of completion order.
The returned diagnostics are scoped to this invocation. Configuration diagnostics collected while the snapshot loaded belong to whoever owns the snapshot, which presents them once per load; repeating them here would re-surface the same warning on every hook that runs.