Expand description
A move arriving over the LAN, as Agents import places a file (SPEC_MOVE_AN_AGENT_TO_ANOTHER_COMPUTER section 6.4,
step D of the build). The archive was received as sealed chunks and opened into one file; before anything is made it is
checked against what the source signed in its offer: the manifest must hash to the offered hash, be signed by the
source’s own install key, and name the agent the offer named. The agent is then placed as a move: it keeps its id and
arrives stopped, with its memory and history.
The person’s decision was taken before the first chunk (remote_ops::move_consent), so this asks no one again.
Structs§
- Expect 🔒
- What the signed offer says the archive is.
- Placed 🔒
- What was made.
- Verified 🔒
- The archive, read and planned, not yet placed.
Enums§
- Route
Call 🔒 - What a paid route the offer names comes to on this computer.
- Why 🔒
- Why an archive is not placed.
Functions§
- missing_
key 🔒 - The Vault key a route the offer names needs and this computer does not have: its label, when the catalog has the route and only the key is missing (a route the catalog does not know has nothing to ask for).
- place 🔒
- Makes the agent from the verified archive: its conversation, its memory, then the definition, last.
- route_
call 🔒 - Judges the route a signed offer names, for the person’s decision and for the registration: the same answer in both.
- undo_
partial 🔒 - A commit that was interrupted after it placed a conversation and before the agent was made leaves conversations of this agent that the plan would refuse (it never places over a conversation). The archive’s conversations are taken back so the placement can run again; none existed before the first check of this move, which refused otherwise.
- verify 🔒
- Reads the archive at
path(every part against its manifest) and checks it against the signed offer.