Skip to main content

prepare_close

Function prepare_close 

Source
pub fn prepare_close(
    task: &Task,
    home: &Path,
    actor: CompletionActor,
    reason: Option<String>,
    discard: bool,
) -> Result<CompletionContext>
Expand description

Capture local evidence and require explicit abandonment of unfinished work. Call admit_close when committing an operator decision; this local helper alone does not exclude run owners or validate the forge.