Expand description
A host agent that shares a folder with a container agent: which container agents, and the person going ahead
with one (backend::folder_overlap). Anyone may ask which; only the AgentMux window goes ahead or says no to an
agent’s ask for the go-ahead (folder_overlap_ask). A caller that is not the window, an agent’s connection or one
that has not proven it is the window, is refused with what to do instead. Each answer is recorded as the person’s.
Constants§
- ONLY_
THE_ 🔒PERSON_ GOES_ AHEAD - What a caller is told when it is not the window.
Functions§
- accept 🔒
- ask_
for_ 🔒resumed - Restart resume left host agent
agent_id(its parked blockblock_id) stopped for want of the person’s go-ahead: one ask per pair it shares a folder with, with no asking agent, which the window shows as a card for the agent’s block. - audit 🔒
- Records what the person declined, or what an agent asked, in the audit log:
byis the asking agent’s slug, andNonefor the person’s own window. The go-ahead is recorded bybackend::folder_overlap::accept_as, which writes its row before the choice it records. - check 🔒
- decline 🔒
- forget_
asks_ 🔒of - An agent is deleted: what it asked, and what was asked about it, goes with it.
- name_of 🔒
- The name of agent
id, or its id when it has none on record. - publish_
asks 🔒 - Tells every window the asks now waiting.
- register
- resume_
when_ 🔒nothing_ waits - Restart resume left the host agent stopped for the pair just gone ahead with: once no pair holds it, it comes back.