pub struct TaskExecutionState {
pub verification_profile: TaskVerificationProfile,
pub saw_tool_activity: bool,
pub saw_mutation: bool,
pub saw_diagnostic_progress: bool,
pub saw_contradiction: bool,
pub saw_blocker: bool,
pub build_succeeded: bool,
pub test_succeeded: bool,
pub last_runtime_note: Option<String>,
pub evidence: Vec<TaskExecutionEvidence>,
}Expand description
Runtime-owned execution state persisted in task metadata.
Fields§
§verification_profile: TaskVerificationProfileVerification requirements currently assigned to the task.
saw_tool_activity: boolWhether any successful tool activity has been observed for the task.
saw_mutation: boolWhether successful source mutation evidence has been observed.
saw_diagnostic_progress: boolWhether diagnostic progress has been observed for the task.
saw_contradiction: boolWhether contradiction evidence has been observed for the task.
saw_blocker: boolWhether blocker evidence has been observed for the task.
build_succeeded: boolWhether successful build/check evidence has been observed.
test_succeeded: boolWhether successful test evidence has been observed.
last_runtime_note: Option<String>Optional runtime note for UI/status surfaces.
evidence: Vec<TaskExecutionEvidence>Structured evidence history, capped to a small rolling window.
Implementations§
Source§impl TaskExecutionState
impl TaskExecutionState
Sourcepub fn merge_profile(&mut self, profile: TaskVerificationProfile)
pub fn merge_profile(&mut self, profile: TaskVerificationProfile)
Merge a runtime-authored verification profile into the current state.
Sourcepub fn record_evidence(&mut self, evidence: TaskExecutionEvidence) -> bool
pub fn record_evidence(&mut self, evidence: TaskExecutionEvidence) -> bool
Record evidence and update the derived boolean summary.
Sourcepub fn satisfies_profile(&self) -> bool
pub fn satisfies_profile(&self) -> bool
Return true when the observed runtime evidence satisfies the task’s
assigned verification profile.
Trait Implementations§
Source§impl Clone for TaskExecutionState
impl Clone for TaskExecutionState
Source§fn clone(&self) -> TaskExecutionState
fn clone(&self) -> TaskExecutionState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TaskExecutionState
impl Debug for TaskExecutionState
Source§impl Default for TaskExecutionState
impl Default for TaskExecutionState
Source§fn default() -> TaskExecutionState
fn default() -> TaskExecutionState
Source§impl<'de> Deserialize<'de> for TaskExecutionState
impl<'de> Deserialize<'de> for TaskExecutionState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TaskExecutionState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TaskExecutionState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for TaskExecutionState
impl PartialEq for TaskExecutionState
Source§impl Serialize for TaskExecutionState
impl Serialize for TaskExecutionState
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,
impl Eq for TaskExecutionState
impl StructuralPartialEq for TaskExecutionState
Auto Trait Implementations§
impl Freeze for TaskExecutionState
impl RefUnwindSafe for TaskExecutionState
impl Send for TaskExecutionState
impl Sync for TaskExecutionState
impl Unpin for TaskExecutionState
impl UnwindSafe for TaskExecutionState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().