async fn write_archive(
state: &AppState,
target: &AgentDefinition,
caller_def: &AgentDefinition,
to: Option<&str>,
__arg4: (bool, bool, bool),
) -> Result<(PathBuf, Report, u64), Refusal>Expand description
Builds and writes the file: under the caller’s working folder, from a frozen read of the agent’s stores.