pub struct TaskCompleteData {
pub blocker: Option<TaskBlocker>,
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§
§blocker: Option<TaskBlocker>Structured blocker details when outcome is blocked
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