Validate a StateTransitionData object at a stage boundary
Source:R/09-boundary.R
validate_boundary.RdRuns at every stage entry. Three outcomes:
Proceed — schema matches, invariants hold.
Auto-migrate — a registered migration path exists.
Typed failure — returns a
StageResultwith status"failure"rather than throwing.