Skip to main content

Module pending_route

Module pending_route 

Source
Expand description

The route a moved agent is waiting to take (docs/specs/SPEC_MOVE_AN_AGENT_TO_ANOTHER_COMPUTER_2026_11_24.md 7.3, “route and key”). A move never copies a key’s value, and a route whose key is not in this computer’s Vault is not set: the agent arrives on its harness’s own sign-in and says so (needs a key) in My Agents. The route it came with is kept here, as a content blob beside the chosen one (super::launch::CONTENT_TYPE), and is taken, once, when the key lands: then it is the agent’s chosen route and this is cleared. A route the person chooses meanwhile wins: the pending one is dropped, never put over it.

Structs§

Pending
The route and model a moved agent had, and the Vault key (its label) that must be here before it is taken.

Enums§

Settled
What settling a waiting agent came to.

Constants§

CONTENT_TYPE
The definition content type that holds the Pending route.

Functions§

pending_of
The route agent def_id is waiting to take, if any.
set_pending
Keeps the route def_id is waiting to take.
settle
Takes the pending route of def_id when its key is here (key_present, by label), unless the agent has chosen a route since.