pub struct AutonomousTaskPlan {
pub plan_id: String,
pub dedupe_key: String,
pub task_class: Option<BoundedTaskClass>,
pub risk_tier: AutonomousRiskTier,
pub feasibility_score: u8,
pub validation_budget: u8,
pub expected_evidence: Vec<String>,
pub approved: bool,
pub reason_code: AutonomousPlanReasonCode,
pub summary: String,
pub denial_condition: Option<AutonomousDenialCondition>,
pub fail_closed: bool,
}Expand description
An approved or denied autonomous task plan produced from a discovered candidate.
Fields§
§plan_id: StringStable identity derived from the originating DiscoveredCandidate.dedupe_key.
dedupe_key: StringThe input candidate this plan was derived from.
task_class: Option<BoundedTaskClass>Normalised task class (same as candidate class when approved).
risk_tier: AutonomousRiskTierAssigned risk tier.
feasibility_score: u8Feasibility score in [0, 100]; 0 means not feasible.
validation_budget: u8Estimated validation budget (number of validation stages required).
expected_evidence: Vec<String>Evidence templates required for this plan class.
approved: boolWhether the plan was approved for proposal generation.
reason_code: AutonomousPlanReasonCodePlanning outcome reason code.
summary: StringShort human-readable summary of the planning outcome.
denial_condition: Option<AutonomousDenialCondition>Present when the plan was denied.
fail_closed: boolFail-closed flag: true on any non-approved outcome.
Trait Implementations§
Source§impl Clone for AutonomousTaskPlan
impl Clone for AutonomousTaskPlan
Source§fn clone(&self) -> AutonomousTaskPlan
fn clone(&self) -> AutonomousTaskPlan
Returns a duplicate of the value. Read more
1.0.0 · 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 AutonomousTaskPlan
impl Debug for AutonomousTaskPlan
Source§impl<'de> Deserialize<'de> for AutonomousTaskPlan
impl<'de> Deserialize<'de> for AutonomousTaskPlan
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AutonomousTaskPlan, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AutonomousTaskPlan, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AutonomousTaskPlan
impl PartialEq for AutonomousTaskPlan
Source§impl Serialize for AutonomousTaskPlan
impl Serialize for AutonomousTaskPlan
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for AutonomousTaskPlan
impl StructuralPartialEq for AutonomousTaskPlan
Auto Trait Implementations§
impl Freeze for AutonomousTaskPlan
impl RefUnwindSafe for AutonomousTaskPlan
impl Send for AutonomousTaskPlan
impl Sync for AutonomousTaskPlan
impl Unpin for AutonomousTaskPlan
impl UnsafeUnpin for AutonomousTaskPlan
impl UnwindSafe for AutonomousTaskPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.