Skip to main content

Module agent_handover

Module agent_handover 

Source
Expand description

The hand-over state of an agent that was saved to move (SPEC_MOVE_AN_AGENT_TO_ANOTHER_COMPUTER section 5, step C of the build): Agents bring_back clears the mark that keeps it from starting here, Agents move_status says where it stands.

The mark itself (handed_over, later moved) is on the agent’s shared definition record, and the one admission gate every start passes through refuses an agent that carries it (agent_admission::handed_over_refusal). It is set by Agents export with hand_over: true (a move by file) and, from the transfer step on, by the move itself.

Who may ask: the agent itself, or the agent that leads it. Every call, and every refusal, is audited under the caller.

StructsΒ§

HandoverRequest πŸ”’

ConstantsΒ§

AUDIT_BRING_BACK πŸ”’
AUDIT_STATUS πŸ”’

FunctionsΒ§

answer πŸ”’
audit πŸ”’
bring_back πŸ”’
current_mark πŸ”’
The mark on target, if any.
describe πŸ”’
What a person reads about a mark: where it stands and the way out.
handle_agent_bring_back πŸ”’
handle_agent_move_status πŸ”’
mark_handed_over πŸ”’
Marks target handed over to to (a computer’s name, or a file), with the hash of the manifest that was saved. Called by Agents export with hand_over: true, after the file is written and verified.
mark_moved πŸ”’
Marks target as moved to to: the destination answered that it is registered there. Final: the agent starts nowhere here until Agents bring_back with force.
mark_of πŸ”’
The mark of target: none, or an error when its record cannot be read (never taken for β€œnone”).
move_status πŸ”’
run πŸ”’
target_for πŸ”’
The agent named (default: the caller), when the caller is it or leads it.