From 399f9867cd2b6d10405f538523b8bc6babfc63af Mon Sep 17 00:00:00 2001 From: Yichen Jiang Date: Thu, 15 Oct 2026 14:37:15 +0800 Subject: [PATCH] test(snapshots): drop exit_plan_mode from master's cua scenarios cua-native and cua-ptc were recorded on master while exit_plan_mode stayed registered outside plan mode. With conditional admission the tool is declared only in committed plan mode, so the refreshed tool schemas and PTC prompt omit it; no other content changed. --- .../cua-native/tool-schemas.expected.json | 16 ---------------- .../session/cua-ptc/system-prompt.expected.md | 8 -------- 2 files changed, 24 deletions(-) diff --git a/snapshots/session/cua-native/tool-schemas.expected.json b/snapshots/session/cua-native/tool-schemas.expected.json index 970dd64091..357bd82e9c 100644 --- a/snapshots/session/cua-native/tool-schemas.expected.json +++ b/snapshots/session/cua-native/tool-schemas.expected.json @@ -1246,22 +1246,6 @@ ] } }, - { - "name": "exit_plan_mode", - "description": "Use only in plan mode. Present your plan for the user's review and, on approval, leave plan mode. The user may approve (carry out the plan from your next step) or keep planning — their feedback comes back in the tool result; revise and present again.", - "parameters": { - "type": "object", - "properties": { - "plan": { - "type": "string", - "description": "The complete plan, as markdown, starting with a # heading that names it." - } - }, - "required": [ - "plan" - ] - } - }, { "name": "get_goal", "description": "Read the current session goal, including the id and revision that update_goal requires.", diff --git a/snapshots/session/cua-ptc/system-prompt.expected.md b/snapshots/session/cua-ptc/system-prompt.expected.md index 64f0557897..92171689de 100644 --- a/snapshots/session/cua-ptc/system-prompt.expected.md +++ b/snapshots/session/cua-ptc/system-prompt.expected.md @@ -134,11 +134,6 @@ interface ToolArgsMap { /** Required with sandbox_permissions: one sentence for the user explaining why this exact file operation needs the wider access. Use the language of the user’s current request. */ justification?: string; } & Record; - /** Use only in plan mode. Present your plan for the user's review and, on approval, leave plan mode. The user may approve (carry out the plan from your next step) or keep planning — their feedback comes back in the tool result; revise and present again. */ - exit_plan_mode: { - /** The complete plan, as markdown, starting with a # heading that names it. */ - plan: string; - } & Record; /** Read the current session goal, including the id and revision that update_goal requires. */ get_goal: Record; /** Find files, not directories, whose paths match a glob pattern, including hidden and ignored files. Returns up to 100 paths in modification-time order; a larger result keeps the first paths and reports where the complete list was saved. */ @@ -372,9 +367,6 @@ interface ToolOutputMap { before: string; after: string; }; - exit_plan_mode: { - approved: boolean; - }; get_goal: { goal: null; } | {