a2a-source-edit: write agent.py
This commit is contained in:
2
agent.py
2
agent.py
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user