Tells the Atlas map what deliver did with a message: backend::message_flow. Ids, hosts and the
outcome only; nothing here reads the message’s text or files.
Former slugs on this instance’s message routes
(docs/specs/SPEC_FORK_SLUG_MIGRATION_2026_10_22.md Phase 1): a slug an
agent was renamed from still reaches it, and never speaks for it. So does a
display name it was renamed from, by its route (Store::former_name_owner
answers for both kinds).
The forwarding tiers of deliver, for a target this instance does not
run: a sidecar on this host, another channel’s entry in the shared registry, a LAN
peer, then the cloud relay or a hold. Moved out of deliver without a change in behaviour.
LAN key continuity (docs/specs/SPEC_LAN_KEY_CONTINUITY_2026_10_29.md): a
pinned name whose agent now shows a different key moves to it with no
person in the loop, but only when the install that hosts the agent vouches
for the key with a certificate, and this machine already trusts that
install. Anything else stays refused.
A name that moved to another computer, as a computer that pinned it learns of it (SPEC_MOVE_AN_AGENT_TO_ANOTHER_COMPUTER
section 6.5). The source install tells its peers with a signed statement (agent_move::handover); a peer that holds the
name keeps what it accepted here, and the pin rule (lan_continuity) lets the destination install vouch for the new
key when it shows up, as the install the pin was bound to would have.
The key a LAN peer showed for a name whose pinned key is different, kept
in memory so the operator’s pin screen can offer to accept it. It is not
stored: after a restart the next refused message records it again.
The key a LAN peer’s agent signs with, as this machine trusts it: asked of the
peers, pinned only when a trusted install vouches for it, and moved only the same
way (lan_continuity). Shared by the LAN jekt check (verify_lan_signature) and
the remote-operation check (remote_ops::receive), so the two can’t judge a
sender’s key differently.
Identity M4d-6 (SPEC_AGENT_IDENTITY_CARRIED_NOT_DERIVED_2026_09_23.md
§6.5.10): the LAN v2 signature, checked once the v1 LAN signature verified.
LAN peers are unauthenticated, so a UID it proves is recorded only as
claimed by that LAN path: never verified, never matched to a local row.
A sender that presents a UID and a v2 signature has made a claim, though: a
claim that does not hold up counts as a failed signature, like a name key
that does not match its pin.
A message to an agent of a LAN peer that is down is kept on the sender’s instance for 24 hours and
delivered when the peer answers again, as a message to a stopped local agent is. Before this it went
to the cloud relay, which drops it after 30 minutes if no install of the account picks it up; a
machine that was off for an hour lost it (task #2228).
reactive.registration_flags: which registered agents have a registration problem, for the
Swarm’s row badge. Shares its two lookups with reactive.registrations.
One delivery per signed jekt (https://docs.agentmux.ai/internals/jekt-protocol/
§5): a host, cross-channel or LAN signature that this instance has already
delivered fails on a second delivery, the same rule the WAN path applies
with wan_seen_sigs (muxbus/wan_verify.rs). A signature stays fresh for
minutes; within that time it proves its sender for one delivery.
The most recent identity-mismatch audit entry for this agent_id, if any (#2695’s
Handler::inject_message_inner check), narrowed to what the Stash badge needs.
One cross-instance/channel entry from the host-global shared registry
(backend::reactive::registry::AgentEntry), narrowed to what the frontend needs for a
“registered elsewhere too” badge: local_url/auth_key are internal forwarding plumbing and
stay out.
What one forward attempt concluded. The distinction that matters is
Stale vs
Inconclusive: only the former is evidence
about the candidate, and only the former may drive an eviction.
Anti-replay window for channel_sig (SPEC_JEKT_CROSS_CHANNEL_TRUST_2026_09_02.md §D6):
host-tier’s tight one, since a cross-channel forward is a same-machine call to 127.0.0.1.
How long a history search may read sessions before it answers with what it has: the client that asks gives up
after 10 seconds, and a partial answer with a hint to narrow is worth more than that timeout.
Default/cap for how many of an agent’s sessions one search may open
(SPEC_AGENT_HISTORY_SEARCH_2026_09_17.md). Full-parsing every session of a long-lived agent
isn’t viable (the session that motivated the spec was 14.7 MB / 6682 records, one of several),
so candidates are taken newest-first and the default answers “what did I do recently”.
Max age (seconds) of a signed jekt’s ts_secs for it to verify
(SPEC_JEKT_TRUST_LAYER_COMPLETION_2026_08_13.md §2.2, anti-replay, #2565). Without the check a
captured valid signature verified forever. Wide enough for same-machine latency and clock skew,
narrow enough to bound replay.
Max cross-instance forwards one inject may take (Tiers 2a/2b/3 each add one). A real delivery is
one hop; the cap only stops two channels that hold stale-but-alive registry entries for the same
agent from forwarding it back and forth forever (#2350).
Anti-replay window for req.reagent_ts_secs: WAN-scoped, so wider than host-tier’s 300 s
because it covers real network latency. Same value as
cloud_subscriber::REAGENT_SIG_MAX_AGE_SECS.
Server-side ceiling on max_lines, so a transcript pull can’t read a huge session file
unbounded. This route is a “recent tail” primitive, not a full-history export.
The relay’s lease answer as a route: hold here unless it says another
install runs the agent or cannot say; an unreachable relay holds here
(there is no relay to send through anyway).
What a jekt must pass before any delivery is tried: its signatures, the checks on its
files and its text, and the holds for an agent that cannot take it now. Err is the
answer to send back; Ok is the claim on its request id, released when deliver ends.
The UID and slug of the agent defined in this channel that target
names, as the hold resolves it (hold_for_absent_target). The slug is
the agent’s AGENTMUX_AGENT_ID, which its relay lease is keyed by.
Deliver an inject — verify, try this instance, then forward
cross-instance, cross-channel, LAN and cloud relay — exactly as
POST /agentmux/reactive/inject does. Shared with the cron scheduler’s
in-process fire (identity M4c-3, spec §6.5.9), which passes its tier
explicitly (auth_via) in place of the route’s ReactiveAuthVia
extension. caller_uid is the sender’s attributed UID, audited on this
instance only (InjectionRequest::audit_source_uid never rides a hop);
"" when Unattributed.
POSTs forwarded_req to a peer srv and echoes it to the sender if it lands: the one
implementation every forwarding tier shares. As three copies, a tier that forgot the echo or
passed delivery_tier wrong failed silently and differently from its siblings
(docs/reports/REPORT_NETWORK_ARCHITECTURE_DRYNESS_AND_ROBUST_LAN_2026_09_06.md §4).
Agent NAMES only, for LAN peers: not handle_reactive_agents, whose
full AgentRegistration records (block_id, tab_id, registration_nonce,
…) are routing details that stay behind full auth.
Mints or reuses agent_id’s host-tier jekt signing key and returns it base64-encoded: the value
agent_config::inject_jekt_signing_keys_into_mcp_json writes into a real agent’s .mcp.json at
spawn, exposed here so tests and external harnesses can exercise host-tier signing without
agent.open’s WebSocket path, which also spawns a live provider session.
GET /agentmux/reactive/history/search: search an agent’s own past conversations
(SPEC_AGENT_HISTORY_SEARCH_2026_09_17.md). Unlike /reactive/transcript (the live session’s
tail), it reads sessions persisted on disk, including ended ones: after a compaction or session
reset an agent answers questions about its own past confidently and wrongly, with nothing
marking the boundary.
GET /agentmux/reactive/transcript?agent=<name>&max_lines=<n>: the tail of a registered agent’s
session output (the Agents tool’s transcript action). A pull primitive; nothing is pushed.
Fallback for handle_reactive_transcript when the agent isn’t in this instance’s host-tier
registry: looks in the host-global cross-channel registry and, on a hit, forwards to the owning
channel’s instance. A miss on every channel of this host 404s as the host-only lookup always
did; it does not reach LAN or WAN (Phase A scope).
Whether a host-global shared-registry entry is THIS instance’s own registration. Every agent
writes itself into that registry, so a “registered elsewhere” listing must exclude its own entry
or it fires on every healthy agent (#2698). Same comparison as Tier 2a/2b forwarding.
Registers reactive.registrations, called by the Stash “Registration” tab
(frontend/app/store/rpc-api/reactive.ts) to answer “is this agent’s jekt identity healthy
right now”: where it’s registered locally, whether any OTHER instance/channel on this host
also claims the same agent_id (the collision #2694 fixed one cause of), and whether a recent
delivery hit the #2695 identity-mismatch guard.
Server-derived delivery_tier for the LAN-key case only
(docs/specs/SPEC_JEKT_LAN_TIER_SIGNING_2026_08_15.md §3): a lan_key caller is forced to
"lan" whatever the body says, so claiming "host" can’t dodge LAN scrutiny. Any other
caller’s claim (host/wan/lan/channel) is kept.
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.
Decide AbsentRoute for a target no tier found live. Holding here is
the default for an agent defined in this channel, so messaging works
without the relay; the relay overrides it only when it says another
install of the account holds the agent’s lease. Anything the relay
cannot answer plainly keeps the old order (relay first), so an older
relay changes nothing.
The delivery_tier a same-host Tier 2a/2b forward carries
(SPEC_JEKT_CROSS_CHANNEL_TRUST_2026_09_02.md §D4): host or unlabelled becomes channel; a
network tier is kept so the peer re-derives that tier’s verification.
Tier 4. Some(body) when the cloud accepted the injection (sender echo emitted); None when it
doesn’t apply or didn’t take, leaving the caller to return its original error.
Tear down a pane’s registration. Reached only from the window’s own socket (agent.pane.unregister)
and, for an agent’s own pane, from pane_binding::handle_unregister.
Cross-channel (same machine, other AgentMux instance) per-agent Ed25519 signature check
(docs/specs/SPEC_JEKT_CROSS_CHANNEL_TRUST_2026_09_02.md §D2, Phase B). Like
verify_lan_signature, but the sender’s public key comes from the host-global shared registry
(AgentEntry::jekt_public_key, published at registration, §D1): a local file read, so it is
synchronous and has no LAN rate-limiter Skipped hazard.
verify_cross_channel_signature with the shared registry dir and clock injected: the testable
core, which keeps tests off the process-global AGENTMUX_SHARED_DIR.
LAN-tier per-agent Ed25519 signature check (docs/specs/SPEC_JEKT_LAN_TIER_SIGNING_2026_08_15.md
§2.4). Async because the claimed sender’s public key lives on whichever peer hosts that agent: a
LAN round trip (LanDiscoveryController::find_agent_lan_pubkey), unlike
verify_jekt_signature’s local lookup.
WAN-tier reagent-signature check for the HTTP /agentmux/reactive/inject path, mirroring
cloud_subscriber::sync_agent_reactive for the WS path. Before it, nothing on this path read
reagent_sig/reagent_key_id, so a signed notification arrived effectively unsigned and never
rendered SIG=verified (#41).