pub fn emit( config_path: &Path, agent_id: Option<&str>, op: &str, result: &CmdResult, )
Emit a trace line for one invocation. Best-effort: never propagates errors.