pub enum ObservedStep {
Prompted,
ToolCall {
call: String,
status: ObservedStatus,
},
Decision {
call: String,
outcome: ObservedDecision,
},
TurnEnded {
reason: String,
},
}Expand description
One thing an observed agent reported.
Typed rather than prose, for the reason every other journal vocabulary is: an operator alerting on what an unattended agent did should not be matching on sentences, and a variant added here is one every reader must consider.
Variants§
Prompted
The agent was given a turn.
The instruction itself is the detail, sealed — it is the user’s words
and the one part of a session most likely to carry somebody’s data.
ToolCall
The agent reported calling a tool, at the status it reported.
Reported is doing the work in that sentence. This plane did not dispatch the call, cannot say it happened, and is recording a claim — which is exactly why this is not an effect record.
Fields
call: StringThe call’s id, as the agent minted it, so a later status update can be tied to the call it updates.
status: ObservedStatusWhere the agent said the call had got to.
Decision
A person was asked whether to permit a call, and an answer came back.
The one step in a session where a control was exercised, and therefore the one whose fidelity matters most.
TurnEnded
The turn ended, for the reason the agent gave.
Implementations§
Trait Implementations§
Source§impl Clone for ObservedStep
impl Clone for ObservedStep
Source§impl Debug for ObservedStep
impl Debug for ObservedStep
Source§impl<'de> Deserialize<'de> for ObservedStep
impl<'de> Deserialize<'de> for ObservedStep
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>,
impl Eq for ObservedStep
Source§impl PartialEq for ObservedStep
impl PartialEq for ObservedStep
Source§impl Serialize for ObservedStep
impl Serialize for ObservedStep
impl StructuralPartialEq for ObservedStep
Auto Trait Implementations§
impl Freeze for ObservedStep
impl RefUnwindSafe for ObservedStep
impl Send for ObservedStep
impl Sync for ObservedStep
impl Unpin for ObservedStep
impl UnsafeUnpin for ObservedStep
impl UnwindSafe for ObservedStep
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.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 more