pub enum PhantomResolution {
Rewrite(String),
Correct(String),
Unknown,
RealToolMiss(String),
GatedOff(String),
NarratedNoCall,
}Expand description
How a PhantomReach resolved (#717).
Variants§
Rewrite(String)
A foreign name rewritten to a real tool (the canonical name).
Correct(String)
A foreign name corrected with guidance (the message naming the right tool).
Unknown
An unknown name with no alias — a true phantom tool.
RealToolMiss(String)
A real tool that misfired / returned empty-by-design (the reason).
GatedOff(String)
#479 (G4): a real tool reached while its surface is presence-gated OFF —
crew/compose_roster with the crew/team surface absent (the default,
since the runner is only built when the operator sets NEWT_TEAM). The
name stays real (in ALL_TOOL_NAMES, so is_hallucination is unchanged
and the ON path dispatches normally), so classify_phantom_reach never
flags it — yet a gated-off reach is exactly the delegation signal we want
to mine for the common OFF default. The string names the gated surface.
NarratedNoCall
A reach narrated in prose that never became a tool call (reserved; NOT emitted in v1 — the narration scanner is a deferred follow-up).
Trait Implementations§
Source§impl Clone for PhantomResolution
impl Clone for PhantomResolution
Source§fn clone(&self) -> PhantomResolution
fn clone(&self) -> PhantomResolution
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PhantomResolution
impl Debug for PhantomResolution
Source§impl<'de> Deserialize<'de> for PhantomResolution
impl<'de> Deserialize<'de> for PhantomResolution
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 PhantomResolution
Source§impl PartialEq for PhantomResolution
impl PartialEq for PhantomResolution
Source§impl Serialize for PhantomResolution
impl Serialize for PhantomResolution
impl StructuralPartialEq for PhantomResolution
Auto Trait Implementations§
impl Freeze for PhantomResolution
impl RefUnwindSafe for PhantomResolution
impl Send for PhantomResolution
impl Sync for PhantomResolution
impl Unpin for PhantomResolution
impl UnsafeUnpin for PhantomResolution
impl UnwindSafe for PhantomResolution
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> 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