Expand description
Who typed into an agent’s composer (agentinput), decided from the
connection, never from the request
(SPEC_MESSAGE_ORIGIN_AND_ONE_CONTAINER_2026_10_25.md §3.4).
TurnOrigin::User is the human, the one thing nothing else may pass
itself off as, so the agentinput route takes it from the caller:
- a connection registered as an agent is refused: agents send with the
Messagetool, which is delivered as a jekt; - the AgentMux window, proven by the CEF host (
RpcContext::operator_only), is the human (Systemfor a hidden memory reinjection, or a message the pane sends on AgentMux’s behalf, such as its start-up document: the request says so withsystem); - any other connection is refused when srv runs with a CEF host (every desktop build); a headless srv (the cloud web host) has no CEF host and logs the call. The mode comes from how srv was started, never from anything the connection says.
Constants§
- WHY 🔒
Functions§
- composer_
origin 🔒 - The origin of an
agentinputturn from the caller, or why it is refused.lowered(a hidden reinjection, a message the pane sends on AgentMux’s behalf) can only turn the window’sUserintoSystem. - composer_
origin_ 🔒in - window_
only 🔒 - Whether the caller may put text into an agent’s input as the person does (
agent.send): the same decision as the composer’s, for a call that has no turn origin of its own. Refused for a registered agent in every mode, and for any connection the CEF host did not prove when srv has a host.