Skip to main content

resolve_transcript_request_tier_fields

Function resolve_transcript_request_tier_fields 

Source
pub(crate) fn resolve_transcript_request_tier_fields(
    mstore: &Arc<Store>,
    req: &mut InjectionRequest,
)
Expand description

Server-side resolution of InjectionRequest::is_transcript_request / transcript_request_escalate_forced (fields documented in backend/reactive/types.rs; SPEC_JEKT_TRANSCRIPT_REQUEST_TIER_RULES_2026_08_22.md). Here, not in Handler::inject_message_inner, because it needs Store, which Handler lacks by design.

Takes &Arc<Store> so muxbus::cloud_subscriber::sync_agent_reactive, the WAN path that calls Handler::inject_message directly, applies the same rules; without it a WAN transcript_request would skip both.

Always recomputes from req.message, never from anything the client set on the two fields.