#[non_exhaustive]pub enum ClaimSource {
Shell,
FileSystem,
WebScrape,
WebSearch,
Mcp,
A2a,
CodeSearch,
Diagnostics,
Memory,
Moderation,
}Expand description
Provenance of a tool execution result.
Set by each executor at ToolOutput construction time. Used by the sanitizer bridge
in zeph-core to select the appropriate ContentSourceKind and trust level.
None means the source is unspecified (pass-through code, mocks, tests).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Shell
Local shell command execution.
FileSystem
Local file system read/write.
WebScrape
HTTP web scrape.
WebSearch
Query-based web search (external search API). Audit-provenance only — the
sanitizer trust bridge dispatches on the tool-name string, not this variant
(see zeph-core::agent::tool_execution::sanitize::build_tool_output_source).
Mcp
MCP server tool response.
A2a
A2A agent message.
CodeSearch
Code search (LSP or semantic).
Diagnostics
Agent diagnostics (internal).
Memory
Memory retrieval (semantic search).
Moderation
Telegram moderation action (reaction deletion).
Trait Implementations§
Source§impl Clone for ClaimSource
impl Clone for ClaimSource
Source§fn clone(&self) -> ClaimSource
fn clone(&self) -> ClaimSource
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ClaimSource
Source§impl Debug for ClaimSource
impl Debug for ClaimSource
Source§impl<'de> Deserialize<'de> for ClaimSource
impl<'de> Deserialize<'de> for ClaimSource
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 ClaimSource
Source§impl PartialEq for ClaimSource
impl PartialEq for ClaimSource
Source§impl Serialize for ClaimSource
impl Serialize for ClaimSource
impl StructuralPartialEq for ClaimSource
Auto Trait Implementations§
impl Freeze for ClaimSource
impl RefUnwindSafe for ClaimSource
impl Send for ClaimSource
impl Sync for ClaimSource
impl Unpin for ClaimSource
impl UnsafeUnpin for ClaimSource
impl UnwindSafe for ClaimSource
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<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
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request