orchestrata_contracts.kg
Reference › components › contracts › orchestrata_contracts › kg
orchestrata_contracts.kg package.
The kg subpackage of contracts holds the shared knowledge-graph vocabulary; its __init__ is lifted from orchestrata_ultimate.session.cli.kg. The largest module is kg_schema (736 lines), the canonical REL_* relationship vocabulary (ADR-0103 P2-E F1). Around it sit node types (node, class_node, function_node, module_node, package_node, file_node, import_node, task_node, rule_node, predicate_node), enums (node_type, relationship_type, change_type, sync_status), result types (sync_result, resolution_result, file_analysis, project_analysis, dependency_graph), the protocols i_knowledge_graph, i_query_engine, i_code_analyzer, i_temporal_manager and synchronizer_protocol, and the graph error types. The implementations are in the knowledge_graph component; see the knowledge_graph narrative.
39 modules, 1,983 lines of code.
Modules
| Module | Summary | LOC | Lifted from |
|---|---|---|---|
__init__ |
orchestrata_contracts.kg package. | 2 | lifted from orchestrata_ultimate.session.cli.kg |
change_entry |
45 | ||
change_type |
14 | ||
class_node |
48 | ||
context_bundle |
36 | ||
dashboard |
41 | ||
dependency |
31 | ||
dependency_graph |
43 | ||
file_analysis |
37 | ||
file_node |
50 | ||
function_node |
52 | ||
graph_connection_error |
7 | ||
graph_query_error |
11 | ||
graph_schema_error |
7 | ||
i_code_analyzer |
21 | ||
i_knowledge_graph |
59 | ||
i_query_engine |
30 | ||
i_temporal_manager |
22 | ||
import_node |
33 | ||
kg_schema |
orchestrata_contracts.kg.kg_schema — the canonical REL_* relationship vocabulary (ADR-0103 P2-E F1). | 736 | |
knowledge_graph_error |
10 | ||
module_node |
47 | ||
node |
64 | ||
node_type |
43 | ||
ownership_error |
13 | ||
package_node |
47 | ||
parse_error |
11 | ||
predicate_node |
58 | ||
project_analysis |
21 | ||
relationship_type |
75 | ||
resolution_result |
76 | ||
rule_node |
42 | ||
sync_error |
11 | ||
sync_result |
35 | ||
sync_status |
14 | ||
synchronizer_protocol |
22 | ||
task_node |
50 | ||
temporal_error |
7 | ||
types_enums |
Residue-only lift of frozen knowledge_graph.types_enums (ADR-0103 P2-F). |
12 |