pub struct TaskCompleteData {
pub objective_id: Option<i64>,
pub outcome: Option<TaskCompletionOutcome>,
pub reason: Option<String>,
pub success: Option<bool>,
pub summary: Option<String>,
}Expand description
Task completion notification with summary from the agent
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§objective_id: Option<i64>Active autopilot objective ID evaluated by the completion reviewer
outcome: Option<TaskCompletionOutcome>Semantic completion decision. Absent on legacy events and invalid tool calls
reason: Option<String>Label-safe runtime rationale for the completion decision (e.g. a cancellation or pause/resume downgrade), when one applies. Reviewer-authored rationale is intentionally omitted here because this event has no IFC label channel; the reviewer’s findings remain available through its own labeled sub-agent events
success: Option<bool>Whether the task was accepted as complete. False when validation failed or completion was rejected or blocked by the reviewer
summary: Option<String>Summary of the completed task, provided by the agent
Trait Implementations§
Source§impl Clone for TaskCompleteData
impl Clone for TaskCompleteData
Source§fn clone(&self) -> TaskCompleteData
fn clone(&self) -> TaskCompleteData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more