pub enum ToolInvocationStage {
Unknown,
RejectedBeforeDispatch,
RejectedBeforeIo,
Dispatched,
Replayed,
}Expand description
Where an invocation reached in the common execution pipeline.
This is deliberately orthogonal to ToolOutcomeStatus. A deterministic
argument rejection can be a completed validation observation, but it did
not dispatch the requested domain operation and therefore cannot inherit
that operation’s effects, targets, or evidence capabilities.
Variants§
Unknown
Legacy receipt or adapter that did not report a stage.
RejectedBeforeDispatch
The common policy/retry boundary refused dispatch.
RejectedBeforeIo
The adapter rejected its typed argument contract before domain I/O.
Dispatched
The adapter was invoked for the prepared operation.
Replayed
The result was reconstructed from a durable prior receipt.
Implementations§
Source§impl ToolInvocationStage
impl ToolInvocationStage
pub const fn as_str(self) -> &'static str
pub const fn reached_dispatch(self) -> bool
Sourcepub const fn performed_io(self) -> bool
pub const fn performed_io(self) -> bool
True only for a newly executed adapter call. A durable replay carries evidence forward but does not consume another operation attempt.