fn flatten(result: &AgentRunResult, output: Option<Value>) -> ValueExpand description
The block’s output, flattened to snake_case to match other drone block outputs (the AgentRunResult’s serde camelCase
is for the IPC seam with the frontend, NOT for drone templates — see spec §4.5 NOTE), with the validated output
fields when the node declared a schema.