Skip to main content

Module jekt_entry

Module jekt_entry 

Source
Expand description

Entry points that hand a jekt to the reactive handler themselves rather than through reactive::deliver(): /api/bus/inject, the WebSocket bus:inject message, widget agents.send and the chat bridges. Each readies its request here, so a transcript_request body reads TIER=sensitive, with the recipient’s own ESCALATE, on every entry point alike (SPEC_JEKT_TRANSCRIPT_REQUEST_TIER_RULES_2026_08_22.md).

Functions§

bus_fallback_allowed 🔒
Whether a request the handler could not deliver may go to the MessageBus queue instead: only when the target has no registration (“not found”), and never for a transcript request, since that queue renders no marker and so no TIER=sensitive.
bus_inject_request 🔒
The request /api/bus/inject and bus:inject deliver: host tier, from the named sender, readied by prepare_host_entry.
inject_from_bridge 🔒
Delivers a message a chat bridge (Slack, Discord, Telegram, WhatsApp) received, with its transcript-request fields resolved against this channel’s store first. raw_text is the sender’s own text, before the bridge’s [Platform @user]: envelope in req.message.
prepare_host_entry 🔒
Readies a host-tier request for the handler, as deliver() does: checks the claimed sender’s signature (a sender with a key on file and no valid signature reads TRUST=unverified) and resolves the transcript-request fields against the recipient’s conversation_visibility.
resolve_bridge_fields 🔒
Resolves the transcript-request fields of a bridge request from the raw text the platform delivered, leaving the enveloped req.message as the recipient sees it.
resolve_with_store 🔒
resolve_transcript_request_tier_fields for a caller that reaches the store through the boot-time handle. Before boot attaches one, a transcript request reads as it does under ask: TIER=sensitive and ESCALATE=required.