# .ontology/connections.ncl — Project: {{ project_name }} # Declares cross-project relationships for federation and impact analysis. # Used by: GET /graph/impact?include_external=true, describe impact --include-external # # Each connection: # project — slug registered in the shared daemon # node — ontology node id in that project (for impact graph traversal) # via — transport: "http" | "local" | "nats" # # Directions: # upstream — projects this one depends on / consumes from # downstream — projects that depend on / consume this one # peers — symmetric relationships (shared concerns, sibling services) let s = import "connections" in { upstream = [ # { project = "platform-core", node = "api-contract", via = "http" }, ], downstream = [ # { project = "consumer-app", node = "integration-layer", via = "http" }, ], peers = [ # { project = "sibling-service", node = "shared-domain", via = "local" }, ], } | s.Connections