Skip to main content

refuse_retired_harness

Function refuse_retired_harness 

Source
pub(super) fn refuse_retired_harness(
    deps: &AgentTurnDeps,
    block_id: &str,
    meta: &MetaMapType,
) -> Result<(), String>
Expand description

A pane opened with a harness AgentMux no longer offers runs no more turns: it is told why, in the pane, and nothing starts. The pane records the provider and the output format it was opened with, so a pane that was running before the harness was removed (or restored from a layout saved before) is recognised without its agent definition. Every turn path asks this first: subprocess, persistent, app-server and ACP alike.