diff --git a/Cargo.lock b/Cargo.lock index d7287e79..76a70bcb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6003,7 +6003,7 @@ dependencies = [ [[package]] name = "ogar-vocab" version = "0.1.0" -source = "git+https://github.com/AdaWorldAPI/OGAR?branch=claude%2Fmedcare-bridge-lance-graph-wmx76z#c679bccb7996abffdf8de0a46d6700da992527d7" +source = "git+https://github.com/AdaWorldAPI/OGAR?branch=main#19a6886eda1761d2b8f8d1b9a8397549877b0711" [[package]] name = "once_cell" diff --git a/crates/lance-graph-ontology/Cargo.toml b/crates/lance-graph-ontology/Cargo.toml index 476cd8c2..fee493b9 100644 --- a/crates/lance-graph-ontology/Cargo.toml +++ b/crates/lance-graph-ontology/Cargo.toml @@ -17,12 +17,12 @@ lance-graph-contract = { path = "../lance-graph-contract" } # (OpenProjectBridge, RedmineBridge, …) are type aliases over the # harness — the namespace / bridge_id / public-name-alias data all # come from OGAR class schema, not from this crate. -# Pinned to the OGAR `claude/medcare-bridge-lance-graph-wmx76z` branch: -# it carries `ports::PortSpec` + the project-mgmt ports (from -# port-spec-trait) AND the new `HealthcarePort` + 0x09XX Health codebook -# that `MedcareBridge = UnifiedBridge` needs. Will move -# to `branch = "main"` once both OGAR PRs merge. -ogar-vocab = { git = "https://github.com/AdaWorldAPI/OGAR", branch = "claude/medcare-bridge-lance-graph-wmx76z" } +# OGAR `main` carries `ports::PortSpec` + the project-mgmt ports AND the +# `HealthcarePort` + 0x09XX Health codebook that +# `MedcareBridge = UnifiedBridge` needs (OGAR #91 merged). +# Tracks `main`, matching the sibling `lance-graph-ogar` / `cognitive-stack` +# / `symbiont` pins — one OGAR source for the whole graph. +ogar-vocab = { git = "https://github.com/AdaWorldAPI/OGAR", branch = "main" } # TTL parser. oxttl is the smallest streaming Turtle parser in the workspace's # dependency graph and matches the shape of OGIT's per-entity .ttl files. diff --git a/crates/lance-graph-ontology/src/bridges/medcare_bridge.rs b/crates/lance-graph-ontology/src/bridges/medcare_bridge.rs index 79aecae9..e561f16b 100644 --- a/crates/lance-graph-ontology/src/bridges/medcare_bridge.rs +++ b/crates/lance-graph-ontology/src/bridges/medcare_bridge.rs @@ -83,7 +83,10 @@ ogit.Healthcare:Patient registry .hydrate_once_sync(tmp.path(), &["Healthcare"]) .unwrap(); - std::mem::forget(tmp); + // `hydrate_once_sync` parses the TTL into the in-memory registry, so + // the temp dir is no longer needed — let it drop (no leak). The + // earlier `std::mem::forget(tmp)` kept it alive unnecessarily + // (CodeRabbit, PR #582). registry }