Orchestrata Ultimate › Tests › Reference › orchestrator › test_pipeline_router

Tests reference — tests/orchestrator/test_pipeline_router.py

Module of tests/orchestrator, split out because the directory page would be too large.

Prose pending.

tests/orchestrator/test_pipeline_router.py

source · 28 tests · 374 lines

Tests for orchestrator.pipeline_router — PipelineRouter, Capability, WorkType, StageSpec.

Covers: agents.volks.junior.volk, agents.volks.senior_dev.agent, orchestrator.pipeline_router, orchestrator.pipeline_runner

Kind Name Line Description
class TestCapability 17 Enum value tests for Capability.
method TestCapability.test_all_capabilities_exist 20
method TestCapability.test_values_unique 31
class TestWorkType 36 Enum value tests for WorkType.
method TestWorkType.test_all_work_types 39
class TestPipelineRouter 52 Tests for PipelineRouter — work type → agent sequence resolution.
method TestPipelineRouter.test_route_feature_includes_all_core_stages 59
method TestPipelineRouter.test_route_refactor_skips_intake 73
method TestPipelineRouter.test_route_test_includes_qa 84
method TestPipelineRouter.test_route_documentation_includes_documentor 90
method TestPipelineRouter.test_route_analysis_is_lightweight 98
method TestPipelineRouter.test_route_review_is_minimal 106
method TestPipelineRouter.test_route_spec_includes_documentor 113
method TestPipelineRouter.test_route_all_end_with_compliance 119
method TestPipelineRouter.test_route_with_ui_injects_ux_stage 124
method TestPipelineRouter.test_route_without_ui_omits_ux_stage 129
method TestPipelineRouter.test_route_string_work_type 134
method TestPipelineRouter.test_route_invalid_work_type_raises 139
method TestPipelineRouter.test_get_agent_class_resolves_all_aliases 143
method TestPipelineRouter.test_get_agent_class_resolves_senior_dev_to_senior_dev_agent 166 U:SD must resolve to the real SeniorDevAgent implementation
method TestPipelineRouter.test_get_agent_class_resolves_junior_to_junior_volk 178 J:Junior must resolve to the real JuniorVolk implementation
method TestPipelineRouter.test_get_agent_class_invalid_alias_raises 188
method TestPipelineRouter.test_pre_existing_worktype_routes_unchanged 192 Regression: the 9 pre-existing alias routes this repo's production
method TestPipelineRouter.test_junior_and_senior_dev_not_routed_by_any_work_type 224 U:SD and J:Junior resolve via get_agent_class (kernel-level
method TestPipelineRouter.test_stages_have_input_subjects 243
method TestPipelineRouter.test_stages_have_timeouts 248
method TestPipelineRouter.test_stages_have_artifact_types 253
method TestPipelineRouter.test_documentation_route_compliance_uses_compliance_check_subject 260 Dogfood F18 regression: DOCUMENTATION → TRACEABILITY must route to
method TestPipelineRouter.test_all_traceability_handovers_use_compliance_check_subject 275 Every capability pair ending in TRACEABILITY must resolve to a
class TestSubjectContract 326 The routed subject must be one the receiving volk answers.
method TestSubjectContract.test_every_routed_subject_is_accepted_by_its_volk 335
method TestSubjectContract.test_intake_subjects_are_accepted_by_their_volk 351 The first-stage table must satisfy the same contract.