Expand description
§forge-memory-bridge
Transforms Forge export envelopes into projection
import batches for consumption by
semantic-memory’s projection importer.
§Authority boundary
This crate owns the transformation from Forge’s export vocabulary to memory’s import vocabulary. It does NOT:
- evaluate comparability or decide promotion,
- guess missing semantics from live memory,
- become a query service,
- persist any state of its own.
§Phase status: current / implemented now
Structs§
- Bridge
Import Failure Artifact - First-class bridge import failure artifact for replayability and audit.
- Import
Claim Version - A claim projection version ready for import.
- Import
Entity Alias - An entity alias ready for import.
- Import
Episode Record - An episode ready for import.
- Import
Evidence Ref - An evidence reference ready for import.
- Import
Projection Record V3 - A single import record enriched with export-time semantics for kernel compilation.
- Import
Relation Version - A relation version ready for import.
- Projection
Import Batch V1 Deprecated - A projection import batch produced by the bridge.
- Projection
Import Batch V2 - A projection import batch produced by the bridge for the V2 contract.
- Projection
Import Batch V3 - Canonical kernel-oriented projection import batch produced by the bridge.
Enums§
- Bridge
Error - Errors produced by the forge-memory-bridge.
- Claim
State - Lifecycle state of a claim.
- Contradiction
Status - Contradiction status for claims and relations.
- Import
Projection Record - A single record in a projection import batch.
- Merge
Decision - Merge decision provenance for entity aliases.
- Projection
Freshness - Projection freshness status.
- Review
State - Durable review state for alias/merge decisions.
Constants§
- BRIDGE_
IMPORT_ FAILURE_ ARTIFACT_ V1_ SCHEMA - Schema version constant for
BridgeImportFailureArtifact. - PROJECTION_
IMPORT_ BATCH_ V1_ SCHEMA Deprecated - Legacy compatibility import-batch schema version emitted by the bridge.
- PROJECTION_
IMPORT_ BATCH_ V2_ SCHEMA - Canonical import-batch schema version emitted by the bridge.
- PROJECTION_
IMPORT_ BATCH_ V3_ SCHEMA - Rich import-batch schema version emitted by the bridge for the kernel path.
Functions§
- bridge_
trace_ ctx - Create a trace context for the bridge transformation, chaining from the source envelope’s trace context if available.
- is_
compatible_ version - Validate that an export envelope’s version is compatible with this bridge.
- transform_
envelope Deprecated - Transform an
ExportEnvelopeV1into aProjectionImportBatchV1. - transform_
envelope_ v2 Deprecated - Transform an
ExportEnvelopeV2into aProjectionImportBatchV2. - transform_
envelope_ v3 - Transform an
ExportEnvelopeV3into aProjectionImportBatchV3.