pub struct TaskCompletionDecision {
pub completion_eligibility_token: Option<i64>,
pub completion_rejection_budget_exhausted: Option<bool>,
pub objective_id: Option<i64>,
pub outcome: TaskCompletionOutcome,
pub reason: Option<String>,
pub reviewer_derived: Option<bool>,
pub reviewer_result_meta: Option<Value>,
}Expand description
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§completion_eligibility_token: Option<i64>Objective eligibility token captured when the decision was evaluated.
completion_rejection_budget_exhausted: Option<bool>Whether completion was accepted after the reviewer-rejection budget was exhausted.
objective_id: Option<i64>Active autopilot objective evaluated by the completion reviewer.
outcome: TaskCompletionOutcomeSemantic result of evaluating the task completion request.
reason: Option<String>Rationale for the completion decision, when one is available.
reviewer_derived: Option<bool>Whether the rationale was derived from completion-reviewer output.
reviewer_result_meta: Option<Value>Information-flow metadata captured from the completion reviewer.
Trait Implementations§
Source§impl Clone for TaskCompletionDecision
impl Clone for TaskCompletionDecision
Source§fn clone(&self) -> TaskCompletionDecision
fn clone(&self) -> TaskCompletionDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TaskCompletionDecision
impl Debug for TaskCompletionDecision
Source§impl Default for TaskCompletionDecision
impl Default for TaskCompletionDecision
Source§fn default() -> TaskCompletionDecision
fn default() -> TaskCompletionDecision
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskCompletionDecision
impl<'de> Deserialize<'de> for TaskCompletionDecision
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TaskCompletionDecision
impl RefUnwindSafe for TaskCompletionDecision
impl Send for TaskCompletionDecision
impl Sync for TaskCompletionDecision
impl Unpin for TaskCompletionDecision
impl UnsafeUnpin for TaskCompletionDecision
impl UnwindSafe for TaskCompletionDecision
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more