pub struct ExecutionContextTracker { /* private fields */ }Implementations§
Source§impl ExecutionContextTracker
impl ExecutionContextTracker
Sourcepub fn delegation_status_event(
&self,
call_item_id: &str,
tool_name: &str,
output: &Value,
) -> Option<ThreadEvent>
pub fn delegation_status_event( &self, call_item_id: &str, tool_name: &str, output: &Value, ) -> Option<ThreadEvent>
Preserve native delegation metadata before tool-output compaction.
Sourcepub fn session_message_event(
&self,
call_item_id: &str,
tool_name: &str,
output: &Value,
) -> Option<ThreadEvent>
pub fn session_message_event( &self, call_item_id: &str, tool_name: &str, output: &Value, ) -> Option<ThreadEvent>
Preserve peer-messaging sends as harness status before tool-output compaction.
Mirrors Self::delegation_status_event: a successful ask_session or
answer_session call fans out a SessionMessageSent event carrying the
peer session and the mailbox message id as correlation_id, so the
later SessionMessageReceived drain event can be linked to this send.
Sourcepub fn tracker_status_event(
&self,
tool_name: &str,
output: &Value,
) -> Option<ThreadEvent>
pub fn tracker_status_event( &self, tool_name: &str, output: &Value, ) -> Option<ThreadEvent>
Publish a typed checklist snapshot after a task_tracker mutation.
Mirrors Self::delegation_status_event: parses the structured tool
output (still a serde_json::Value here, before output compaction
renders it into display text) into a ThreadEvent::TrackerUpdated
snapshot so desktop and archive consumers replay typed state instead
of re-parsing rendered output. Returns None for other tools,
missing checklists, and checklists with neither renderable items nor
explicit counts.
Sourcepub fn begin(
&mut self,
actor: &str,
turn: &str,
input: &str,
origin: InputOrigin,
) -> ExecutionContext
pub fn begin( &mut self, actor: &str, turn: &str, input: &str, origin: InputOrigin, ) -> ExecutionContext
A new idle user request starts a task; other origins retain its root goal.
Sourcepub fn annotate(&mut self, event: &mut ThreadEvent)
pub fn annotate(&mut self, event: &mut ThreadEvent)
Annotate before persistence and exporter fanout so all consumers agree.
Sourcepub fn exec_session_output_event(
&mut self,
call_item_id: &str,
tool_name: &str,
args: &Value,
output: &Value,
) -> Option<ThreadEvent>
pub fn exec_session_output_event( &mut self, call_item_id: &str, tool_name: &str, args: &Value, output: &Value, ) -> Option<ThreadEvent>
Link authoritative exec results to their original verifier invocation. Session identities, never repeated command text, own this association.
Sourcepub fn background_exec_output_event(
&mut self,
event: &mut ThreadEvent,
) -> Option<ThreadEvent>
pub fn background_exec_output_event( &mut self, event: &mut ThreadEvent, ) -> Option<ThreadEvent>
Resolve raw subprocess completion facts through the same launch mapping.
Trait Implementations§
Auto Trait Implementations§
impl Forget for ExecutionContextTracker
impl Freeze for ExecutionContextTracker
impl Move for ExecutionContextTracker
impl RefUnwindSafe for ExecutionContextTracker
impl Send for ExecutionContextTracker
impl Sync for ExecutionContextTracker
impl Unpin for ExecutionContextTracker
impl UnsafeUnpin for ExecutionContextTracker
impl UnwindSafe for ExecutionContextTracker
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§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.Source§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.Source§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.Source§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.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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 moreSource§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
Source§type NoneType = T
type NoneType = T
NoneValue::null_value produces.