#[non_exhaustive]pub struct SourceDigests {
pub instructions: String,
pub agents: String,
pub skills: String,
}Expand description
Digests of the canonical instruction/agent/skill sources the run consumed.
Why: #5441’s R1 note is explicit that the compatibility runner still writes
.claude/agents and .claude/skills, and that R1 “must record the
compatibility-source digests it actually used”. Recording digests keeps the
evidence honest across the #5425/#5426 source convergence without this gate
having to know which layout was canonical on the day.
What: three opaque digest strings; this crate compares them across levels
and never interprets their algorithm.
Test: bakeoff::tests::source_digest_drift_across_levels_is_rejected.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.instructions: StringDigest of the instruction source (e.g. the composed CLAUDE.md).
agents: StringDigest of the agent catalog the run resolved.
skills: StringDigest of the skill catalog the run resolved.
Trait Implementations§
Source§impl Clone for SourceDigests
impl Clone for SourceDigests
Source§impl Debug for SourceDigests
impl Debug for SourceDigests
Source§impl<'de> Deserialize<'de> for SourceDigests
impl<'de> Deserialize<'de> for SourceDigests
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 SourceDigests
Source§impl PartialEq for SourceDigests
impl PartialEq for SourceDigests
Source§impl Serialize for SourceDigests
impl Serialize for SourceDigests
impl StructuralPartialEq for SourceDigests
Auto Trait Implementations§
impl Freeze for SourceDigests
impl RefUnwindSafe for SourceDigests
impl Send for SourceDigests
impl Sync for SourceDigests
impl Unpin for SourceDigests
impl UnsafeUnpin for SourceDigests
impl UnwindSafe for SourceDigests
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<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