Orchestrata Ultimate › Tests › Reference › kernel › test_pipeline_escalation
Tests reference — tests/kernel/test_pipeline_escalation.py
Module of tests/kernel, split out because the directory page would be too large.
Prose pending.
tests/kernel/test_pipeline_escalation.py
source · 15 tests · 366 lines
Covers: core.base.traces, governance.prolog_gate, kernel.audit.logger, kernel.audit.model, kernel.audit_bootstrap, kernel.pipeline_escalation, kernel.pipeline_events, core.packet/ (package)
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestPipelineEscalationMixin |
112 | Tests for PipelineEscalationMixin — escalation routing helpers. |
| method | TestPipelineEscalationMixin.test_import |
115 | |
| method | TestPipelineEscalationMixin.test_route_escalation_method_exists |
118 | |
| method | TestPipelineEscalationMixin.test_approve_thread_not_found |
121 | approve returns False when thread_id is not in thread_ids. |
| method | TestPipelineEscalationMixin.test_approve_no_active_volk |
126 | approve returns False when no active volk is on the thread. |
| class | TestPipelineEscalationMixinApprove |
157 | Tests for approve with the real PrologGate governance engine. |
| method | TestPipelineEscalationMixinApprove.test_approve_with_active_volk_and_output |
160 | approve returns True when the volk has produced verified output. |
| method | TestPipelineEscalationMixinApprove.test_approve_denies_without_produced_output |
178 | F8 regression: approve() must genuinely DENY when the volk has |
| method | TestPipelineEscalationMixinApprove.test_find_active_volk_in_progress |
187 | _find_active_volk returns IN_PROGRESS volk. |
| method | TestPipelineEscalationMixinApprove.test_find_active_volk_fallback |
199 | _find_active_volk falls back to first volk on thread if none IN_PROGRESS. |
| method | TestPipelineEscalationMixinApprove.test_find_active_volk_not_found |
210 | _find_active_volk returns None when no volk on thread. |
| method | TestPipelineEscalationMixinApprove.test_build_escalation_to_qa |
221 | _build_escalation builds correct packet for QA target. |
| method | TestPipelineEscalationMixinApprove.test_build_escalation_architect_to_codedirector |
237 | _build_escalation builds implement packet for Ar→Cd. |
| method | TestPipelineEscalationMixinApprove.test_build_escalation_default |
253 | _build_escalation builds default implement packet. |
| class | TestPipelineEscalationAuditWiring |
269 | SPEC-001 US-008: the REQ-008-002 (policy query) and REQ-008-003 |
| method | TestPipelineEscalationAuditWiring.test_approve_fires_policy_query_audit |
316 | REQ-008-002: approve()'s may_complete() verdict is audited. |
| method | TestPipelineEscalationAuditWiring.test_announce_escalation_fires_escalation_audit |
333 | REQ-008-003: each escalation hop is audited. |
| method | TestPipelineEscalationAuditWiring.test_approve_with_audit_none_is_unaffected |
355 | audit=None (the default — matches ORCHESTRATA_KERNEL_AUDIT_DISABLED |