pub struct SemanticReport {Show 20 fields
pub orphaned_chunks: usize,
pub null_source_ref_nodes: usize,
pub broken_step_fk: usize,
pub broken_action_fk: usize,
pub stale_fts_rows: usize,
pub fts_rows_for_superseded_nodes: usize,
pub stale_property_fts_rows: usize,
pub orphaned_property_fts_rows: usize,
pub mismatched_kind_property_fts_rows: usize,
pub duplicate_property_fts_rows: usize,
pub drifted_property_fts_rows: usize,
pub dangling_edges: usize,
pub orphaned_supersession_chains: usize,
pub stale_vec_rows: usize,
pub vec_rows_for_superseded_nodes: usize,
pub missing_operational_current_rows: usize,
pub stale_operational_current_rows: usize,
pub disabled_collection_mutations: usize,
pub orphaned_last_access_metadata_rows: usize,
pub warnings: Vec<String>,
}Expand description
Results of a semantic consistency check on the graph data.
Fields§
§orphaned_chunks: usizeChunks whose node_logical_id has no active node.
null_source_ref_nodes: usizeActive nodes with a NULL source_ref (loss of provenance).
broken_step_fk: usizeSteps referencing a run_id that does not exist in the runs table.
broken_action_fk: usizeActions referencing a step_id that does not exist in the steps table.
stale_fts_rows: usizeFTS rows whose chunk_id does not exist in the chunks table.
fts_rows_for_superseded_nodes: usizeFTS rows whose node has been superseded (superseded_at IS NOT NULL on all active rows).
stale_property_fts_rows: usizeProperty FTS rows whose node has been superseded or does not exist.
orphaned_property_fts_rows: usizeProperty FTS rows whose kind has no registered FTS property schema.
mismatched_kind_property_fts_rows: usizeProperty FTS rows whose kind does not match the active node’s actual kind.
duplicate_property_fts_rows: usizeActive logical IDs with more than one per-kind FTS property row.
drifted_property_fts_rows: usizeProperty FTS rows whose text_content no longer matches the canonical extraction.
dangling_edges: usizeActive edges where at least one endpoint has no active node.
orphaned_supersession_chains: usizelogical_ids where every version has been superseded (no active row).
stale_vec_rows: usizeVec rows whose backing chunk no longer exists in the chunks table.
vec_rows_for_superseded_nodes: usizeCompatibility counter for vec rows whose chunk points at missing node history.
missing_operational_current_rows: usizeLatest-state keys whose latest mutation is a put but no current row exists.
stale_operational_current_rows: usizeCurrent rows that do not match the latest mutation state.
disabled_collection_mutations: usizeMutations written after the owning collection was disabled.
orphaned_last_access_metadata_rows: usizeAccess metadata rows whose logical_id no longer has any node history.
warnings: Vec<String>Trait Implementations§
Source§impl Clone for SemanticReport
impl Clone for SemanticReport
Source§fn clone(&self) -> SemanticReport
fn clone(&self) -> SemanticReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SemanticReport
impl Debug for SemanticReport
Source§impl PartialEq for SemanticReport
impl PartialEq for SemanticReport
Source§impl Serialize for SemanticReport
impl Serialize for SemanticReport
impl Eq for SemanticReport
impl StructuralPartialEq for SemanticReport
Auto Trait Implementations§
impl Freeze for SemanticReport
impl RefUnwindSafe for SemanticReport
impl Send for SemanticReport
impl Sync for SemanticReport
impl Unpin for SemanticReport
impl UnsafeUnpin for SemanticReport
impl UnwindSafe for SemanticReport
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,
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.