Expand description
What this computer has to take an agent in, for the preflight and the offer (docs/specs/SPEC_MOVE_AN_AGENT_TO_ANOTHER_COMPUTER_2026_11_24.md section 7, row m). The preflight reports the numbers; an offer for an archive this computer cannot hold is refused with them and what to free, and there is no override. A figure that cannot be read is not a refusal: it is reported as unknown.
Structs§
- Capacity 🔒
- What this computer has now.
Noneis a figure that could not be read.
Constants§
- DISK_
RESERVE_ 🔒BYTES - Kept free after the archive is stored and placed: the archive is written twice (staged, then placed).
- MEMORY_
FLOOR_ 🔒BYTES - Memory that must be free for the agent’s harness to start on top of what runs here already.
Functions§
- free_on 🔒
- The free space of the volume that holds
path: the disk whose mount point is the longest prefix of it. - gib 🔒
- measure 🔒
- This computer’s figures: free disk where incoming agents are staged, free memory, and the agents running now.
- measure_
here 🔒 - resolved 🔒
pathas the filesystem resolves it, so it can be matched against the volumes’ mount points: a link in it (the data directory, or a parent of it, pointing to another volume) is followed, and Windows’ verbatim prefix is dropped, as the mount points have none. The folder may not exist yet: the nearest one that does is resolved and the rest put back after it.- shortfall 🔒
- Why this computer cannot take an archive of
archive_bytes, in numbers and what to free; none when it can (or when a figure is unknown: that is not a reason to refuse). - without_
verbatim_ 🔒prefix \\?\C:\xasC:\xand\\?\UNC\host\shareas\\host\share; anything else as it is.