Skip to main content

Module canonical_stack

Module canonical_stack 

Source

Structs§

AddGraphEdgeParams
Parameters for creating a graph edge.
CanonicalMemoryConfig
Configuration for the memory system.
CanonicalMemoryStore
Thread-safe handle to the memory database.
ClaimId
Opaque identifier for a claim (knowledge assertion).
ClaimVersionId
Opaque identifier for a specific version of a claim.
EntityId
Opaque identifier for an entity (person, concept, code unit, etc.).
EnvelopeId
Opaque identifier for an import/export envelope.
EvidenceBundle
An evidence bundle capturing the full methodological chain.
ExplainedSearchResponse
Explained search response shape for context-aware APIs.
ExportClaim
A claim exported from Forge.
ExportEnvelopeV2
Forge-owned export envelope containing projection data plus the canonical evidence bundle that produced those projections.
ExportEnvelopeV3
CLIB-013: Canonical Forge export envelope (v3).
ExportRecordV3
ForgeExportMeta
Metadata about a Forge export operation.
ForgeToolReceiptV2
IntegrityReport
Result of an integrity verification.
KnowledgeRuntime
The main runtime handle.
MemoryStats
Database statistics.
MockEmbedder
Deterministic embedder for unit tests.
ProjectionImportBatchV3
Canonical kernel-oriented projection import batch produced by the bridge.
ProjectionImportResult
Result of a projection batch import (V11+).
QueryTrace
Observability record for a single query execution.
RuntimeConfig
Top-level runtime configuration.
RuntimeQueryProvenanceV1
Versioned provenance record summarizing a full query execution for downstream audit.
Scope
Multi-dimensional scope that bounds every runtime query and projection.
ScopeKey
Compact, hashable representation of all scope dimensions.
SearchContext
Explicit search execution context for deterministic replay and receipt generation.
SearchResponse
Search response shape for context-aware APIs.
SearchResult
A single search result.
SemanticMemoryAdapter
Read-only adapter over a semantic_memory::MemoryStore.
StoredGraphEdge
A stored graph edge row.
TraceCtx
In-process trace context for cross-crate correlation.
VectorSearchReceiptV1
Receipt-ready vector/search execution metadata.

Enums§

BridgeError
Errors produced by the forge-memory-bridge.
CanonicalMemoryError
Error types for the semantic-memory crate.
ExportRecord
A single record within an export envelope.
ReceiptMode
Controls whether search receipt metadata is produced.
ReconcileAction
Action to take when integrity issues are found.
RuntimeError
Error types for the knowledge-runtime crate.
VerifyMode
How thorough the integrity check should be.

Constants§

EXPORT_ENVELOPE_V2_SCHEMA
Schema version for ExportEnvelopeV2.
EXPORT_ENVELOPE_V3_SCHEMA
Schema version for the richer kernel-ready export envelope.
PROJECTION_IMPORT_BATCH_V3_SCHEMA
Rich import-batch schema version emitted by the bridge for the kernel path.

Functions§

import_projection_batch
transform_envelope_v3
Transform an ExportEnvelopeV3 into a ProjectionImportBatchV3.
transform_forge_export