diff --git a/agent.py b/agent.py index 7b3fc2f..585773b 100644 --- a/agent.py +++ b/agent.py @@ -565,9 +565,13 @@ class CustomerIntegrationEngineer(A2AAgent[CustomerIntegrationEngineerConfig, No step_results.append(AcceptanceStepResult(name=test.name, status="blocked", attempts=0, detail=validation, idempotency_key=idem)) warnings.append(validation) continue - if request.dry_run or not request.allow_network: + if dry_run or not request.allow_network: step_results.append(AcceptanceStepResult(name=test.name, status="skipped", attempts=0, detail="dry_run/default safe mode: external request was validated but not sent", idempotency_key=idem)) continue + if live_network_block: + step_results.append(AcceptanceStepResult(name=test.name, status="blocked", attempts=0, detail=live_network_block, idempotency_key=idem)) + warnings.append(live_network_block) + continue result = await _call_endpoint_with_retries(test, request.max_retries, request.timeout_seconds, idem) network_calls += result.attempts step_results.append(result)