OptionalidUnique hook ID. Auto-generated if omitted.
OptionalpriorityExecution priority (lower = runs first). Default: 0
OptionalonceIf true, auto-eject after first execution.
OptionalconditionOnly run if this predicate returns true for the context.
OptionalsafeIf true, errors thrown by this hook are caught and logged rather than propagated.
Use safe: true for hooks that should not break the pipeline if they fail
(e.g., logging hooks, metrics hooks).
Note: If ALL hooks have safe: true, errors will be silently swallowed.
Use safe: false (default) for critical hooks that must propagate errors.
Registration options for lifecycle hooks — controls identity, ordering, execution constraints, and error isolation.