Skip to main content

close_cli

Function close_cli 

Source
async fn close_cli(
    state: &AppState,
    block_id: &str,
    who: &AgentIdentity,
    before: &AgentResources,
    deadline: Instant,
    started: Instant,
) -> Vec<ProcessEntry>
Expand description

The per-agent close (SPEC_AGENT_PANE_CLOSE_GRACEFUL_SHUTDOWN_2026_09_18.md §4.2), then the verify step (agent teardown spec §6.2 step 8). Returns the survivors.