Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ test_suite(
"//crates/graphforge-ir:golden",
"//crates/graphforge-ontology:integration",
"//crates/graphforge-ontology:composition_inventory",
"//crates/graphforge-ontology:bridge_sets",
"//crates/graphforge-ontology:inventory_crud",
"//crates/graphforge-rel:expression_lowering_matrix",
"//crates/graphforge-rel:logical_plan_golden",
Expand Down Expand Up @@ -242,6 +243,7 @@ test_suite(
"//crates/graphforge-ir:golden",
"//crates/graphforge-ontology:integration",
"//crates/graphforge-ontology:composition_inventory",
"//crates/graphforge-ontology:bridge_sets",
"//crates/graphforge-ontology:inventory_crud",
"//crates/graphforge-rel:expression_lowering_matrix",
"//crates/graphforge-rel:logical_plan_golden",
Expand Down
10 changes: 10 additions & 0 deletions crates/graphforge-ontology/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ gf_rust_integration_test(
],
)

gf_rust_integration_test(
name = "bridge_sets",
srcs = ["tests/bridge_sets.rs"],
crate = ":graphforge_ontology",
deps = [
"//crates/graphforge-core:graphforge_core",
],
)

gf_rust_integration_test(
name = "inventory_crud",
srcs = ["tests/inventory_crud.rs"],
Expand All @@ -78,6 +87,7 @@ test_suite(
":graphforge_ontology_test",
":integration",
":composition_inventory",
":bridge_sets",
":inventory_crud",
],
)
21 changes: 21 additions & 0 deletions crates/graphforge-ontology/src/bridge/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//! Provenance-bearing bridge-set lifecycle (#838).
//!
//! Bridge sets connect exact qualified symbols across ontology modules without
//! mutating either source module. Suggested/inferred mappings stay
//! non-authoritative until explicitly adopted. Equal human names never create a
//! bridge automatically.

mod store;
mod types;
mod validate;

pub use store::{
BridgeDeletePreview, BridgeExportFormat, BridgeImportFormatHint, BridgeInspect,
BridgeInventory, BridgeListEntry, BridgeMutationReceipt, BridgeSelector, BridgeSnapshot,
BridgeUpdatePreview, ModuleSymbolTable,
};
pub use types::{
BridgeAssertion, BridgeDocument, BridgeLifecycleStatus, BridgePredicate, BridgeProvenance,
MappingConfidence, MappingMethod, SharedSurfaceHint,
};
pub use validate::validate_bridge_document;
Loading