Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_artifact_provenance_sync
Tests reference — tests/knowledge_graph/test_artifact_provenance_sync.py
Module of tests/knowledge_graph, split out because the directory page would be too large.
Prose pending.
tests/knowledge_graph/test_artifact_provenance_sync.py
source · 10 tests · 414 lines
The runtime writer populates the semantic layer (no doubles).
Covers: kernel.pipeline_artifacts, kernel.pipeline_cli, kernel.pipeline_kg, knowledge_graph.config, knowledge_graph.context_injector, knowledge_graph.graph_client, knowledge_graph.query_engine, core.graph/ (package)
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_sync_artifacts_writes_provenance_readable_by_query |
47 | |
| function | test_sync_artifacts_skips_edge_for_unknown_stage |
107 | A stage that is not a registered volk alias writes the :Artifact node but |
| function | test_sync_artifacts_no_driver_is_noop |
137 | No Neo4j driver -> 0 writes, no raise (best-effort contract). |
| function | test_intent_to_artifact_provenance_chain |
144 | The full provenance chain is traversable from a human intent to the |
| function | test_run_provenance_query_reads_the_chain |
199 | QueryEngine.run_provenance returns the intent, executing volks, and |
| function | test_run_provenance_no_client_is_empty |
253 | |
| function | test_cli_provenance_command_prints_the_chain |
265 | The pipeline CLI provenance command consumes run_provenance and prints |
| function | test_sync_decisions_writes_made_applies_to_and_reads_back |
307 | sync_decisions_to_kg writes (:Volk)-[:MADE]->(:Decision), links APPLIES_TO |
| function | test_sync_decisions_no_driver_is_noop |
400 | |
| function | test_sync_decisions_skips_empty_rationale |
405 |