From 8bae86d49d6789ec268af942f431010d7bbfcd99 Mon Sep 17 00:00:00 2001 From: Yichen Jiang Date: Tue, 13 Oct 2026 11:14:10 +0800 Subject: [PATCH] test(snapshots): drop exit_plan_mode from master's office scenarios Ordinary mode no longer declares exit_plan_mode, so the office scenarios that master recorded before this change pin the tool list and PTC SDK guidance without it. --- .../tool-schemas.expected.json | 16 ---------------- .../system-prompt.expected.md | 8 -------- 2 files changed, 24 deletions(-) diff --git a/snapshots/session/office-progressive-native/tool-schemas.expected.json b/snapshots/session/office-progressive-native/tool-schemas.expected.json index 79d6891abc..b9c653bab9 100644 --- a/snapshots/session/office-progressive-native/tool-schemas.expected.json +++ b/snapshots/session/office-progressive-native/tool-schemas.expected.json @@ -62,22 +62,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/office-progressive-ptc/system-prompt.expected.md b/snapshots/session/office-progressive-ptc/system-prompt.expected.md index 9d427282d8..95b6ce91ec 100644 --- a/snapshots/session/office-progressive-ptc/system-prompt.expected.md +++ b/snapshots/session/office-progressive-ptc/system-prompt.expected.md @@ -68,11 +68,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. */ @@ -269,9 +264,6 @@ interface ToolOutputMap { before: string; after: string; }; - exit_plan_mode: { - approved: boolean; - }; get_goal: { goal: null; } | {