a2a-source-edit: write agent.py

This commit is contained in:
a2a-cloud
2026-07-13 03:16:25 +00:00
parent 509d05e26e
commit 4239bcd1c0

View File

@@ -538,7 +538,7 @@ class CustomerIntegrationEngineer(A2AAgent[CustomerIntegrationEngineerConfig, No
return ValidateContractResult(
status="failed" if drift and request.fail_on_drift else "ok",
integration_id=request.integration_id,
dry_run=request.dry_run,
dry_run=dry_run,
audit=audit,
warnings=[] if not drift else ["contract drift detected; inspect contract-report.json before handoff"],
residual_risks=[] if not drift else ["fixtures are deterministic and bounded; live provider behavior still requires caller-controlled staging verification"],