A hook declaring only its supported stages, with typed stage arguments.
Registering this hook opts its input views into strict structured snapshots.
Legacy Hook/BaseHook value behavior remains unchanged; invalid snapshot data
is retained as diagnostic references during error/finally cleanup.
Mutable data container that propagates between hook stages (spec Section 4.6)
Hook data allows mutable state to be shared across before/after/error/finally stages
within a single flag evaluation lifecycle.