Expand description
The safe-house contract, as Guatiao kinds: where a Mission’s Agent works.
A SafeHouseProvider turns an Operation’s source (a Git checkout, a plain
directory, …) into an isolated working directory for one Mission and hands back a
SafeHouseRun the caller owns. The runs where the Agent’s Run
runs, so a Station loads it; the headquarters never does. Slot order is the ABI:
append, never reorder.
A provider without history (SafeHouseInfo::supports_history is false) returns
no Changes; cover checks then report that the work cannot be checked instead of
passing it.
Structs§
- Change
- One change made since the base: a commit, for a version-control provider.
- Change
Log - The changes since the base, newest first.
- Checkpoint
File - One file a save commits with exactly its text. Crosses as a value, inside a
CheckpointSpec. - Checkpoint
Spec - How to save a checkpoint. Crosses as a value.
- Safe
House Checkpoint - Work in progress saved where another Station can fetch it: a commit pushed to a branch.
- Safe
House Clone - Where a cloned safe house goes. Crosses as a value, inside a
SafeHouseSpec. - Safe
House Diff - The change a safe house holds since its base.
- Safe
House Exports - What of a safe house’s work exists nowhere else.
- Safe
House Info - Where an open safe house is and what it can tell.
- Safe
House Report - What a safe house held when the Mission ended, attached to the Mission record.
- Safe
House Spec - What to open. Crosses as a value.
Traits§
- Safe
House Provider - Makes safe houses for Missions.
- Safe
House Run - One Mission’s safe house. Every slot takes
&self.