pub struct CapabilityTranscripts {
pub status: PlannedFeature,
pub total_count: usize,
pub total_size_mb: u64,
}Expand description
Sidechain-transcript block (capabilities schema v2). v0.7 Bucket 1.7
work — reports {planned, version, enabled} until the subsystem
ships. The honesty patch (P1) replaced the bare enabled: false
with the planned-feature shape.
Fields§
§status: PlannedFeaturePlanned-feature marker. planned = true while sidechain
transcripts live only on the roadmap.
total_count: usizeOnce shipped: number of stored transcripts.
total_size_mb: u64Once shipped: total transcript storage in megabytes.
Implementations§
Source§impl CapabilityTranscripts
impl CapabilityTranscripts
Sourcepub fn planned() -> Self
pub fn planned() -> Self
Pre-v0.7 zero-state: planned, not enabled. Retained for the
pre-build capability surface used by the bootstrap config; the
MCP / HTTP overlay flips this to Self::shipped before the
report goes on the wire at v0.7.0+.
Sourcepub fn shipped() -> Self
pub fn shipped() -> Self
v0.7.0 #1324 — the substrate ships at v0.7.0: zstd-3 BLOB
store, memory_transcripts table, memory_transcript_links
join, replay_transcript_union walk, the memory_replay MCP
tool, and the per-namespace lifecycle sweep are all on disk.
Operators flip enabled: true by wiring the R5 reference
pre_store hook (tools/transcript-extractor/) — the
substrate cannot link transcripts without an operator-driven
extraction path, so this constructor reflects “shipped but
awaiting per-namespace opt-in.” The live MCP / HTTP overlay
can additionally flip enabled when it observes a non-zero
transcript count (operator opt-in is observed indirectly via
presence of rows).
Returning planned: false here closes the v0.7.0 honesty drift
— the pre-#1324 surface advertised planned: true even after
the substrate landed, which confused operators reading the
capabilities surface as a feature-availability oracle.
Trait Implementations§
Source§impl Clone for CapabilityTranscripts
impl Clone for CapabilityTranscripts
Source§fn clone(&self) -> CapabilityTranscripts
fn clone(&self) -> CapabilityTranscripts
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 CapabilityTranscripts
impl Debug for CapabilityTranscripts
Source§impl Default for CapabilityTranscripts
impl Default for CapabilityTranscripts
Source§impl<'de> Deserialize<'de> for CapabilityTranscripts
impl<'de> Deserialize<'de> for CapabilityTranscripts
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>,
Auto Trait Implementations§
impl Freeze for CapabilityTranscripts
impl RefUnwindSafe for CapabilityTranscripts
impl Send for CapabilityTranscripts
impl Sync for CapabilityTranscripts
impl Unpin for CapabilityTranscripts
impl UnsafeUnpin for CapabilityTranscripts
impl UnwindSafe for CapabilityTranscripts
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>,
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