diff --git a/agent.py b/agent.py index 51aec9a..9fecb85 100644 --- a/agent.py +++ b/agent.py @@ -759,7 +759,7 @@ class ProductionIncidentCommander(A2AAgent[CommanderConfig, NoAuth]): approval_acknowledgement: str, dry_run: bool = True, stop_on_failure: bool = True, - ) -> ExecutionResult: + ) -> dict[str, Any]: await emit_phase(ctx, "approval_gate") if approval_acknowledgement != APPROVAL_ACK: result = ExecutionResult(incident_id=incident_id, status="denied", dry_run=dry_run, approval_provenance={"accepted": False, "reason": "approval acknowledgement mismatch"}, step_results=[], final_incident_state="unchanged", artifact_paths=[f"outputs/incidents/{incident_id}/execution.json"])