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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for TaskExecutionState
impl PartialEq for TaskExecutionState
Source§impl Serialize for TaskExecutionState
impl Serialize for TaskExecutionState
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<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<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>
§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].