pub fn error_frame(
agent_instance_hierarchy: String,
response_id: Option<String>,
error: Value,
created_at: i64,
) -> TeeFrameExpand description
Build the tee frame for one logged error — persist-before-return:
the spawn path calls this AFTER insert_error committed the row.