90
// Strongest (default): enforce the execution-level token; nothing relaxed.
91
return ref, nil
92
>
case RefConsistencyLevelComponentCreation:
ref.go
93
>
// Tolerate a stale execution transition without losing the staleness guarantee: run the
94
>
// execution staleness check ([Node.IsStale]) against the component's creation transition
95
>
// instead of the execution's last update. This still reloads a mutable state that predates
96
>
// the component (so the handler never operates on a state that doesn't yet know about the
97
>
// component), while no longer requiring the ref to match the latest execution transition.
98
>
// The creation transition is also matched in [Node.Component]; identity is otherwise the
99
>
// caller's responsibility (e.g. request ID).
100
>
ref.executionLastUpdateVT = ref.componentInitialVT
101
>
return ref, nil
102
case RefConsistencyLevelCurrentRun:
103
// Weakest: resolve by component path on the current run. Drop the run ID and every versioned