pub fn accept_action_to_routing_payload(
action: &AcceptAction,
) -> Option<RoutingPayload>Expand description
Slice 3c.unify.picker-registry-cutover (7d.1).
Inverse of accept_action_to_outcome: build a
RoutingPayload that encodes the MRU identity of an
AcceptAction. Used when seating an engine-shape
SourceRegistration (PreSupplied) into the Picker’s
pair-based candidate store — the picker needs ONE routing
per candidate for MRU bonus computation, even though the
7d.0 accept dispatch reads accept_action directly.
For variants without a RoutingPayload counterpart
(Custom, InsertText, stateful LSP), returns None —
the seat path skips MRU bonus for those candidates (the
candidate still shows up; just no recency boost).