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: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions crates/lance-graph-ontology/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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<HealthcarePort>` 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<HealthcarePort>` 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.
Expand Down
5 changes: 4 additions & 1 deletion crates/lance-graph-ontology/src/bridges/medcare_bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
Loading