Skip to main content

is_empty_output

Function is_empty_output 

Source
pub fn is_empty_output(status: &AgentStatus, flags: &RunFlags) -> bool
Expand description

Whether a run in status carrying flags stopped with nothing to show for itself.

Three things have to hold. The run has to have stopped - an agent that hasn’t written anything yet is not an empty run, it is a busy one. It has to have modified nothing. And its blueprint has to have offered a way to modify something, or the question does not apply to it (see no_output_tools).

One definition, called by both meta.json and the run listing, so what an operator reads in lev ps and what a harness reads off disk cannot drift apart.