Orchestrata Ultimate / RTM / 003-intent

RTM: 003-intent

Requirement to symbol to test rows for 003-intent: Intent Broker (U:Intents).

At a glance

Item Value
Requirement IDs 396
Traced from src/ 290 (73.2%)
Untraced 106
Cited from tests/ 15 (3.8%)
Traced in src/ but not cited from tests/ 286

Reading this matrix

This matrix lists each of the 396 requirement IDs of spec 003-intent with the src/ symbols that cite it and the tests that cite it. 290 of them (73.2%) have at least one citing symbol and 106 have none.

15 requirements are also cited from tests/, and 286 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-003-US-009 (20), REQ-003-US-001 (19), REQ-003-US-004 (16).

Requirement to symbols to tests

Requirement Symbols in src/ Tests citing it
REQ-003-US-001-001 Parse simple action statements ("create a file named test.py") none none
REQ-003-US-001-002 Parse compound statements ("read config.yaml and update database") none none
REQ-003-US-001-003 Extract action verbs (read, write, delete, execute, query) orchestrata_ultimate/orchestrator/intent_parser IntentExtractor L190
orchestrata_ultimate/orchestrator/intent_types IntentAction L25
none
REQ-003-US-001-004 Extract target nouns (file, code, database, api, system) orchestrata_ultimate/orchestrator/intent_parser ResourceType L34
orchestrata_ultimate/orchestrator/intent_types IntentTarget L45
none
REQ-003-US-001-005 Identify parameters (file names, values, options) orchestrata_ultimate/orchestrator/parameter_extractor ParameterExtractor L17
orchestrata_ultimate/orchestrator/parameter_extractor extract_all L216
orchestrata_ultimate/orchestrator/parameter_extractor extract_boolean_params L197
+3 more
none
REQ-003-US-001-006 Recognize constraints (permissions, limits, conditions) orchestrata_ultimate/orchestrator/intent_types IntentConstraint L103
orchestrata_ultimate/orchestrator/parameter_extractor ParameterExtractor L17
orchestrata_ultimate/orchestrator/parameter_extractor extract_constraint_params L152
none
REQ-003-US-001-007 Handle ambiguous intents with clarification requests orchestrata_ultimate/orchestrator/ambiguity_resolver AmbiguityResolver L69
orchestrata_ultimate/orchestrator/ambiguity_resolver detect_ambiguity L89
orchestrata_ultimate/orchestrator/ambiguity_resolver resolve L130
none
REQ-003-US-001-008 Support multi-language input (English primary) orchestrata_ultimate/orchestrator/nlp Tokenizer L56 none
REQ-003-US-001-009 Parse incomplete sentences with context orchestrata_ultimate/orchestrator/nlp ContextAwareParser L455
orchestrata_ultimate/orchestrator/nlp SessionContext L418
orchestrata_ultimate/orchestrator/nlp parse_with_context L489
none
REQ-003-US-001-010 Handle typos and grammatical errors gracefully orchestrata_ultimate/orchestrator/intent_parser try_parse L165 none
REQ-003-US-001-011 Create IntentParser class in src/session/intent_parser.py orchestrata_ultimate/orchestrator/intent_parser IntentParser L87
orchestrata_ultimate/orchestrator/intent_parser parse L109
none
REQ-003-US-001-012 Implement NLP tokenization (use spaCy or nltk) orchestrata_ultimate/orchestrator/nlp Token L40
orchestrata_ultimate/orchestrator/nlp TokenType L23
orchestrata_ultimate/orchestrator/nlp Tokenizer L56
+4 more
none
REQ-003-US-001-013 Create action verb dictionary (READ, WRITE, DELETE, EXECUTE, QUERY) orchestrata_ultimate/orchestrator/intent_parser Action L22
orchestrata_ultimate/orchestrator/intent_parser IntentExtractor L190
orchestrata_ultimate/orchestrator/intent_types IntentAction L25
none
REQ-003-US-001-014 Create target noun dictionary (FILE, CODE, DATABASE, API, SYSTEM) orchestrata_ultimate/orchestrator/intent_parser ResourceType L34
orchestrata_ultimate/orchestrator/intent_types IntentTarget L45
none
REQ-003-US-001-015 Implement parameter extraction using named entity recognition orchestrata_ultimate/orchestrator/nlp EntityType L159
orchestrata_ultimate/orchestrator/nlp NamedEntity L178
orchestrata_ultimate/orchestrator/nlp NamedEntityRecognizer L190
+11 more
none
REQ-003-US-001-016 Create constraint parser for conditional expressions orchestrata_ultimate/orchestrator/intent_types IntentConstraint L103
orchestrata_ultimate/orchestrator/parameter_extractor ParameterExtractor L17
orchestrata_ultimate/orchestrator/parameter_extractor extract_constraint_params L152
none
REQ-003-US-001-017 Implement ambiguity detection algorithm orchestrata_ultimate/orchestrator/ambiguity_resolver AmbiguityCandidate L17
orchestrata_ultimate/orchestrator/ambiguity_resolver AmbiguityResolver L69
orchestrata_ultimate/orchestrator/ambiguity_resolver __init__ L85
+4 more
none
REQ-003-US-001-018 Create clarification question generator orchestrata_ultimate/orchestrator/ambiguity_resolver AmbiguityResolver L69
orchestrata_ultimate/orchestrator/ambiguity_resolver resolve L130
none
REQ-003-US-001-019 Add multi-language support framework orchestrata_ultimate/orchestrator/nlp Tokenizer L56 none
REQ-003-US-001-020 Implement context-aware parsing using session state orchestrata_ultimate/orchestrator/ambiguity_resolver _try_context_resolution L241
orchestrata_ultimate/orchestrator/nlp ContextAwareParser L455
orchestrata_ultimate/orchestrator/nlp SessionContext L418
+7 more
none
REQ-003-US-001-021 Add spell-checking and auto-correction orchestrata_ultimate/orchestrator/intent_parser try_parse L165 none
REQ-003-US-001-022 Create parser configuration file none none
REQ-003-US-001-023 Implement parser caching for performance orchestrata_ultimate/orchestrator/intent_parser Intent L46
orchestrata_ultimate/orchestrator/intent_parser hash L76
orchestrata_ultimate/orchestrator/intent_parser to_string L56
none
REQ-003-US-001-024 Add parser telemetry and metrics orchestrata_ultimate/orchestrator/nlp NamedEntityRecognizer L190
orchestrata_ultimate/orchestrator/nlp Tokenizer L56
none
REQ-003-US-001-025 Create parser test fixtures none none
REQ-003-US-001-026 Unit test: Parse "create file test.py" → Intent(action=WRITE, target=FILE) none none
REQ-003-US-001-027 Unit test: Parse "read config.yaml" → Intent(action=READ, target=FILE) none none
REQ-003-US-001-028 Unit test: Parse "delete database records" → Intent(action=DELETE, target=DATABASE) none none
REQ-003-US-001-029 Unit test: Parse "execute deploy script" → Intent(action=EXECUTE, target=SYSTEM) none none
REQ-003-US-001-030 Unit test: Parse "query API for users" → Intent(action=QUERY, target=API) none none
REQ-003-US-001-031 Integration test: Parse with missing parameters triggers clarification orchestrata_ultimate/orchestrator/ambiguity_resolver AmbiguityResolver L69
orchestrata_ultimate/orchestrator/ambiguity_resolver resolve L130
none
REQ-003-US-001-032 Integration test: Parse ambiguous intent returns multiple candidates orchestrata_ultimate/orchestrator/ambiguity_resolver AmbiguityResolver L69
orchestrata_ultimate/orchestrator/ambiguity_resolver AmbiguityResult L44
orchestrata_ultimate/orchestrator/ambiguity_resolver __init__ L21
+3 more
none
REQ-003-US-001-033 Performance test: Parse 1000 intents in <100ms average none none
REQ-003-US-001-034 Edge case test: Handle empty input gracefully orchestrata_ultimate/orchestrator/intent_parser IntentParseError L82
orchestrata_ultimate/orchestrator/intent_parser try_parse L165
none
REQ-003-US-001-035 Edge case test: Handle very long input (>1000 chars) orchestrata_ultimate/orchestrator/intent_parser try_parse L165 none
REQ-003-US-001-040 IntentVocabulary supports runtime-extensible keyword→category orchestrata_ultimate/orchestrator/intent_vocabulary IntentVocabulary L450
orchestrata_ultimate/orchestrator/intent_vocabulary _registry_for L486
orchestrata_ultimate/orchestrator/intent_vocabulary add_keywords L498
+2 more
none
REQ-003-US-001-041 IntentVocabulary.default() seeds work_type/action/target/priority orchestrata_ultimate/orchestrator/intent_classifier _classify_via_vocabulary L435
orchestrata_ultimate/orchestrator/intent_classifier _priority_from_vocabulary L472
orchestrata_ultimate/orchestrator/intent_vocabulary IntentVocabulary L450
+1 more
none
REQ-003-US-001-042 DCG-grammar parsing backend — intent_grammar.pl orchestrata_ultimate/orchestrator/intent_classifier NLIntentClassifier L242
orchestrata_ultimate/orchestrator/intent_classifier _classify_via_grammar L367
orchestrata_ultimate/orchestrator/intent_classifier _ensure_grammar_loaded L353
+1 more
none
REQ-003-US-001-043 Cascade fallback — NLIntentClassifier.classify tries the Prolog orchestrata_ultimate/orchestrator/intent_classifier NLIntentClassifier L242
orchestrata_ultimate/orchestrator/intent_classifier _classify_via_vocabulary L435
orchestrata_ultimate/orchestrator/intent_classifier _score L488
+1 more
none
REQ-003-US-001-044 Category→workflow mapping — WorkflowMapper.workflow_for maps a orchestrata_ultimate/orchestrator/intent_classifier WorkflowMapper L539
orchestrata_ultimate/orchestrator/intent_classifier register L552
orchestrata_ultimate/orchestrator/intent_classifier stages_for L562
+1 more
none
REQ-003-US-001-045 IntentEvaluator.evaluate computes a confidence score and flags orchestrata_ultimate/orchestrator/intent_broker process_text L287
orchestrata_ultimate/orchestrator/intent_classifier EvaluationResult L568
orchestrata_ultimate/orchestrator/intent_classifier IntentEvaluator L585
+3 more
tests/orchestrator/test_intent_broker_coverage.py::test_evaluator_property_exposes_wired_evaluator
tests/orchestrator/test_intent_broker_coverage.py::test_process_text_applies_session_id_and_priority
tests/orchestrator/test_intent_broker_nl.py::test_process_text_dispatches_free_text_through_real_pipeline
+2 more
REQ-003-US-001-046 NER-sourced resource_path/assigned_volk — the classifier orchestrata_ultimate/orchestrator/intent_classifier ClassifiedIntent L81
orchestrata_ultimate/orchestrator/intent_classifier NLIntentClassifier L242
orchestrata_ultimate/orchestrator/intent_classifier _assigned_volk_from_entities L514
+2 more
none
REQ-003-US-001-047 IntentVocabulary.to_dict/from_dict round-trip for orchestrata_ultimate/orchestrator/intent_vocabulary IntentVocabulary L450
orchestrata_ultimate/orchestrator/intent_vocabulary from_dict L549
orchestrata_ultimate/orchestrator/intent_vocabulary to_dict L526
none
REQ-003-US-001-048 Grammar-tier classifications carry confidence ~0.9; orchestrata_ultimate/orchestrator/intent_classifier NLIntentClassifier L242
orchestrata_ultimate/orchestrator/intent_classifier _classify_via_grammar L367
orchestrata_ultimate/orchestrator/intent_classifier _confidence_from_scores L200
none
REQ-003-US-001-049 NLIntentClassifier.to_intent bridges a ClassifiedIntent to a orchestrata_ultimate/orchestrator/intent_classifier ClassifiedIntent L81
orchestrata_ultimate/orchestrator/intent_classifier to_intent L521
none
REQ-003-US-001-050 Stem-normalized lexicon matching — intent_grammar.pl none tests/orchestrator/test_intent_classifier.py::test_grammar_lexicon_parity_every_target_keyword_resolves
tests/orchestrator/test_intent_classifier.py::test_grammar_lexicon_parity_every_work_type_keyword_resolves
REQ-003-US-001-051 Stem-collision gate — lexicon_stem_collision/3 none none
REQ-003-US-001-052 Decisive-over-generic work-type resolution — a work-type none tests/orchestrator/test_intent_classifier.py::test_grammar_lexicon_parity_every_work_type_keyword_resolves
tests/scripts/test_gen_intent_lexicon.py::test_render_includes_every_work_type_keyword
REQ-003-US-001-053 IntentVocabulary.generic_verbs declares the none none
REQ-003-US-001-054 Expanded default vocabulary — every WorkType and every none none
REQ-003-US-001-065 Majority-vote work-type resolution — when a sentence names none tests/orchestrator/test_intent_classifier.py::test_repeated_work_word_is_counted_not_collapsed
tests/orchestrator/test_intent_grammar_accuracy.py::test_work_type_is_resolved_by_majority_vote
REQ-003-US-001-055 Committed accuracy corpora — `tests/orchestrator/data/ none none
REQ-003-US-001-060 IntentNormalizer.normalize(text, context) rewrites a orchestrata_ultimate/orchestrator/intent_classifier classify_async L306
orchestrata_ultimate/orchestrator/intent_normalizer IntentNormalizer L142
orchestrata_ultimate/orchestrator/intent_normalizer build_user_message L192
+1 more
none
REQ-003-US-001-061 Normalization never blocks classification — any provider orchestrata_ultimate/orchestrator/intent_normalizer IntentNormalizer L142
orchestrata_ultimate/orchestrator/intent_normalizer clean_reply L205
none
REQ-003-US-001-062 The sentence the grammar actually parsed is recorded on orchestrata_ultimate/orchestrator/intent_classifier classify_async L306
orchestrata_ultimate/orchestrator/intent_normalizer IntentNormalizer L142
none
REQ-003-US-001-063 NLIntentClassifier.classify_async, orchestrata_ultimate/orchestrator/intent_classifier classify_async L306
orchestrata_ultimate/orchestrator/intent_classifier evaluate_async L607
none
REQ-003-US-001-064 Identical (text, context) returns the identical orchestrata_ultimate/orchestrator/intent_normalizer cache_key L176 none
REQ-003-US-001-066 The normalizer prompt is chosen by measurement against none none
REQ-003-US-001-067 A normalization must be GROUNDED — the rewrite shares orchestrata_ultimate/orchestrator/intent_normalizer _is_grounded L266
orchestrata_ultimate/orchestrator/intent_normalizer _tokens L253
orchestrata_ultimate/orchestrator/intent_normalizer clean_reply L205
none
REQ-003-US-001-068 Every verdict carries the evidence behind it — which orchestrata_ultimate/orchestrator/intent_classifier _as_int L180 none
REQ-003-US-001-070 A QUESTION must not auto-dispatch work, however orchestrata_ultimate/orchestrator/intent_classifier is_question L149 none
REQ-003-US-001-069 Confidence must be GRADED before it is calibrated. none tests/orchestrator/test_intent_classifier.py::test_confidence_never_lands_between_the_two_tiers
REQ-003-US-002-001 Intent data model defined with all required fields orchestrata_ultimate/orchestrator/intent_results DispatchResult L104
orchestrata_ultimate/orchestrator/intent_results RoutingResult L66
orchestrata_ultimate/orchestrator/intent_types Intent L147
none
REQ-003-US-002-002 Intent serialization to JSON orchestrata_ultimate/orchestrator/intent_results to_dict L41
orchestrata_ultimate/orchestrator/intent_results to_dict L81
orchestrata_ultimate/orchestrator/intent_results to_dict L116
+2 more
none
REQ-003-US-002-003 Intent deserialization from JSON orchestrata_ultimate/orchestrator/intent_types from_dict L125
orchestrata_ultimate/orchestrator/intent_types from_dict L236
none
REQ-003-US-002-004 Intent validation schema (Pydantic) orchestrata_ultimate/orchestrator/intent_types is_valid L321
orchestrata_ultimate/orchestrator/intent_types validate_required_fields L289
none
REQ-003-US-002-005 Required fields enforced (id, action, target, requester) orchestrata_ultimate/orchestrator/intent_types is_valid L321
orchestrata_ultimate/orchestrator/intent_types validate_required_fields L289
none
REQ-003-US-002-006 Optional fields supported (parameters, constraints, metadata) none none
REQ-003-US-002-007 Intent versioning for schema evolution orchestrata_ultimate/orchestrator/intent_results to_dict L41
orchestrata_ultimate/orchestrator/intent_results to_dict L81
orchestrata_ultimate/orchestrator/intent_results to_dict L116
+2 more
none
REQ-003-US-002-008 Intent immutability after creation none none
REQ-003-US-002-009 Intent comparison and equality checks none none
REQ-003-US-002-010 Intent hashing for deduplication orchestrata_ultimate/orchestrator/intent_types hash L191 none
REQ-003-US-002-011 Create Intent dataclass in src/session/models.py orchestrata_ultimate/orchestrator/intent_types Intent L147 none
REQ-003-US-002-012 Define IntentAction enum (READ, WRITE, DELETE, EXECUTE, QUERY) orchestrata_ultimate/orchestrator/intent_types IntentAction L25 none
REQ-003-US-002-013 Define IntentTarget enum (FILE, CODE, DATABASE, API, SYSTEM) orchestrata_ultimate/orchestrator/intent_types IntentTarget L45 none
REQ-003-US-002-014 Define IntentStatus enum (PENDING, VALIDATED, EXECUTING, COMPLETED, FAILED) orchestrata_ultimate/orchestrator/intent_types IntentStatus L66 none
REQ-003-US-002-015 Implement to_json() method orchestrata_ultimate/orchestrator/intent_results to_dict L41
orchestrata_ultimate/orchestrator/intent_results to_dict L81
orchestrata_ultimate/orchestrator/intent_results to_dict L116
+2 more
none
REQ-003-US-002-016 Implement from_json() class method orchestrata_ultimate/orchestrator/intent_types from_dict L125
orchestrata_ultimate/orchestrator/intent_types from_dict L236
none
REQ-003-US-002-017 Create Pydantic schema IntentSchema orchestrata_ultimate/orchestrator/intent_types validate_required_fields L289 none
REQ-003-US-002-018 Implement field validation rules orchestrata_ultimate/orchestrator/intent_types validate_required_fields L289 none
REQ-003-US-002-019 Add schema versioning with __version__ field orchestrata_ultimate/orchestrator/intent_results to_dict L41
orchestrata_ultimate/orchestrator/intent_results to_dict L81
orchestrata_ultimate/orchestrator/intent_results to_dict L116
+2 more
none
REQ-003-US-002-020 Implement __eq__() and __hash__() methods orchestrata_ultimate/orchestrator/intent_types hash L191 none
REQ-003-US-002-021 Create intent builder pattern for complex intents orchestrata_ultimate/orchestrator/intent_types from_dict L125
orchestrata_ultimate/orchestrator/intent_types from_dict L236
none
REQ-003-US-002-022 Add intent factory methods for common patterns orchestrata_ultimate/orchestrator/intent_template instantiate L76 none
REQ-003-US-002-023 Implement intent copying with modifications orchestrata_ultimate/orchestrator/intent_types from_dict L125
orchestrata_ultimate/orchestrator/intent_types from_dict L236
none
REQ-003-US-002-024 Create intent diff function for comparison orchestrata_ultimate/orchestrator/intent_types hash L191 none
REQ-003-US-002-025 Add intent migration for schema changes orchestrata_ultimate/orchestrator/intent_types from_dict L125
orchestrata_ultimate/orchestrator/intent_types from_dict L236
none
REQ-003-US-002-026 Unit test: Create intent with required fields succeeds orchestrata_ultimate/orchestrator/intent_types validate_required_fields L289 none
REQ-003-US-002-027 Unit test: Create intent without required fields raises validation error orchestrata_ultimate/orchestrator/intent_types validate_required_fields L289 none
REQ-003-US-002-028 Unit test: Serialize intent to JSON and back preserves data orchestrata_ultimate/orchestrator/intent_results to_dict L41
orchestrata_ultimate/orchestrator/intent_results to_dict L81
orchestrata_ultimate/orchestrator/intent_results to_dict L116
+4 more
none
REQ-003-US-002-029 Unit test: Invalid JSON raises deserialization error orchestrata_ultimate/orchestrator/intent_types from_dict L125
orchestrata_ultimate/orchestrator/intent_types from_dict L236
none
REQ-003-US-002-030 Unit test: Intent with invalid action raises validation error orchestrata_ultimate/orchestrator/intent_types validate_required_fields L289 none
REQ-003-US-002-031 Unit test: Intent with invalid target raises validation error orchestrata_ultimate/orchestrator/intent_types validate_required_fields L289 none
REQ-003-US-002-032 Unit test: Two identical intents are equal none none
REQ-003-US-002-033 Unit test: Two different intents are not equal none none
REQ-003-US-002-034 Unit test: Intent hash is consistent across runs orchestrata_ultimate/orchestrator/intent_types hash L191 none
REQ-003-US-002-035 Integration test: Intent versioning supports v1 and v2 schemas orchestrata_ultimate/orchestrator/intent_types from_dict L125
orchestrata_ultimate/orchestrator/intent_types from_dict L236
none
REQ-003-US-003-001 All intents validated against Prolog rules before routing orchestrata_ultimate/orchestrator/fact_graph write_fact L126
orchestrata_ultimate/orchestrator/fact_manager FactManager L77
orchestrata_ultimate/orchestrator/fact_manager FactMetadata L35
+12 more
none
REQ-003-US-003-002 Validation checks action permissions orchestrata_ultimate/orchestrator/intent_parser IntentValidator L325
orchestrata_ultimate/orchestrator/intent_parser validate L338
orchestrata_ultimate/orchestrator/intent_validator _check_security L179
+1 more
none
REQ-003-US-003-003 Validation checks target access rights orchestrata_ultimate/orchestrator/intent_parser IntentValidator L325
orchestrata_ultimate/orchestrator/intent_parser validate L338
orchestrata_ultimate/orchestrator/intent_validator _check_security L179
+1 more
none
REQ-003-US-003-004 Validation checks parameter constraints orchestrata_ultimate/orchestrator/intent_validator _validate_structure L144 none
REQ-003-US-003-005 Validation enforces rate limits orchestrata_ultimate/orchestrator/intent_validator IntentValidator L60
orchestrata_ultimate/orchestrator/intent_validator _check_rate_limit L224
none
REQ-003-US-003-006 Validation checks requester identity orchestrata_ultimate/orchestrator/intent_security authenticate L146
orchestrata_ultimate/orchestrator/intent_validator _validate_structure L144
none
REQ-003-US-003-007 Validation supports custom rules per target orchestrata_ultimate/orchestrator/intent_parser is_safe_command L364
orchestrata_ultimate/orchestrator/intent_validator _evaluate_prolog L248
none
REQ-003-US-003-008 Failed validation returns detailed reason orchestrata_ultimate/orchestrator/intent_results ValidationResult L20
orchestrata_ultimate/orchestrator/intent_results is_valid L33
orchestrata_ultimate/orchestrator/intent_validator IntentValidator L60
+1 more
none
REQ-003-US-003-009 Validation results cached for performance orchestrata_ultimate/infra/redis_state cache_governance_decision L343
orchestrata_ultimate/infra/redis_state get_cached_decision L362
orchestrata_ultimate/orchestrator/policy_registry save_to_disk L319
none
REQ-003-US-003-010 Validation logging for audit trail orchestrata_ultimate/orchestrator/graph_audit GraphAuditTrail L168
orchestrata_ultimate/orchestrator/graph_audit log_policy_decision L497
none
REQ-003-US-003-011 Create IntentValidator class in src/session/intent_validator.py orchestrata_ultimate/orchestrator/intent_validator IntentValidator L60 none
REQ-003-US-003-012 Implement Prolog query builder for intent validation orchestrata_ultimate/orchestrator/ambiguity_resolver _try_prolog_resolution L216
orchestrata_ultimate/orchestrator/intent_parser to_prolog L65
orchestrata_ultimate/orchestrator/intent_types to_prolog L334
+2 more
none
REQ-003-US-003-013 Create Prolog predicate validate_intent/4 in prolog/intent.pl orchestrata_ultimate/orchestrator/intent_validator _validate_structure L144 none
REQ-003-US-003-014 Create Prolog predicate can_perform_action/3 orchestrata_ultimate/orchestrator/intent_validator _validate_structure L144 none
REQ-003-US-003-015 Create Prolog predicate has_target_access/3 orchestrata_ultimate/orchestrator/intent_validator _validate_structure L144 none
REQ-003-US-003-016 Create Prolog predicate check_parameter_constraints/2 orchestrata_ultimate/orchestrator/intent_validator _validate_structure L144 none
REQ-003-US-003-017 Create Prolog predicate check_rate_limit/2 orchestrata_ultimate/orchestrator/intent_security check_rate_limit L305
orchestrata_ultimate/orchestrator/intent_validator _check_rate_limit L224
none
REQ-003-US-003-018 Create Prolog predicate verify_requester/2 orchestrata_ultimate/orchestrator/intent_validator _validate_structure L144 none
REQ-003-US-003-019 Implement validation result cache with TTL orchestrata_ultimate/infra/redis_state cache_governance_decision L343
orchestrata_ultimate/infra/redis_state get_cached_decision L362
none
REQ-003-US-003-020 Add validation telemetry and metrics orchestrata_ultimate/orchestrator/intent_validator validate L98 none
REQ-003-US-003-021 Create validation error types orchestrata_ultimate/orchestrator/intent_enums ValidationOutcome L14
orchestrata_ultimate/orchestrator/intent_results ValidationResult L20
orchestrata_ultimate/orchestrator/intent_results is_valid L33
none
REQ-003-US-003-022 Implement validation logging to audit trail orchestrata_ultimate/orchestrator/graph_audit GraphAuditTrail L168
orchestrata_ultimate/orchestrator/graph_audit log_policy_decision L497
none
REQ-003-US-003-023 Add validation bypass for emergency operations (with approval) orchestrata_ultimate/orchestrator/intent_validator validate L98 none
REQ-003-US-003-024 Create validation rule testing framework none none
REQ-003-US-003-025 Implement validation policy hot-reload orchestrata_ultimate/core/protocols/decoupling load_all_rules L23
orchestrata_ultimate/orchestrator/policy_registry PolicyRegistry L71
orchestrata_ultimate/orchestrator/policy_registry __init__ L79
+3 more
none
REQ-003-US-003-026 Unit test: Valid intent passes validation orchestrata_ultimate/orchestrator/intent_validator validate L98 none
REQ-003-US-003-027 Unit test: Intent with unauthorized action fails validation orchestrata_ultimate/orchestrator/intent_validator _check_security L179 none
REQ-003-US-003-028 Unit test: Intent with inaccessible target fails validation orchestrata_ultimate/orchestrator/intent_validator _check_security L179 none
REQ-003-US-003-029 Unit test: Intent with invalid parameters fails validation orchestrata_ultimate/orchestrator/intent_validator _validate_structure L144 none
REQ-003-US-003-030 Unit test: Intent exceeding rate limit fails validation orchestrata_ultimate/orchestrator/intent_validator _check_rate_limit L224 none
REQ-003-US-003-031 Unit test: Intent from unknown requester fails validation orchestrata_ultimate/orchestrator/intent_validator _validate_structure L144 none
REQ-003-US-003-032 Integration test: Validation queries Prolog successfully orchestrata_ultimate/orchestrator/intent_validator _evaluate_prolog L248 none
REQ-003-US-003-033 Integration test: Validation result cached and reused none none
REQ-003-US-003-034 Integration test: Validation logging creates audit entry orchestrata_ultimate/orchestrator/graph_audit log_policy_decision L497 none
REQ-003-US-003-035 Performance test: Validate 1000 intents in <50ms average orchestrata_ultimate/orchestrator/intent_validator validate L98 none
REQ-003-US-004-001 Intent routed to correct Volk based on action and target orchestrata_ultimate/agents/intent_adapter IntentTaskAdapter L39
orchestrata_ultimate/kernel/cli_main _boot_intent_broker L398
orchestrata_ultimate/kernel/cli_main get_metadata L393
+7 more
tests/kernel/test_cli_main_intent_broker_boot.py::test_boot_intent_broker_constructs_and_registers_a_working_broker
tests/kernel/test_cli_main_intent_broker_boot.py::test_boot_intent_broker_degrades_when_transport_absent
REQ-003-US-004-002 Routing rules defined in Prolog orchestrata_ultimate/orchestrator/intent_router IntentRouter L49 none
REQ-003-US-004-003 Multi-Volk routing supported for complex intents orchestrata_ultimate/orchestrator/intent_router IntentRouter L49
orchestrata_ultimate/orchestrator/intent_router route L122
none
REQ-003-US-004-004 Load balancing across multiple instances of same Volk none none
REQ-003-US-004-005 Routing failure triggers fallback logic orchestrata_ultimate/orchestrator/intent_router _prefer_healthy_candidates L99
orchestrata_ultimate/orchestrator/intent_router route L122
none
REQ-003-US-004-006 Routing respects Volk availability orchestrata_ultimate/orchestrator/intent_router _is_volk_healthy L82
orchestrata_ultimate/orchestrator/intent_router route L122
none
REQ-003-US-004-007 Routing respects Volk capacity none none
REQ-003-US-004-008 Routing logged for observability orchestrata_ultimate/orchestrator/intent_router _log_routing L240 tests/orchestrator/test_intent_broker_e2e.py::test_intent_broker_e2e_delivers_through_real_postman
REQ-003-US-004-009 Routing metrics tracked (latency, success rate) orchestrata_ultimate/orchestrator/intent_metrics record_intent_processed L199 none
REQ-003-US-004-010 Routing supports priority-based dispatch orchestrata_ultimate/orchestrator/intent_router IntentDispatcher L253
orchestrata_ultimate/orchestrator/intent_router _create_packet L347
orchestrata_ultimate/orchestrator/intent_router dispatch L264
+2 more
tests/orchestrator/test_intent_broker_e2e.py::test_intent_broker_e2e_delivers_through_real_postman
tests/orchestrator/test_intent_broker_e2e.py::test_intent_broker_e2e_no_handler_fails_without_fake_success
REQ-003-US-004-011 Create IntentRouter class in src/session/intent_router.py orchestrata_ultimate/orchestrator/intent_router IntentRouter L49
orchestrata_ultimate/orchestrator/pipeline_router PipelineRouter L247
none
REQ-003-US-004-012 Implement routing decision logic orchestrata_ultimate/agents/intent_adapter _resolve_target L118
orchestrata_ultimate/orchestrator/intent_router route L122
orchestrata_ultimate/orchestrator/pipeline_router route L274
none
REQ-003-US-004-013 Create Prolog predicate route_intent/3 in prolog/intent.pl orchestrata_ultimate/orchestrator/pipeline_router get_agent_class L356 none
REQ-003-US-004-014 Create Prolog predicate volk_can_handle/3 none none
REQ-003-US-004-015 Create routing table configuration none none
REQ-003-US-004-016 Implement multi-Volk routing for complex intents orchestrata_ultimate/orchestrator/intent_router route L122 none
REQ-003-US-004-017 Add load balancing algorithm (round-robin, least-loaded) none none
REQ-003-US-004-018 Implement fallback routing on failure orchestrata_ultimate/orchestrator/intent_router _prefer_healthy_candidates L99
orchestrata_ultimate/orchestrator/intent_router route L122
none
REQ-003-US-004-019 Add Volk availability checking orchestrata_ultimate/orchestrator/intent_router _is_volk_healthy L82
orchestrata_ultimate/orchestrator/intent_router route L122
none
REQ-003-US-004-020 Add Volk capacity checking (queue size, CPU) orchestrata_ultimate/orchestrator/pipeline_runner PipelineRunner L174 none
REQ-003-US-004-021 Create routing telemetry and metrics orchestrata_ultimate/orchestrator/pipeline_runner run L326 none
REQ-003-US-004-022 Implement routing logging orchestrata_ultimate/orchestrator/intent_router _log_routing L240
orchestrata_ultimate/orchestrator/pipeline_runner _run_stage L860
none
REQ-003-US-004-023 Add priority queue for high-priority intents orchestrata_ultimate/orchestrator/intent_types IntentPriority L91 none
REQ-003-US-004-024 Create routing rule testing framework none none
REQ-003-US-004-025 Implement routing policy hot-reload orchestrata_ultimate/orchestrator/policy_registry PolicyRegistry L71
orchestrata_ultimate/orchestrator/policy_registry update L123
none
REQ-003-US-004-026 Unit test: FILE/READ intent routed to VizInt none none
REQ-003-US-004-027 Unit test: CODE/WRITE intent routed to VizInt none none
REQ-003-US-004-028 Unit test: DATABASE/QUERY intent routed to Architect none none
REQ-003-US-004-029 Unit test: SYSTEM/EXECUTE intent routed to Orchestrator none none
REQ-003-US-004-030 Unit test: Complex intent routed to multiple Volks none none
REQ-003-US-004-031 Integration test: Routing queries Prolog successfully none none
REQ-003-US-004-032 Integration test: Load balancing distributes work evenly none none
REQ-003-US-004-033 Integration test: Fallback routing activates on failure none none
REQ-003-US-004-034 Integration test: Unavailable Volk not selected none none
REQ-003-US-004-035 Performance test: Route 1000 intents in <20ms average none none
REQ-003-US-004-100 PipelineKernelClient implements the gateway's send_packet(CXPPacket) kernel-client... orchestrata_ultimate/orchestrator/pipeline_kernel PipelineKernelClient L82
orchestrata_ultimate/orchestrator/pipeline_kernel close L125
orchestrata_ultimate/orchestrator/pipeline_kernel connect L119
none
REQ-003-US-004-101 send_packet runs the full agent pipeline only for packets addressed to U:Cx with... orchestrata_ultimate/orchestrator/pipeline_kernel send_packet L145 none
REQ-003-US-004-102 _run_pipeline and the workflow-control facade publish their lifecycle events as... orchestrata_ultimate/orchestrator/pipeline_kernel _execute_pipeline_guarded L256
orchestrata_ultimate/orchestrator/pipeline_kernel _run_pipeline L175
none
REQ-003-US-005-001 Intent lifecycle states defined (PENDING, VALIDATED, EXECUTING, COMPLETED, FAILED) orchestrata_ultimate/orchestrator/intent_types IntentStatus L66
orchestrata_ultimate/orchestrator/intent_types is_terminal L182
none
REQ-003-US-005-002 State transitions tracked with timestamps orchestrata_ultimate/orchestrator/intent_lifecycle _persist_intent L217
orchestrata_ultimate/orchestrator/intent_lifecycle _record_transition L228
orchestrata_ultimate/orchestrator/intent_lifecycle transition L109
none
REQ-003-US-005-003 Invalid state transitions prevented orchestrata_ultimate/orchestrator/intent_lifecycle InvalidTransitionError L47
orchestrata_ultimate/orchestrator/intent_lifecycle can_transition L100
orchestrata_ultimate/orchestrator/intent_lifecycle transition L109
none
REQ-003-US-005-004 State change events published none none
REQ-003-US-005-005 Lifecycle history stored for audit orchestrata_ultimate/orchestrator/graph_audit log_policy_decision L497
orchestrata_ultimate/orchestrator/intent_lifecycle get_history L165
none
REQ-003-US-005-006 Failed intents marked with error details orchestrata_ultimate/orchestrator/intent_lifecycle transition L109 none
REQ-003-US-005-007 Completed intents marked with results none none
REQ-003-US-005-008 Lifecycle queries supported (get all EXECUTING intents) orchestrata_ultimate/orchestrator/intent_lifecycle get_active_intents L182 none
REQ-003-US-005-009 Lifecycle statistics calculated (completion rate, avg duration) none none
REQ-003-US-005-010 Lifecycle visualization available orchestrata_ultimate/orchestrator/intent_lifecycle get_history L165 none
REQ-003-US-005-011 Define IntentStatus enum with all states orchestrata_ultimate/orchestrator/intent_types IntentStatus L66 none
REQ-003-US-005-012 Add status field to Intent dataclass orchestrata_ultimate/orchestrator/intent_types Intent L147 none
REQ-003-US-005-013 Add timestamp fields (created_at, validated_at, completed_at) none none
REQ-003-US-005-014 Implement state transition validation orchestrata_ultimate/orchestrator/intent_lifecycle can_transition L100 none
REQ-003-US-005-015 Create state machine for valid transitions orchestrata_ultimate/orchestrator/intent_lifecycle IntentLifecycleManager L63 none
REQ-003-US-005-016 Implement transition_to() method with validation orchestrata_ultimate/orchestrator/intent_lifecycle transition L109 none
REQ-003-US-005-017 Add event publisher for state changes none none
REQ-003-US-005-018 Create lifecycle history table in storage orchestrata_ultimate/orchestrator/intent_lifecycle IntentLifecycleManager L63
orchestrata_ultimate/orchestrator/intent_lifecycle _record_transition L228
none
REQ-003-US-005-019 Implement lifecycle query methods orchestrata_ultimate/orchestrator/intent_broker get_intent L353
orchestrata_ultimate/orchestrator/intent_lifecycle IntentLifecycleManager L63
orchestrata_ultimate/orchestrator/intent_lifecycle get_active_intents L182
+2 more
none
REQ-003-US-005-020 Add error details field for FAILED state none none
REQ-003-US-005-021 Add result field for COMPLETED state none none
REQ-003-US-005-022 Create lifecycle statistics calculator none none
REQ-003-US-005-023 Implement lifecycle dashboard data provider none none
REQ-003-US-005-024 Add lifecycle telemetry and metrics none none
REQ-003-US-005-025 Create lifecycle visualization endpoints orchestrata_ultimate/orchestrator/intent_lifecycle get_history L165 none
REQ-003-US-005-026 Unit test: New intent starts in PENDING state orchestrata_ultimate/orchestrator/intent_types IntentStatus L66 none
REQ-003-US-005-027 Unit test: PENDING → VALIDATED transition succeeds none none
REQ-003-US-005-028 Unit test: VALIDATED → EXECUTING transition succeeds none none
REQ-003-US-005-029 Unit test: EXECUTING → COMPLETED transition succeeds none none
REQ-003-US-005-030 Unit test: EXECUTING → FAILED transition succeeds none none
REQ-003-US-005-031 Unit test: Invalid transition (PENDING → COMPLETED) raises error orchestrata_ultimate/orchestrator/intent_lifecycle InvalidTransitionError L47
orchestrata_ultimate/orchestrator/intent_lifecycle can_transition L100
none
REQ-003-US-005-032 Unit test: State change publishes event none none
REQ-003-US-005-033 Integration test: Lifecycle history stores all transitions orchestrata_ultimate/knowledge_graph/temporal get_history L122
orchestrata_ultimate/orchestrator/intent_lifecycle _record_transition L228
none
REQ-003-US-005-034 Integration test: Query returns all EXECUTING intents orchestrata_ultimate/orchestrator/intent_lifecycle get_active_intents L182 none
REQ-003-US-005-035 Integration test: Statistics calculate completion rate correctly none none
REQ-003-US-006-001 All intents stored in persistent history orchestrata_ultimate/orchestrator/intent_history IntentHistory L113
orchestrata_ultimate/orchestrator/intent_history record L137
none
REQ-003-US-006-002 History searchable by requester, action, target, date orchestrata_ultimate/orchestrator/intent_history search L228 none
REQ-003-US-006-003 History filterable by status, priority orchestrata_ultimate/orchestrator/intent_history IntentHistoryFilter L52
orchestrata_ultimate/orchestrator/intent_history matches L64
none
REQ-003-US-006-004 Intent replay creates new intent with same parameters orchestrata_ultimate/orchestrator/intent_history replay L302 none
REQ-003-US-006-005 Replay validates intent again before execution orchestrata_ultimate/orchestrator/intent_history replay L302
orchestrata_ultimate/orchestrator/intent_validator validate L98
none
REQ-003-US-006-006 Replay supports batch operations orchestrata_ultimate/orchestrator/intent_history search L228 none
REQ-003-US-006-007 History pagination for large result sets orchestrata_ultimate/orchestrator/intent_history Page L86
orchestrata_ultimate/orchestrator/intent_history has_next L97
orchestrata_ultimate/orchestrator/intent_history paginate L275
+1 more
none
REQ-003-US-006-008 History export to JSON/CSV orchestrata_ultimate/orchestrator/intent_history export_csv L339
orchestrata_ultimate/orchestrator/intent_history export_json L320
none
REQ-003-US-006-009 History retention policy configurable orchestrata_ultimate/knowledge_graph/temporal get_history L122
orchestrata_ultimate/orchestrator/intent_history prune L385
none
REQ-003-US-006-010 History privacy controls (redact sensitive data) orchestrata_ultimate/knowledge_graph/temporal get_history L122
orchestrata_ultimate/orchestrator/intent_history record L137
none
REQ-003-US-006-011 Create IntentHistory class in src/session/intent_history.py orchestrata_ultimate/orchestrator/intent_history IntentHistory L113 none
REQ-003-US-006-012 Implement history storage backend (JSON file or database) orchestrata_ultimate/knowledge_graph/temporal get_history L122
orchestrata_ultimate/orchestrator/intent_history IntentHistory L113
none
REQ-003-US-006-013 Add store_intent() method orchestrata_ultimate/orchestrator/intent_history record L137 none
REQ-003-US-006-014 Add search_intents() method with filters orchestrata_ultimate/orchestrator/intent_history search L228 none
REQ-003-US-006-015 Add get_intent_by_id() method orchestrata_ultimate/orchestrator/intent_history get L218 none
REQ-003-US-006-016 Add replay_intent() method orchestrata_ultimate/orchestrator/intent_history replay L302 none
REQ-003-US-006-017 Implement batch replay for multiple intents orchestrata_ultimate/orchestrator/intent_history search L228 none
REQ-003-US-006-018 Add pagination support (page size, offset) orchestrata_ultimate/orchestrator/intent_history Page L86
orchestrata_ultimate/orchestrator/intent_history has_next L97
orchestrata_ultimate/orchestrator/intent_history paginate L275
+1 more
none
REQ-003-US-006-019 Create export methods (to_json, to_csv) orchestrata_ultimate/orchestrator/intent_history export_csv L339
orchestrata_ultimate/orchestrator/intent_history export_json L320
none
REQ-003-US-006-020 Implement retention policy (delete old intents) orchestrata_ultimate/orchestrator/intent_history prune L385 none
REQ-003-US-006-021 Add privacy redaction for sensitive fields orchestrata_ultimate/orchestrator/intent_history record L137 none
REQ-003-US-006-022 Create history index for fast queries none none
REQ-003-US-006-023 Add history compaction for space efficiency orchestrata_ultimate/orchestrator/intent_history prune L385 none
REQ-003-US-006-024 Implement history migration for schema changes none none
REQ-003-US-006-025 Create history backup and restore orchestrata_ultimate/orchestrator/intent_history _persist_to_graph L191
orchestrata_ultimate/orchestrator/intent_history export_json L320
none
REQ-003-US-006-026 Unit test: Store intent creates history entry orchestrata_ultimate/orchestrator/intent_history record L137 none
REQ-003-US-006-027 Unit test: Search by requester returns matching intents orchestrata_ultimate/orchestrator/intent_history search L228 none
REQ-003-US-006-028 Unit test: Search by action returns matching intents orchestrata_ultimate/orchestrator/intent_history search L228 none
REQ-003-US-006-029 Unit test: Search by date range returns matching intents orchestrata_ultimate/orchestrator/intent_history search L228 none
REQ-003-US-006-030 Unit test: Replay intent creates new intent with same data orchestrata_ultimate/orchestrator/intent_history replay L302 none
REQ-003-US-006-031 Unit test: Replay validates intent before execution orchestrata_ultimate/orchestrator/intent_history replay L302 none
REQ-003-US-006-032 Integration test: History stores 10000 intents successfully orchestrata_ultimate/knowledge_graph/temporal get_history L122
orchestrata_ultimate/orchestrator/intent_history record L137
none
REQ-003-US-006-033 Integration test: Search with pagination returns correct pages orchestrata_ultimate/orchestrator/intent_history paginate L275 none
REQ-003-US-006-034 Integration test: Export to JSON preserves all data orchestrata_ultimate/orchestrator/intent_history export_json L320 none
REQ-003-US-006-035 Performance test: Search 10000 intents in <200ms orchestrata_ultimate/orchestrator/intent_history search L228 none
REQ-003-US-007-001 Intent templates defined for common patterns orchestrata_ultimate/orchestrator/intent_template IntentTemplate L26 none
REQ-003-US-007-002 Templates support parameter substitution orchestrata_ultimate/orchestrator/intent_template instantiate L76 none
REQ-003-US-007-003 Templates validated at definition time orchestrata_ultimate/orchestrator/intent_template validate_params L51 none
REQ-003-US-007-004 Template library searchable by name and description orchestrata_ultimate/orchestrator/intent_template TemplateRegistry L204
orchestrata_ultimate/orchestrator/intent_template search L257
orchestrata_ultimate/orchestrator/intent_template search_by_action L275
+1 more
none
REQ-003-US-007-005 Custom templates creatable by users orchestrata_ultimate/orchestrator/intent_template TemplateRegistry L204
orchestrata_ultimate/orchestrator/intent_template register L223
none
REQ-003-US-007-006 Templates exportable and importable orchestrata_ultimate/orchestrator/intent_template to_dict L123
orchestrata_ultimate/orchestrator/intent_template to_dict L189
none
REQ-003-US-007-007 Template versioning supported orchestrata_ultimate/orchestrator/intent_template IntentTemplate L26 none
REQ-003-US-007-008 Templates composable (template A uses template B) orchestrata_ultimate/orchestrator/intent_template CompositeTemplate L146
orchestrata_ultimate/orchestrator/intent_template TemplateRegistry L204
orchestrata_ultimate/orchestrator/intent_template compose L285
+2 more
none
REQ-003-US-007-009 Template preview shows expanded intent none none
REQ-003-US-007-010 Template usage tracked for analytics none none
REQ-003-US-007-011 Create IntentTemplate class in src/session/intent_template.py orchestrata_ultimate/orchestrator/intent_template IntentTemplate L26 none
REQ-003-US-007-012 Define template schema with placeholders orchestrata_ultimate/orchestrator/intent_template IntentTemplate L26 none
REQ-003-US-007-013 Implement parameter substitution engine orchestrata_ultimate/orchestrator/intent_template instantiate L76 none
REQ-003-US-007-014 Create template library storage orchestrata_ultimate/orchestrator/intent_template TemplateRegistry L204
orchestrata_ultimate/orchestrator/intent_template get L239
orchestrata_ultimate/orchestrator/intent_template list_all L252
+1 more
none
REQ-003-US-007-015 Add predefined templates (create_file, read_config, deploy_app) orchestrata_ultimate/orchestrator/intent_template register L223 none
REQ-003-US-007-016 Implement template search by name/description orchestrata_ultimate/orchestrator/intent_template TemplateRegistry L204
orchestrata_ultimate/orchestrator/intent_template search L257
none
REQ-003-US-007-017 Add create_custom_template() method orchestrata_ultimate/orchestrator/intent_template register L223 none
REQ-003-US-007-018 Implement template export to JSON orchestrata_ultimate/orchestrator/intent_template to_dict L123
orchestrata_ultimate/orchestrator/intent_template to_dict L189
none
REQ-003-US-007-019 Implement template import from JSON orchestrata_ultimate/orchestrator/intent_template register L223 none
REQ-003-US-007-020 Add template versioning with __version__ field none none
REQ-003-US-007-021 Implement template composition (nested templates) orchestrata_ultimate/orchestrator/intent_template CompositeTemplate L146
orchestrata_ultimate/orchestrator/intent_template TemplateRegistry L204
orchestrata_ultimate/orchestrator/intent_template compose L285
+1 more
none
REQ-003-US-007-022 Create template preview generator none none
REQ-003-US-007-023 Add template usage tracking none none
REQ-003-US-007-024 Implement template analytics dashboard orchestrata_ultimate/orchestrator/intent_template count L316 none
REQ-003-US-007-025 Create template validation framework orchestrata_ultimate/orchestrator/intent_template validate_params L51 none
REQ-003-US-007-026 Unit test: Create template with placeholders succeeds orchestrata_ultimate/orchestrator/intent_template validate_params L51 none
REQ-003-US-007-027 Unit test: Substitute parameters expands template correctly none none
REQ-003-US-007-028 Unit test: Template validation catches invalid syntax orchestrata_ultimate/orchestrator/intent_template validate_params L51 none
REQ-003-US-007-029 Unit test: Search templates by name returns matches orchestrata_ultimate/orchestrator/intent_template search L257 none
REQ-003-US-007-030 Unit test: Create custom template stores successfully orchestrata_ultimate/orchestrator/intent_template register L223 none
REQ-003-US-007-031 Unit test: Export template to JSON and import preserves data orchestrata_ultimate/orchestrator/intent_template to_dict L123
orchestrata_ultimate/orchestrator/intent_template to_dict L189
none
REQ-003-US-007-032 Integration test: Use template to create 100 intents none none
REQ-003-US-007-033 Integration test: Composed template expands nested templates orchestrata_ultimate/orchestrator/intent_template CompositeTemplate L146 none
REQ-003-US-007-034 Integration test: Template preview shows correct output none none
REQ-003-US-007-035 Integration test: Template usage analytics track invocations none none
REQ-003-US-008-001 Workflow defined as sequence of intents orchestrata_ultimate/orchestrator/intent_workflow WorkflowDef L77
orchestrata_ultimate/orchestrator/intent_workflow WorkflowStep L51
none
REQ-003-US-008-002 Workflow execution follows dependency order orchestrata_ultimate/orchestrator/intent_workflow IntentWorkflow L132
orchestrata_ultimate/orchestrator/intent_workflow _execute_dag L309
none
REQ-003-US-008-003 Workflow supports parallel execution of independent intents orchestrata_ultimate/orchestrator/intent_workflow IntentWorkflow L132
orchestrata_ultimate/orchestrator/intent_workflow _execute_parallel L283
none
REQ-003-US-008-004 Workflow handles intent failures gracefully (retry, rollback, continue) orchestrata_ultimate/orchestrator/intent_workflow FailureStrategy L36
orchestrata_ultimate/orchestrator/intent_workflow IntentWorkflow L132
orchestrata_ultimate/orchestrator/intent_workflow _retry_step L379
none
REQ-003-US-008-005 Workflow state persisted across restarts orchestrata_ultimate/orchestrator/intent_workflow IntentWorkflow L132
orchestrata_ultimate/orchestrator/intent_workflow get_status L413
none
REQ-003-US-008-006 Workflow cancellation supported orchestrata_ultimate/orchestrator/intent_workflow cancel L400 none
REQ-003-US-008-007 Workflow progress tracking available orchestrata_ultimate/orchestrator/intent_workflow WorkflowStatus L24
orchestrata_ultimate/orchestrator/intent_workflow get_status L413
none
REQ-003-US-008-008 Workflow conditional branching supported orchestrata_ultimate/orchestrator/intent_workflow _execute_dag L309 none
REQ-003-US-008-009 Workflow loops supported (with max iterations) orchestrata_ultimate/orchestrator/intent_workflow _retry_step L379 none
REQ-003-US-008-010 Workflow results aggregated and returned orchestrata_ultimate/orchestrator/intent_workflow WorkflowResult L104 none
REQ-003-US-008-011 Create IntentWorkflow class in src/session/intent_workflow.py orchestrata_ultimate/orchestrator/intent_workflow IntentWorkflow L132 none
REQ-003-US-008-012 Define workflow schema with intent list orchestrata_ultimate/orchestrator/intent_workflow WorkflowDef L77
orchestrata_ultimate/orchestrator/intent_workflow WorkflowStep L51
orchestrata_ultimate/orchestrator/intent_workflow get_step L96
none
REQ-003-US-008-013 Implement dependency graph builder orchestrata_ultimate/orchestrator/intent_workflow _execute_dag L309 none
REQ-003-US-008-014 Create workflow executor with topological sort orchestrata_ultimate/orchestrator/intent_workflow _execute_dag L309
orchestrata_ultimate/orchestrator/intent_workflow _execute_step L355
none
REQ-003-US-008-015 Add parallel execution engine using asyncio orchestrata_ultimate/orchestrator/intent_workflow _execute_parallel L283 none
REQ-003-US-008-016 Implement failure handling strategies (retry, rollback, continue) orchestrata_ultimate/orchestrator/intent_workflow FailureStrategy L36
orchestrata_ultimate/orchestrator/intent_workflow _retry_step L379
none
REQ-003-US-008-017 Add workflow state persistence orchestrata_ultimate/orchestrator/intent_workflow get_status L413 none
REQ-003-US-008-018 Implement workflow cancellation orchestrata_ultimate/orchestrator/intent_workflow cancel L400 none
REQ-003-US-008-019 Create workflow progress tracker orchestrata_ultimate/orchestrator/intent_workflow get_status L413 none
REQ-003-US-008-020 Add conditional branching support (if/else) orchestrata_ultimate/orchestrator/intent_workflow _execute_dag L309 none
REQ-003-US-008-021 Implement loop support with max iterations orchestrata_ultimate/orchestrator/intent_workflow _retry_step L379 none
REQ-003-US-008-022 Create workflow result aggregator orchestrata_ultimate/orchestrator/intent_workflow WorkflowResult L104
orchestrata_ultimate/orchestrator/intent_workflow to_dict L64
orchestrata_ultimate/orchestrator/intent_workflow to_dict L87
+1 more
none
REQ-003-US-008-023 Add workflow visualization (DAG diagram) orchestrata_ultimate/orchestrator/intent_workflow list_workflows L470 none
REQ-003-US-008-024 Implement workflow telemetry and metrics none none
REQ-003-US-008-025 Create workflow testing framework none none
REQ-003-US-008-026 Unit test: Create workflow with 3 sequential intents orchestrata_ultimate/orchestrator/intent_workflow define L162 none
REQ-003-US-008-027 Unit test: Execute workflow completes all intents in order orchestrata_ultimate/orchestrator/intent_workflow _execute_sequential L243 none
REQ-003-US-008-028 Unit test: Parallel intents execute concurrently orchestrata_ultimate/orchestrator/intent_workflow _execute_parallel L283 none
REQ-003-US-008-029 Unit test: Failed intent triggers retry strategy orchestrata_ultimate/orchestrator/intent_workflow _retry_step L379 none
REQ-003-US-008-030 Unit test: Workflow state persists across restarts orchestrata_ultimate/orchestrator/intent_workflow get_status L413 none
REQ-003-US-008-031 Unit test: Workflow cancellation stops execution orchestrata_ultimate/orchestrator/intent_workflow cancel L400 none
REQ-003-US-008-032 Integration test: Workflow with 10 intents completes successfully orchestrata_ultimate/orchestrator/intent_workflow execute L195 none
REQ-003-US-008-033 Integration test: Conditional branching selects correct path orchestrata_ultimate/orchestrator/intent_workflow _execute_dag L309 none
REQ-003-US-008-034 Integration test: Loop executes correct number of iterations orchestrata_ultimate/orchestrator/intent_workflow _retry_step L379 none
REQ-003-US-008-035 Performance test: Execute workflow with 100 intents in <10 seconds orchestrata_ultimate/orchestrator/intent_workflow execute L195 none
REQ-003-US-009-001 Intent metrics collected (count, latency, success rate) orchestrata_ultimate/orchestrator/graph_audit AuditEvent L132
orchestrata_ultimate/orchestrator/graph_audit AuditEventType L68
orchestrata_ultimate/orchestrator/graph_audit DecisionOutcome L87
+14 more
none
REQ-003-US-009-002 Metrics broken down by action, target, requester orchestrata_ultimate/orchestrator/intent_metrics get_metrics_by_dimension L362
orchestrata_ultimate/orchestrator/intent_metrics record_intent_processed L199
none
REQ-003-US-009-003 Real-time metrics dashboard available none none
REQ-003-US-009-004 Metrics exportable to monitoring systems (Prometheus, Grafana) none none
REQ-003-US-009-005 Alerting on metric thresholds (high failure rate, high latency) none none
REQ-003-US-009-006 Metrics retention configurable none none
REQ-003-US-009-007 Metrics aggregation by time window (1min, 5min, 1hour) orchestrata_ultimate/orchestrator/intent_metrics get_aggregated_metrics L428 none
REQ-003-US-009-008 Historical metrics queryable orchestrata_ultimate/orchestrator/intent_history HistoryStats L40
orchestrata_ultimate/orchestrator/intent_history count L410
orchestrata_ultimate/orchestrator/intent_history get_statistics L359
none
REQ-003-US-009-009 Metrics API for programmatic access orchestrata_ultimate/orchestrator/intent_metrics _get_gauge_value L395
orchestrata_ultimate/orchestrator/intent_metrics _get_percentile L403
orchestrata_ultimate/orchestrator/intent_metrics get_metrics_summary L344
none
REQ-003-US-009-010 Metrics visualization with charts and graphs none none
REQ-003-US-009-011 Create IntentMetrics class in src/session/intent_metrics.py orchestrata_ultimate/orchestrator/intent_metrics IntentMetricsCollector L93 none
REQ-003-US-009-012 Implement metrics collector (count, latency, errors) orchestrata_ultimate/orchestrator/intent_broker record_start L442
orchestrata_ultimate/orchestrator/intent_metrics IntentMetricEvent L75
orchestrata_ultimate/orchestrator/intent_metrics MetricsMiddleware L598
+3 more
none
REQ-003-US-009-013 Add metrics breakdown by dimensions (action, target, requester) none none
REQ-003-US-009-014 Create metrics storage backend (in-memory + persistent) orchestrata_ultimate/orchestrator/intent_metrics HistogramBucket L52
orchestrata_ultimate/orchestrator/intent_metrics Metric L61
orchestrata_ultimate/orchestrator/intent_metrics MetricType L32
+5 more
none
REQ-003-US-009-015 Implement real-time metrics aggregation none none
REQ-003-US-009-016 Add Prometheus exporter for metrics orchestrata_ultimate/orchestrator/intent_metrics export_prometheus_format L469 none
REQ-003-US-009-017 Create metrics dashboard using Grafana none none
REQ-003-US-009-018 Implement alerting rules (failure rate >5%, latency >1s) orchestrata_ultimate/orchestrator/intent_metrics _check_alerts L527
orchestrata_ultimate/orchestrator/intent_metrics clear_alerts L572
orchestrata_ultimate/orchestrator/intent_metrics get_active_alerts L567
+1 more
none
REQ-003-US-009-019 Add metrics retention policy (keep 30 days) orchestrata_ultimate/orchestrator/intent_metrics cleanup_old_metrics L577 none
REQ-003-US-009-020 Implement time window aggregation (1min, 5min, 1hour) none none
REQ-003-US-009-021 Create historical metrics query API orchestrata_ultimate/orchestrator/intent_history get_statistics L359 none
REQ-003-US-009-022 Add metrics visualization endpoints none none
REQ-003-US-009-023 Implement metrics export (JSON, CSV) orchestrata_ultimate/orchestrator/intent_history export_json L320
orchestrata_ultimate/orchestrator/intent_metrics export_json L502
none
REQ-003-US-009-024 Create metrics telemetry pipeline orchestrata_ultimate/orchestrator/intent_broker IntentBroker L84
orchestrata_ultimate/orchestrator/intent_broker process_intent L127
none
REQ-003-US-009-025 Add metrics documentation none none
REQ-003-US-009-026 Unit test: Metrics collector increments count correctly none none
REQ-003-US-009-027 Unit test: Metrics collector records latency correctly none none
REQ-003-US-009-028 Unit test: Metrics collector tracks errors correctly none none
REQ-003-US-009-029 Unit test: Metrics breakdown by action returns correct data none none
REQ-003-US-009-030 Unit test: Time window aggregation calculates correct averages none none
REQ-003-US-009-031 Integration test: Prometheus scrapes metrics successfully none none
REQ-003-US-009-032 Integration test: Dashboard displays real-time metrics none none
REQ-003-US-009-033 Integration test: Alert triggers on high failure rate none none
REQ-003-US-009-034 Integration test: Historical query returns correct data orchestrata_ultimate/orchestrator/intent_history get_statistics L359 none
REQ-003-US-009-035 Performance test: Metrics collection overhead <1ms per intent none none
REQ-003-US-010-001 Intent requester identity verified orchestrata_ultimate/orchestrator/intent_security authenticate L146 none
REQ-003-US-010-002 Intent authentication using tokens or credentials orchestrata_ultimate/orchestrator/intent_security AuthResult L28
orchestrata_ultimate/orchestrator/intent_security IntentSecurity L58
orchestrata_ultimate/orchestrator/intent_security authenticate L146
none
REQ-003-US-010-003 Intent authorization checked via Prolog policies orchestrata_ultimate/orchestrator/intent_security AuthzResult L38
orchestrata_ultimate/orchestrator/intent_security IntentSecurity L58
orchestrata_ultimate/orchestrator/intent_security authorize L193
+2 more
none
REQ-003-US-010-004 Intent encryption for sensitive data in transit none none
REQ-003-US-010-005 Intent signing to prevent tampering none none
REQ-003-US-010-006 Intent audit logging for security events orchestrata_ultimate/core/protocols/decoupling log_event L168
orchestrata_ultimate/core/protocols/decoupling log_tool_call L188
orchestrata_ultimate/orchestrator/graph_audit GraphAuditTrail L168
+8 more
none
REQ-003-US-010-007 Intent injection prevention (SQL, command, path traversal) orchestrata_ultimate/orchestrator/intent_security IntentSecurity L58
orchestrata_ultimate/orchestrator/intent_security SecurityResult L48
orchestrata_ultimate/orchestrator/intent_security check_injection L247
none
REQ-003-US-010-008 Intent rate limiting per requester orchestrata_ultimate/orchestrator/intent_security IntentSecurity L58
orchestrata_ultimate/orchestrator/intent_security check_rate_limit L305
none
REQ-003-US-010-009 Intent blacklist for malicious patterns orchestrata_ultimate/orchestrator/intent_security IntentSecurity L58
orchestrata_ultimate/orchestrator/intent_security blacklist L360
orchestrata_ultimate/orchestrator/intent_security is_blacklisted L343
+1 more
none
REQ-003-US-010-010 Intent security monitoring and anomaly detection orchestrata_ultimate/orchestrator/graph_audit log_event L469
orchestrata_ultimate/orchestrator/intent_security check_injection L247
none
REQ-003-US-010-011 Create IntentSecurity class in src/session/intent_security.py orchestrata_ultimate/orchestrator/intent_security IntentSecurity L58 none
REQ-003-US-010-012 Implement requester identity verification orchestrata_ultimate/orchestrator/intent_security authenticate L146
orchestrata_ultimate/verification/orchestration/coordinator build_verification_request L166
orchestrata_ultimate/verification/protocols/verification_cxp create_verification_request L51
none
REQ-003-US-010-013 Add authentication using JWT tokens orchestrata_ultimate/orchestrator/intent_security authenticate L146 none
REQ-003-US-010-014 Implement authorization check via Prolog orchestrata_ultimate/orchestrator/intent_security authorize L193
orchestrata_ultimate/orchestrator/intent_validator IntentValidator L60
orchestrata_ultimate/orchestrator/intent_validator _evaluate_prolog L248
none
REQ-003-US-010-015 Create Prolog predicate authorize_intent/3 none none
REQ-003-US-010-016 Add encryption for sensitive intent parameters none none
REQ-003-US-010-017 Implement intent signing using HMAC none none
REQ-003-US-010-018 Create security audit logger orchestrata_ultimate/core/protocols/decoupling aclose L219
orchestrata_ultimate/core/protocols/decoupling close L216
orchestrata_ultimate/core/protocols/decoupling log_event L168
+11 more
none
REQ-003-US-010-019 Implement injection prevention filters (SQL, command, path) orchestrata_ultimate/orchestrator/intent_security _sanitize L288
orchestrata_ultimate/orchestrator/intent_security check_injection L247
none
REQ-003-US-010-020 Add rate limiting per requester (10 intents/minute) orchestrata_ultimate/orchestrator/intent_security check_rate_limit L305 none
REQ-003-US-010-021 Create intent blacklist (regex patterns) orchestrata_ultimate/orchestrator/intent_security blacklist L360
orchestrata_ultimate/orchestrator/intent_security is_blacklisted L343
orchestrata_ultimate/orchestrator/intent_security unblacklist L369
none
REQ-003-US-010-022 Implement security monitoring and anomaly detection orchestrata_ultimate/orchestrator/graph_audit query_audit_trail L619 none
REQ-003-US-010-023 Add security telemetry and metrics orchestrata_ultimate/core/protocols/decoupling get_dropped_events_count L213
orchestrata_ultimate/orchestrator/graph_audit get_dropped_events_count L656
orchestrata_ultimate/orchestrator/graph_audit log_event L469
none
REQ-003-US-010-024 Create security incident response workflow orchestrata_ultimate/orchestrator/graph_audit log_escalation L441
orchestrata_ultimate/orchestrator/graph_audit log_violation L428
none
REQ-003-US-010-025 Implement security policy hot-reload orchestrata_ultimate/orchestrator/intent_security auth_enabled L136
orchestrata_ultimate/orchestrator/intent_security set_auth_enabled L141
orchestrata_ultimate/orchestrator/policy_registry PolicyRegistry L71
+1 more
none
REQ-003-US-010-026 Unit test: Valid requester identity passes verification orchestrata_ultimate/orchestrator/intent_security authenticate L146 none
REQ-003-US-010-027 Unit test: Invalid requester identity fails verification orchestrata_ultimate/orchestrator/intent_security authenticate L146 none
REQ-003-US-010-028 Unit test: Valid JWT token passes authentication orchestrata_ultimate/orchestrator/intent_security authenticate L146 none
REQ-003-US-010-029 Unit test: Invalid JWT token fails authentication orchestrata_ultimate/orchestrator/intent_security authenticate L146 none
REQ-003-US-010-030 Unit test: Authorized intent passes authorization check orchestrata_ultimate/orchestrator/intent_security authorize L193 none
REQ-003-US-010-031 Unit test: Unauthorized intent fails authorization check orchestrata_ultimate/orchestrator/intent_security authorize L193 none
REQ-003-US-010-032 Unit test: Intent with sensitive data is encrypted none none
REQ-003-US-010-033 Unit test: Intent signature verification succeeds none none
REQ-003-US-010-034 Unit test: SQL injection attempt blocked orchestrata_ultimate/orchestrator/intent_security check_injection L247 none
REQ-003-US-010-035 Unit test: Rate limit exceeded blocks intent orchestrata_ultimate/orchestrator/intent_security check_rate_limit L305 none
REQ-003-US-010-036 Integration test: Security audit log records all events orchestrata_ultimate/orchestrator/graph_audit log_event L469 none
REQ-003-US-010-037 Integration test: Anomaly detection flags suspicious intent orchestrata_ultimate/orchestrator/graph_audit query_audit_trail L619 none
REQ-003-US-010-038 Performance test: Security checks add <10ms overhead none none
REQ-003-US-010-039 Security test: Penetration testing finds no vulnerabilities orchestrata_ultimate/orchestrator/intent_security authorize L193
orchestrata_ultimate/orchestrator/intent_security check_injection L247
none
REQ-003-US-010-040 Security test: Compliance audit passes all checks orchestrata_ultimate/orchestrator/graph_audit log_event L469
orchestrata_ultimate/orchestrator/intent_validator validate L98
none
REQ-003-FR24-001 session pipeline run &lt;intent> runs the full agent pipeline (via... orchestrata_ultimate/orchestrator/pipeline_runner get_message_log L1296
orchestrata_ultimate/orchestrator/pipeline_runner successful L124
orchestrata_ultimate/session/cli/pipeline pipeline_run L103
none
REQ-003-FR24-002 session pipeline status &lt;thread_id> reports the checkpointed stages and... orchestrata_ultimate/kernel/pipeline_checkpoint PipelineCheckpoint L56
orchestrata_ultimate/kernel/pipeline_checkpoint completed_stages L210
orchestrata_ultimate/orchestrator/pipeline_runner _create_checkpoint L294
+2 more
none
REQ-003-FR24-003 session pipeline resume &lt;thread_id> reconstructs completed stages from the... orchestrata_ultimate/kernel/pipeline _latest_checkpoint L678
orchestrata_ultimate/kernel/pipeline _resume_next_target L685
orchestrata_ultimate/kernel/pipeline resume L626
+12 more
none
REQ-003-FR24-004 session pipeline list lists recent pipeline runs from the pipeline_output... orchestrata_ultimate/session/cli/pipeline pipeline_list L418 none
REQ-003-FR24-100 PipelineRunner carries a submitted intent through its full stage sequence to... none tests/e2e/test_full_pipeline.py::test_full_pipeline_submits_completes_and_syncs_kg
tests/orchestrator/test_pipeline_e2e_review.py::test_pipeline_review_happy_path
REQ-003-FR24-101 The analysis work type routes through the U:Cx → U:BA → U:Cp agent sequence,... none tests/orchestrator/test_pipeline_e2e_analysis.py::test_pipeline_analysis_work_type
REQ-003-FR24-102 The documentation work type routes through the U:Cx → U:Do → U:Cp agent... none tests/orchestrator/test_pipeline_e2e_docs_session.py::test_pipeline_documentation_work_type
REQ-003-FR24-103 A pipeline run logs its work to the session work log, so a completed run is... none tests/orchestrator/test_pipeline_e2e_docs_session.py::test_pipeline_logs_work_to_session
REQ-003-FR24-104 An unrecognised work-type string is rejected at submission with ValueError rather... none tests/orchestrator/test_pipeline_e2e.py::test_pipeline_invalid_work_type_raises
REQ-003-FR24-105 A stage that exceeds its timeout is recorded as FAILED carrying the timeout error... none tests/orchestrator/test_pipeline_e2e.py::test_pipeline_stage_timeout_captured
REQ-003-FR24-106 A stage naming an agent alias that resolves to no registered volk fails with a clear... none tests/orchestrator/test_pipeline_e2e.py::test_pipeline_unknown_agent_alias_error