From 4b9a0928a8eeef0411e5f69c083242bc7bd3bf6e Mon Sep 17 00:00:00 2001 From: Q00 Date: Sat, 23 May 2026 15:27:55 +0900 Subject: [PATCH] fix(orchestrator): correlate verifier diagnostics --- src/ouroboros/orchestrator/parallel_executor.py | 3 +++ tests/unit/orchestrator/test_parallel_executor.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/ouroboros/orchestrator/parallel_executor.py b/src/ouroboros/orchestrator/parallel_executor.py index f0aeb8656..ccb9968d0 100644 --- a/src/ouroboros/orchestrator/parallel_executor.py +++ b/src/ouroboros/orchestrator/parallel_executor.py @@ -3537,6 +3537,7 @@ async def execute_parallel( log.info( "parallel_executor.dependency_graph", session_id=session_id, + execution_id=execution_id, total_acs=total_acs, dependency_edges=dependency_edges, ) @@ -5415,6 +5416,8 @@ async def _execute_atomic_ac( success = False log.warning( "parallel_executor.ac.verifier_rejected", + session_id=session_id, + execution_id=execution_id, ac_index=ac_index, depth=depth, reason=fat_harness_error, diff --git a/tests/unit/orchestrator/test_parallel_executor.py b/tests/unit/orchestrator/test_parallel_executor.py index 694973359..5eb25b22f 100644 --- a/tests/unit/orchestrator/test_parallel_executor.py +++ b/tests/unit/orchestrator/test_parallel_executor.py @@ -6047,6 +6047,8 @@ def _rejecting_verifier(**kwargs: object) -> VerifierVerdict: log_mock.warning.assert_any_call( "parallel_executor.ac.verifier_rejected", + session_id="orch_123", + execution_id="", ac_index=0, depth=0, reason="Fat-harness verifier failed (claimed test command did not support the AC).", @@ -6884,6 +6886,7 @@ async def test_execute_parallel_logs_dependency_edges(self) -> None: log_mock.info.assert_any_call( "parallel_executor.dependency_graph", session_id="orch_dependency_log", + execution_id="exec_dependency_log", total_acs=2, dependency_edges=[{"ac_index": 1, "depends_on": (0,)}], )