Orchestrata Ultimate / RTM / 008-knowledge-graph

RTM: 008-knowledge-graph

Requirement to symbol to test rows for 008-knowledge-graph: Knowledge Graph.

At a glance

Item Value
Requirement IDs 123
Traced from src/ 101 (82.1%)
Untraced 22
Cited from tests/ 26 (21.1%)
Traced in src/ but not cited from tests/ 75

Reading this matrix

This matrix lists each of the 123 requirement IDs of spec 008-knowledge-graph with the src/ symbols that cite it and the tests that cite it. 101 of them (82.1%) have at least one citing symbol and 22 have none.

26 requirements are also cited from tests/, and 75 are traced in code but never named by a test. A test citation is a @traces on a test function; it shows intent to cover, not that the test runs or reaches the symbol.

Rows showing none in the symbols column are the gaps to close first. The densest untraced groups are REQ-008-* (22).

Requirement to symbols to tests

Requirement Symbols in src/ Tests citing it
REQ-008-001 Neo4j knowledge graph serves as persistent memory for multi-agent coordination orchestrata_ultimate/knowledge_graph/graph_client GraphClient L43
orchestrata_ultimate/knowledge_graph/interfaces IKnowledgeGraph L43
tests/kernel/test_audit_logger_enforcement_proof.py::TestMessageRoutingAuditEnforcement
tests/knowledge_graph/test_code_intelligence_coverage.py::TestNodesCoverage
tests/knowledge_graph/test_code_intelligence_coverage.py::TestTypesNodesSerialization
+5 more
REQ-008-002 Knowledge graph maintains temporal awareness with time-stamped nodes and relationships orchestrata_ultimate/kernel/pipeline_kg sync_intent_to_kg L522
orchestrata_ultimate/knowledge_graph/interfaces ITemporalManager L110
orchestrata_ultimate/knowledge_graph/sync full_sync L217
+3 more
tests/kernel/test_pipeline_escalation.py::TestPipelineEscalationAuditWiring
tests/kernel/test_pipeline_escalation.py::test_approve_fires_policy_query_audit
tests/knowledge_graph/test_schema_completeness.py::test_19_fr002_relationships_enumerated
+2 more
REQ-008-003 Portfolio-based organization enables cross-project context sharing orchestrata_ultimate/knowledge_graph/portfolio KGPortfolioManager L23
orchestrata_ultimate/knowledge_graph/portfolio cross_project_query L94
orchestrata_ultimate/knowledge_graph/sync map_classes L1500
tests/kernel/test_pipeline_escalation.py::TestPipelineEscalationAuditWiring
tests/kernel/test_pipeline_escalation.py::test_announce_escalation_fires_escalation_audit
tests/knowledge_graph/test_graph_context_injection.py::test_calls_section
+5 more
REQ-008-004 Agents can query knowledge graph for task-relevant context without loading entire... orchestrata_ultimate/knowledge_graph/interfaces IQueryEngine L125
orchestrata_ultimate/knowledge_graph/query_engine QueryEngine L43
orchestrata_ultimate/knowledge_graph/query_engine get_context L367
+3 more
tests/kernel/test_pipeline_session.py::TestSessionLifecycleAuditWiring
REQ-008-005 Multi-hop retrieval enables complex context gathering across multiple relationships orchestrata_ultimate/gateway/handlers/knowledge handle_volk_work_context L207
orchestrata_ultimate/knowledge_graph/context_injector _append_file_record L894
orchestrata_ultimate/knowledge_graph/context_injector _query_context L701
+8 more
none
REQ-008-006 Knowledge graph supports both static code structure and dynamic execution state orchestrata_ultimate/kernel/pipeline_kg _component_from_source_path L57
orchestrata_ultimate/kernel/pipeline_kg sync_artifacts_to_kg L395
orchestrata_ultimate/kernel/pipeline_kg sync_components_to_kg L342
+16 more
tests/e2e/test_full_pipeline.py::test_full_pipeline_submits_completes_and_syncs_kg
tests/knowledge_graph/test_schema_completeness.py::test_task_id_constraint_present
tests/knowledge_graph/test_schema_completeness.py::test_task_node_type_defined
+1 more
REQ-008-007 Portfolio nodes can contain multiple projects with shared context orchestrata_ultimate/knowledge_graph/portfolio KGPortfolioManager L23
orchestrata_ultimate/knowledge_graph/portfolio add_project L54
orchestrata_ultimate/knowledge_graph/portfolio create_portfolio L40
tests/kernel/test_audit_logger_enforcement_proof.py::TestVolkLifecycleAuditEnforcement
tests/kernel/test_volk_registry_pure.py::TestVolkRegistryAuditWiring
REQ-008-008 Cross-project dependency tracking enables portfolio-level coordination orchestrata_ultimate/knowledge_graph/types DependencyGraph L152 none
REQ-008-009 Portfolio-level dashboards show progress across multiple projects orchestrata_ultimate/knowledge_graph/portfolio get_dashboard L85
orchestrata_ultimate/knowledge_graph/types Dashboard L235
none
REQ-008-010 Automatic portfolio assignment based on project metadata and tags none none
REQ-008-011 Portfolio-level governance extends PAM++ ownership to portfolio scope none none
REQ-008-012 Standardized Cypher query patterns for common agent context needs orchestrata_ultimate/gateway/handlers/knowledge handle_component_work_context L255
orchestrata_ultimate/knowledge_graph/interfaces IQueryEngine L125
orchestrata_ultimate/knowledge_graph/query_engine component_work_context L252
+2 more
none
REQ-008-013 Context injection protocol provides only relevant nodes to agent context orchestrata_ultimate/kernel/pipeline_kg _assemble_context_for_subject L929
orchestrata_ultimate/kernel/pipeline_kg _init_context_injector L131
orchestrata_ultimate/kernel/pipeline_kg _kg_available_now L202
+16 more
tests/knowledge_graph/test_graph_context_injection.py::test_architect_has_extract
tests/knowledge_graph/test_graph_context_injection.py::test_concierge_has_extract
tests/knowledge_graph/test_graph_context_injection.py::test_extracts_from_payload
+39 more
REQ-008-014 Query timeout enforcement prevents agent blocking orchestrata_ultimate/knowledge_graph/query_engine QueryEngine L43 none
REQ-008-015 Caching layer optimizes frequently accessed context orchestrata_ultimate/knowledge_graph/config CacheConfig L53
orchestrata_ultimate/knowledge_graph/query_engine _cache_get L419
orchestrata_ultimate/knowledge_graph/query_engine _cache_put L428
+3 more
none
REQ-008-016 Agent-specific query permissions enforced through PAM++ orchestrata_ultimate/knowledge_graph/prolog_bridge check_can_modify L77 none
REQ-008-017 Tree-sitter integration for Python code analysis orchestrata_ultimate/knowledge_graph/code_parser CodeParser L30
orchestrata_ultimate/knowledge_graph/code_parser _extract_import L256
orchestrata_ultimate/knowledge_graph/code_parser _is_method L281
+3 more
none
REQ-008-018 Tree-sitter integration for Prolog code analysis orchestrata_ultimate/knowledge_graph/code_parser _parse_prolog L293
orchestrata_ultimate/knowledge_graph/code_parser parse_file L39
orchestrata_ultimate/knowledge_graph/graph_node_mixins create_predicate_node L108
+3 more
none
REQ-008-019 Incremental parsing enables efficient updates for large codebases orchestrata_ultimate/knowledge_graph/synchronizer _load_state L880
orchestrata_ultimate/knowledge_graph/synchronizer _save_state L893
orchestrata_ultimate/knowledge_graph/synchronizer _state_file L875
+2 more
none
REQ-008-020 Concrete syntax tree preservation maintains accurate code representation orchestrata_ultimate/knowledge_graph/types FileAnalysis L80 tests/knowledge_graph/test_code_intelligence_coverage.py::TestCodeParserErrorBranches
REQ-008-021 Code analysis results automatically mapped to knowledge graph nodes orchestrata_ultimate/knowledge_graph/code_parser get_file_hash L79
orchestrata_ultimate/knowledge_graph/graph_node_mixins _execute L35
orchestrata_ultimate/knowledge_graph/graph_node_mixins create_class_node L76
+29 more
tests/knowledge_graph/test_kg_sync_edges.py::TestContainsEdges
tests/knowledge_graph/test_kg_sync_edges.py::TestDefinesEdges
tests/knowledge_graph/test_kg_sync_edges.py::TestNodeProperties
+1 more
REQ-008-022 Goal-oriented synchronization following XOS pattern orchestrata_ultimate/knowledge_graph/synchronizer FileSynchronizer L39
orchestrata_ultimate/knowledge_graph/synchronizer ensure_fresh L1000
tests/knowledge_graph/test_graph_context_injection.py::test_ensure_fresh_empty_dir
tests/knowledge_graph/test_graph_context_injection.py::test_ensure_fresh_nonexistent_dir
tests/knowledge_graph/test_graph_context_injection.py::test_ensure_fresh_respects_extensions
+3 more
REQ-008-023 Idempotent updates ensure consistency across sync operations orchestrata_ultimate/kernel/pipeline_kg sync_artifacts_to_kg L395
orchestrata_ultimate/kernel/pipeline_kg sync_decisions_to_kg L589
orchestrata_ultimate/knowledge_graph/interfaces sync_file L36
+14 more
none
REQ-008-024 Unidirectional flow from project files to knowledge graph orchestrata_ultimate/kernel/pipeline_kg _get_graph_client L111
orchestrata_ultimate/kernel/pipeline_kg _pre_task_sync L1011
orchestrata_ultimate/kernel/pipeline_kg _sync_to_graph L243
+3 more
none
REQ-008-025 Anomaly correction automatically maintains consistency orchestrata_ultimate/knowledge_graph/anomaly_detector Anomaly L43
orchestrata_ultimate/knowledge_graph/anomaly_detector AnomalyDetector L77
orchestrata_ultimate/knowledge_graph/anomaly_detector AnomalyReport L65
+9 more
none
REQ-008-026 File watchers monitor changes for incremental updates orchestrata_ultimate/knowledge_graph/config SyncConfig L62
orchestrata_ultimate/knowledge_graph/file_watcher FileWatcher L30
orchestrata_ultimate/knowledge_graph/file_watcher _filter_changes L129
+11 more
tests/knowledge_graph/test_code_intelligence_coverage.py::TestSynchronizerCoverage
REQ-008-027 Time-stamped nodes track creation, update, and validity periods orchestrata_ultimate/knowledge_graph/temporal invalidate L156
orchestrata_ultimate/knowledge_graph/temporal version_node L40
orchestrata_ultimate/knowledge_graph/types_nodes Node L19
none
REQ-008-028 Historical queries enable temporal reasoning and context selection orchestrata_ultimate/knowledge_graph/history get_timeline L89
orchestrata_ultimate/knowledge_graph/interfaces get_state_at L114
orchestrata_ultimate/knowledge_graph/temporal get_state_at L87
none
REQ-008-029 Versioned entity states support rollback and comparison orchestrata_ultimate/knowledge_graph/interfaces ITemporalManager L110
orchestrata_ultimate/knowledge_graph/temporal TemporalManager L27
orchestrata_ultimate/knowledge_graph/versioning VersioningManager L49
+4 more
none
REQ-008-030 Temporal audit capabilities track changes over time orchestrata_ultimate/knowledge_graph/history HistoryManager L30
orchestrata_ultimate/knowledge_graph/history get_change_log L67
orchestrata_ultimate/knowledge_graph/history record_change L40
+1 more
none
REQ-008-031 PAM++ ownership enforcement for all knowledge graph queries orchestrata_ultimate/knowledge_graph/exceptions OwnershipError L52
orchestrata_ultimate/knowledge_graph/pam_integration PAMIntegration L23
orchestrata_ultimate/knowledge_graph/pam_integration enforce_access L83
+1 more
none
REQ-008-032 Portfolio-level access control for cross-project queries orchestrata_ultimate/knowledge_graph/search SearchEngine L22 none
REQ-008-033 Agent-specific query permissions based on role and authority orchestrata_ultimate/knowledge_graph/prolog_bridge check_in_scope L122
orchestrata_ultimate/knowledge_graph/search SearchEngine L22
none
REQ-008-034 Audit trail maintained for all graph modifications and queries orchestrata_ultimate/knowledge_graph/history HistoryManager L30
orchestrata_ultimate/knowledge_graph/history record_change L40
orchestrata_ultimate/knowledge_graph/search SearchEngine L22
+2 more
none
REQ-008-035 Governance engine integration enforces memory operation policies orchestrata_ultimate/knowledge_graph/prolog_bridge KnowledgePrologBridge L24
orchestrata_ultimate/knowledge_graph/prolog_bridge check_can_modify L77
orchestrata_ultimate/knowledge_graph/search SearchEngine L22
none
REQ-008-036 Query response time under 100ms for common context queries orchestrata_ultimate/knowledge_graph/query_engine _cache_get L419 none
REQ-008-037 Index optimization for frequent query patterns orchestrata_ultimate/knowledge_graph/cxp_auditor _ensure_indexes L106
orchestrata_ultimate/knowledge_graph/graph_client ensure_schema L108
orchestrata_ultimate/knowledge_graph/kg_design _ensure_indexes L160
+1 more
tests/knowledge_graph/test_code_intelligence_coverage.py::TestSchemaCoverage
REQ-008-038 Sharding support for large portfolios with thousands of projects none none
REQ-008-039 Memory-efficient query patterns prevent resource exhaustion orchestrata_ultimate/knowledge_graph/config QueryConfig L85
orchestrata_ultimate/knowledge_graph/query_engine _cache_put L428
orchestrata_ultimate/knowledge_graph/query_engine invalidate_cache L381
+1 more
none
REQ-008-040 Distributed query processing for high-concurrency environments orchestrata_ultimate/knowledge_graph/query_engine QueryEngine L43 none
REQ-008-041 CXP protocol integration for memory context references orchestrata_ultimate/kernel/pipeline_kg _init_context_injector L131
orchestrata_ultimate/knowledge_graph/query_engine get_context L367
orchestrata_ultimate/knowledge_graph/types ContextBundle L275
none
REQ-008-042 PAM++ integration for ownership boundary enforcement orchestrata_ultimate/knowledge_graph/pam_integration PAMIntegration L23
orchestrata_ultimate/knowledge_graph/pam_integration set_owner L43
none
REQ-008-043 Session management integration for temporal session tracking orchestrata_ultimate/kernel/pipeline_kg _session_context_data L909
orchestrata_ultimate/knowledge_graph/history get_session_changes L104
orchestrata_ultimate/session/kg_sync/__init__ KnowledgeGraphSyncer L43
+1 more
none
REQ-008-044 Governance engine integration for policy enforcement orchestrata_ultimate/knowledge_graph/prolog_bridge KnowledgePrologBridge L24
orchestrata_ultimate/knowledge_graph/prolog_bridge assert_ownership L42
orchestrata_ultimate/knowledge_graph/prolog_bridge query_ownership L56
none
REQ-008-045 Prolog system integration for dynamic state synchronization orchestrata_ultimate/knowledge_graph/prolog_bridge KnowledgePrologBridge L24
orchestrata_ultimate/knowledge_graph/prolog_bridge available L38
orchestrata_ultimate/knowledge_graph/prolog_bridge query_transitive_deps L100
none
REQ-008-046 Multi-project context injection verification orchestrata_ultimate/knowledge_graph/query_engine get_context L367 none
REQ-008-047 Temporal query accuracy testing orchestrata_ultimate/knowledge_graph/temporal get_state_at L87 none
REQ-008-048 Portfolio relationship validation orchestrata_ultimate/knowledge_graph/portfolio get_portfolio_projects L79 none
REQ-008-049 Agent coordination testing across multiple projects orchestrata_ultimate/knowledge_graph/query_engine QueryEngine L43 none
REQ-008-050 Performance testing under load with large codebases orchestrata_ultimate/knowledge_graph/synchronizer sync_project L437 tests/knowledge_graph/test_kg_sync_edges.py::TestDefinesEdges
tests/knowledge_graph/test_kg_sync_edges.py::TestNodeProperties
tests/knowledge_graph/test_kg_sync_edges.py::_build_package
REQ-008-051 Comprehensive API documentation for memory interface none none
REQ-008-052 Graph schema documentation with node and relationship definitions orchestrata_ultimate/knowledge_graph/schema get_all_ddl L270
orchestrata_ultimate/knowledge_graph/schema get_node_label L405
orchestrata_ultimate/knowledge_graph/types_enums NodeType L23
+1 more
tests/knowledge_graph/test_schema_completeness.py::test_19_fr002_relationships_enumerated
tests/knowledge_graph/test_schema_completeness.py::test_all_fr001_node_types_present_in_all_labels
tests/knowledge_graph/test_schema_completeness.py::test_every_fr002_relationship_name_represented
+1 more
REQ-008-053 Query pattern documentation for common agent scenarios orchestrata_ultimate/knowledge_graph/query_engine QueryEngine L43
orchestrata_ultimate/knowledge_graph/relationships build_create_rel_cypher L27
orchestrata_ultimate/knowledge_graph/relationships build_delete_rel_cypher L59
none
REQ-008-054 Integration guide for existing Orchestrata components none none
REQ-008-055 Performance tuning guide for large-scale deployments none none
REQ-008-056 CodeParser.resolve_calls builds a name→function index across all analyzed files and... orchestrata_ultimate/knowledge_graph/code_parser resolve_calls L367
orchestrata_ultimate/knowledge_graph/graph_context_validator GraphContextValidator L85
orchestrata_ultimate/knowledge_graph/sync _build_import_name_index L1248
+5 more
tests/knowledge_graph/test_code_intelligence.py::TestCallGraphResolution
tests/knowledge_graph/test_code_intelligence.py::TestPreExistingNodeResolution
tests/knowledge_graph/test_code_intelligence.py::TestSyncProjectWithResolution
+10 more
REQ-008-057 Resolved CALLS edges are deduplicated per caller→callee pair so a repeated call site... orchestrata_ultimate/knowledge_graph/code_parser _call_edges_for L419
orchestrata_ultimate/knowledge_graph/code_parser resolve_calls L367
orchestrata_ultimate/knowledge_graph/sync _sync_calls_edges L1117
+2 more
tests/knowledge_graph/test_code_intelligence_graph.py::TestCallsResolutionPrecedence
tests/knowledge_graph/test_code_intelligence_graph.py::TestGraphCallGraphResolution
REQ-008-058 Self-calls (a function calling itself, e.g. recursion) are excluded from CALLS edge... orchestrata_ultimate/knowledge_graph/code_parser _call_edges_for L419
orchestrata_ultimate/knowledge_graph/code_parser resolve_calls L367
orchestrata_ultimate/knowledge_graph/sync _calls_from_entity L1289
+1 more
tests/knowledge_graph/test_code_intelligence.py::TestSamePackage
REQ-008-060 CALLS edges carry a confidence score (_call_confidence) that ranks same-file >... orchestrata_ultimate/knowledge_graph/code_parser _call_confidence L585
orchestrata_ultimate/knowledge_graph/code_parser _same_package L577
orchestrata_ultimate/knowledge_graph/code_parser resolve_calls L367
tests/knowledge_graph/test_code_intelligence_graph.py::TestCallsResolutionPrecedence
REQ-008-062 CodeParser.resolve_inheritance builds a name→class index across all analyzed files... orchestrata_ultimate/knowledge_graph/code_parser resolve_inheritance L453
orchestrata_ultimate/knowledge_graph/synchronizer sync_project_with_resolution L480
orchestrata_ultimate/knowledge_graph/types ResolutionResult L304
+1 more
tests/knowledge_graph/test_code_intelligence.py::TestInheritanceResolution
tests/knowledge_graph/test_code_intelligence.py::TestPreExistingNodeResolution
tests/knowledge_graph/test_code_intelligence_graph.py::TestGraphFullPipeline
+3 more
REQ-008-063 Resolved inheritance edges are deduplicated per child→parent pair orchestrata_ultimate/knowledge_graph/code_parser resolve_inheritance L453
orchestrata_ultimate/knowledge_graph/synchronizer _persist_resolution_edges L649
orchestrata_ultimate/knowledge_graph/synchronizer sync_project_with_resolution L480
tests/knowledge_graph/test_code_intelligence_graph.py::TestGraphInheritanceResolution
tests/knowledge_graph/test_code_intelligence_graph.py::TestInheritsResolutionPrecedence
REQ-008-064 Self-inheritance edges are excluded from inheritance resolution orchestrata_ultimate/knowledge_graph/code_parser resolve_inheritance L453 tests/knowledge_graph/test_code_intelligence_graph.py::TestInheritsResolutionPrecedence
REQ-008-065 Base-class names are extracted from the AST (ast.Name and dotted ast.Attribute... orchestrata_ultimate/knowledge_graph/class_extractor _extract_class L43
orchestrata_ultimate/knowledge_graph/code_parser _extract_class L176
none
REQ-008-066 Base-class names produced via ast.dump (unresolved attribute access) are stripped of... orchestrata_ultimate/knowledge_graph/code_parser resolve_inheritance L453 none
REQ-008-067 CodeParser.resolve_imports builds a module-path→file mapping across all analyzed... orchestrata_ultimate/knowledge_graph/code_parser _file_path_to_module L604
orchestrata_ultimate/knowledge_graph/code_parser resolve_imports L511
orchestrata_ultimate/knowledge_graph/synchronizer sync_project_with_resolution L480
+2 more
tests/knowledge_graph/test_code_intelligence.py::TestImportResolution
tests/knowledge_graph/test_code_intelligence_graph.py::TestGraphFullPipeline
tests/knowledge_graph/test_code_intelligence_graph.py::TestGraphImportResolution
+1 more
REQ-008-068 Import resolution falls back to partial (prefix) module-path matching when an exact... orchestrata_ultimate/knowledge_graph/code_parser resolve_imports L511
orchestrata_ultimate/knowledge_graph/synchronizer _persist_resolution_edges L649
orchestrata_ultimate/knowledge_graph/synchronizer sync_project_with_resolution L480
tests/knowledge_graph/test_code_intelligence_graph.py::TestGraphImportResolution
REQ-008-069 Resolved import edges are deduplicated per source-file→target-file pair orchestrata_ultimate/knowledge_graph/code_parser resolve_imports L511 tests/knowledge_graph/test_code_intelligence.py::TestFilePathToModule
REQ-008-071 Self-imports (a file resolving to itself) are excluded from import edge resolution orchestrata_ultimate/knowledge_graph/code_parser resolve_imports L511 none
REQ-008-072 _extract_class_with_methods/ClassExtractor._extract_methods extract a class's... orchestrata_ultimate/knowledge_graph/class_extractor _extract_decorators L123
orchestrata_ultimate/knowledge_graph/class_extractor _extract_methods L79
orchestrata_ultimate/knowledge_graph/code_parser _extract_class_with_methods L148
+3 more
tests/knowledge_graph/test_code_intelligence.py::TestMethodExtraction
tests/knowledge_graph/test_code_intelligence.py::TestResolutionResult
tests/knowledge_graph/test_code_intelligence_graph.py::TestGraphFullPipeline
+2 more
REQ-008-073 Extracted method FunctionNodes have class_id set to their owning ClassNode's id,... orchestrata_ultimate/knowledge_graph/class_extractor _extract_methods L79
orchestrata_ultimate/knowledge_graph/code_parser _extract_class_with_methods L148
orchestrata_ultimate/knowledge_graph/synchronizer _collect_method_edges L635
+2 more
tests/knowledge_graph/test_code_intelligence_graph.py::TestGraphMethodEdges
tests/knowledge_graph/test_code_intelligence_graph.py::TestGraphNodePersistence
REQ-008-074 Method return-type unparsing failures are caught and logged rather than raised, so... orchestrata_ultimate/knowledge_graph/class_extractor _extract_methods L79
orchestrata_ultimate/knowledge_graph/code_parser _extract_function L211
none
REQ-008-075 _extract_class_with_methods returns the ClassNode paired with its method... orchestrata_ultimate/knowledge_graph/class_extractor extract_with_methods L30
orchestrata_ultimate/knowledge_graph/code_parser _extract_class_with_methods L148
none
REQ-008-092 ASTAnalyzer.__init__ wires a CodeParser, ClassExtractor, and FunctionExtractor... orchestrata_ultimate/knowledge_graph/ast_analyzer __init__ L26 none
REQ-008-098 ASTAnalyzer.analyze_file parses a single file via CodeParser.parse_file and... orchestrata_ultimate/knowledge_graph/ast_analyzer analyze_file L37
orchestrata_ultimate/knowledge_graph/interfaces ICodeAnalyzer L96
none
REQ-008-099 ASTAnalyzer.analyze_project walks a project directory (honoring extension filters... orchestrata_ultimate/knowledge_graph/ast_analyzer analyze_project L42
orchestrata_ultimate/knowledge_graph/interfaces ICodeAnalyzer L96
none
REQ-008-100 ClassExtractor.extract returns all top-level class definitions found in a module's AST orchestrata_ultimate/knowledge_graph/class_extractor extract L20 none
REQ-008-101 CodeParser._extract_function extracts a function/method's name, signature,... orchestrata_ultimate/knowledge_graph/code_parser _extract_function L211 none
REQ-008-059 AnomalyDetector.__init__ wires the Neo4j client, FileSynchronizer, project id, and... orchestrata_ultimate/knowledge_graph/anomaly_detector __init__ L86 none
REQ-008-061 AnomalyDetector.connect ensures the underlying Neo4j client connection is... orchestrata_ultimate/knowledge_graph/anomaly_detector connect L100 none
REQ-008-070 AnomalyDetector._get_loop returns the explicitly-provided event loop when open,... orchestrata_ultimate/knowledge_graph/anomaly_detector _get_loop L106
orchestrata_ultimate/knowledge_graph/anomaly_detector _get_or_create_loop L485
none
REQ-008-076 _check_single_file flags a STALE_FILE anomaly when a graph File node's path no... orchestrata_ultimate/knowledge_graph/anomaly_detector _check_single_file L185 none
REQ-008-077 _check_hash flags a HASH_MISMATCH anomaly when the on-disk file hash differs from... orchestrata_ultimate/knowledge_graph/anomaly_detector _check_hash L217 none
REQ-008-078 _check_line_count flags a LINE_COUNT_DRIFT anomaly when the on-disk line count... orchestrata_ultimate/knowledge_graph/anomaly_detector _check_line_count L241 none
REQ-008-079 _check_entities re-parses a file's AST and compares class/function names against the... orchestrata_ultimate/knowledge_graph/anomaly_detector _check_entities L266
orchestrata_ultimate/knowledge_graph/graph_node_mixins get_file_entities L192
none
REQ-008-080 _check_entity_kind flags an ORPHAN_RELATIONSHIP anomaly for each graph entity... orchestrata_ultimate/knowledge_graph/anomaly_detector _check_entity_kind L300 none
REQ-008-081 _find_missing_files walks the project directory (honoring SyncConfig ignore... orchestrata_ultimate/knowledge_graph/anomaly_detector _find_missing_files L328 none
REQ-008-082 _correct_stale_file corrects a STALE_FILE anomaly by cascade-deleting the file's... orchestrata_ultimate/knowledge_graph/anomaly_detector _correct_stale_file L363
orchestrata_ultimate/knowledge_graph/graph_node_mixins delete_file_cascade L240
none
REQ-008-087 _correct_missing_file corrects a MISSING_FILE anomaly by syncing the file into the... orchestrata_ultimate/knowledge_graph/anomaly_detector _correct_missing_file L375 none
REQ-008-088 _correct_hash_mismatch corrects a HASH_MISMATCH anomaly by invalidating the cached... orchestrata_ultimate/knowledge_graph/anomaly_detector _correct_hash_mismatch L385 none
REQ-008-089 _correct_orphan_relationship corrects an ORPHAN_RELATIONSHIP anomaly by deleting... orchestrata_ultimate/knowledge_graph/anomaly_detector _correct_orphan_relationship L402
orchestrata_ultimate/knowledge_graph/graph_client delete_node L245
none
REQ-008-090 _correct_line_count_drift corrects a LINE_COUNT_DRIFT anomaly by updating the... orchestrata_ultimate/knowledge_graph/anomaly_detector _correct_line_count_drift L424
orchestrata_ultimate/knowledge_graph/graph_node_mixins update_file_line_count L286
none
REQ-008-091 _apply_corrections routes each detected anomaly through auto-correction... orchestrata_ultimate/knowledge_graph/anomaly_detector _apply_corrections L439
orchestrata_ultimate/knowledge_graph/anomaly_detector _prompt_user L500
none
REQ-008-083 TemporalManager.version_node closes the previous version (valid_until = now)... orchestrata_ultimate/knowledge_graph/temporal version_node L40 none
REQ-008-084 Each node version is assigned a unique version id and stores a snapshot of the node's... orchestrata_ultimate/knowledge_graph/temporal invalidate L156
orchestrata_ultimate/knowledge_graph/temporal version_node L40
none
REQ-008-085 version_node persists the new property state to Neo4j (updated_at + properties)... orchestrata_ultimate/knowledge_graph/temporal version_node L40 none
REQ-008-086 TemporalManager.get_state_at returns the node version whose `[valid_from,... orchestrata_ultimate/knowledge_graph/temporal get_state_at L87 none
REQ-008-093 SpikeAuditor.log_packet persists a routed CXP packet as a (:CXPPacket) node keyed... orchestrata_ultimate/knowledge_graph/cxp_auditor _project_slug L27
orchestrata_ultimate/knowledge_graph/cxp_auditor log_packet L154
none
REQ-008-094 The (:CXPPacket) node carries the packet's envelope metadata — thread_id,... orchestrata_ultimate/knowledge_graph/cxp_auditor log_packet L154 none
REQ-008-095 The (:CXPPacket) node also carries priority, delivery_status, and work_status... orchestrata_ultimate/knowledge_graph/cxp_auditor log_packet L154 none
REQ-008-096 log_packet failures (e.g. Neo4j unavailable) are caught and logged rather than... orchestrata_ultimate/knowledge_graph/cxp_auditor _available_now L71
orchestrata_ultimate/knowledge_graph/cxp_auditor _connect L93
orchestrata_ultimate/knowledge_graph/cxp_auditor log_packet L154
none
REQ-008-097 SpikeAuditor.log_routing records a [:ROUTED_TO {subject, thread_id}] relationship... orchestrata_ultimate/knowledge_graph/cxp_auditor log_packet L154
orchestrata_ultimate/knowledge_graph/cxp_auditor log_routing L249
none
REQ-008-102 GraphContext.to_prompt assembles the... orchestrata_ultimate/knowledge_graph/context_injector GraphContext L172
orchestrata_ultimate/knowledge_graph/context_injector _format_decisions_section L377
orchestrata_ultimate/knowledge_graph/context_injector _format_files_section L230
+8 more
none
REQ-008-103 GraphContext.recent_changes is populated from explicit... orchestrata_ultimate/knowledge_graph/context_injector _append_recent_changes L1040
orchestrata_ultimate/knowledge_graph/context_injector _format_change_ts L130
none
REQ-008-104 GraphContext.similar_patterns is populated with files whose classes share base... none none
REQ-008-105 GraphContext.semantic_files is populated by querying the Memgraph semantic-graph... none none
REQ-008-106 GraphContext.requirements is populated by resolving TRACES_TO links from target... orchestrata_ultimate/knowledge_graph/context_injector _query_semantic_context L1254 none
REQ-008-107 GraphContext.decisions is populated by querying... orchestrata_ultimate/knowledge_graph/context_injector _query_semantic_context L1254 none
REQ-008-108 Requirement closure walks (:Requirement)-[:REQUIRES]->(:Requirement) edges from... none none
REQ-008-109 Requirement closure deduplicates results by canonical requirement id and records... none none
REQ-008-110 RuntimeSignalWriter persists runtime signals (Message, ToolCall, Decision,... none none
REQ-008-111 Runtime signals are linked to mentioned File/Class/Function nodes via MENTIONS... none none
REQ-008-112 Inter-agent messages are written as Message nodes carrying thread_id, sender,... none none
REQ-008-113 Tool invocations are written as ToolCall nodes carrying tool_name,... none none
REQ-008-114 Governance decisions are written as Decision nodes carrying rationale, linked to... none none
REQ-008-115 Gateway audit events are written as GatewayEvent nodes carrying event_type,... orchestrata_ultimate/kernel/pipeline_kg _write_context_injection_event L798 none
REQ-008-116 PipelineKGMixin exposes a runtime signal writer and persists decisions via... none none
REQ-008-117 BaseAgent exposes a runtime-signal writer setter and writes tool-call signals none none
REQ-008-118 Kernel pipeline dispatch writes Message signals for routed CXP packets none none
REQ-008-119 Both kernel and orchestrator runners configure agents with the runtime signal writer none none
REQ-008-120 GraphContextValidator validates an LLM response against the core entities cited in... none none
REQ-008-121 ValidatorLoop retries an LLM call with expanded context when validation reports... none none
REQ-008-122 ContextExpansion carries extra_hops, include_tested_by,... orchestrata_ultimate/knowledge_graph/context_injector ContextExpansion L98 none
REQ-008-123 Each retry applies a broader expansion while preserving the original payload as the... none none