From 3f8478b9ce95a6ae9f4241d5dd6d8dad53f6420a Mon Sep 17 00:00:00 2001 From: a2a-cloud Date: Mon, 13 Jul 2026 02:54:54 +0000 Subject: [PATCH] a2a-source-edit: write agent.py --- agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent.py b/agent.py index 755307d..818a5bd 100644 --- a/agent.py +++ b/agent.py @@ -831,7 +831,7 @@ class ProductionIncidentCommander(A2AAgent[CommanderConfig, NoAuth]): await emit_phase(ctx, "approval_gate", status="approval_required") return plan.model_dump(mode="json") - @a2a.tool(description="Execute only explicitly approved allowlisted reversible remediation steps. Defaults to dry run and fails closed.", timeout_seconds=900, cost_class="incident-execution", grant_mode="read_write_overlay", grant_write_prefixes=("outputs/incidents/",), grant_allow_patterns=("outputs/incidents/**",)) + @a2a.tool(description="Execute only explicitly approved allowlisted reversible remediation steps. Defaults to dry run and fails closed.", input_schema=EXECUTE_INPUT_SCHEMA, timeout_seconds=900, cost_class="incident-execution", grant_mode="read_write_overlay", grant_write_prefixes=("outputs/incidents/",), grant_allow_patterns=("outputs/incidents/**",)) async def execute_remediation( self, ctx: RunContext[NoAuth],