pub enum Evidence {
Tool {
name: String,
},
Module {
name: String,
},
Config {
key: String,
},
Runtime {
capability: String,
},
Code {
path: String,
symbol: Option<String>,
},
CliVerb {
harness: String,
verb: String,
},
Store {
harness: String,
path: String,
},
}Expand description
A mechanically checkable citation. Every variant is resolved by
check_evidence against the applicable preset(s) or the source tree.
Variants§
Tool
A tool registered under the applicable preset’s resolved config.
Module
A capability module enabled in the applicable preset(s).
Config
A dotted key that the applicable preset TOML sets explicitly.
Runtime
A live-runtime capability flag on the harness’s own backend.
Code
A source file (workspace-relative) that must exist and, when
symbol is given, contain that text. The weakest kind; for loop
mechanics that no config key or tool name expresses.
Fields
CliVerb
A subcommand the PINNED harness CLI advertises. Resolved against the
committed capture parity/fixtures/<harness>-help.txt: the verb’s
leaf must appear as a subcommand entry inside the
$ <harness> <parents> --help section. Backs a harness column, never
a supercode status — that a harness has a verb says nothing about
whether supercode calls it.
Fields
harness: StringOne of ORCHESTRATION_PRESETS.
Store
A harness store (file path, table, or column) that a loader in THIS
workspace actually opens. Resolved by a symbol search over
[STORE_SEARCH_ROOTS]: every non-placeholder segment of path must
appear in a [STORE_OPEN_CALLS] form on a non-comment line.
<...> segments are placeholders and are skipped.
Fields
harness: StringThe store’s owner, one of ORCHESTRATION_PRESETS.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Evidence
impl<'de> Deserialize<'de> for Evidence
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Evidence, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Evidence, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for Evidence
Source§impl Serialize for Evidence
impl Serialize for Evidence
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for Evidence
Auto Trait Implementations§
impl Freeze for Evidence
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnsafeUnpin for Evidence
impl UnwindSafe for Evidence
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§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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.