From e1ee763e995bfa73f12b9c1facc089cccc603472 Mon Sep 17 00:00:00 2001 From: Chinesezjc Date: Sun, 26 Jul 2026 04:48:35 +0800 Subject: [PATCH] test(snapshot): tighten todo_write item schema in master's new acp snapshots The origin/master merge added the session-query-spill and escalation-approved acp scenarios, whose pinned tool-schemas still carried additionalProperties: true on the todo_write item schema. This PR tightens that to false (model-visible via the request header), so re-record it in the two new expected outputs. session-sandbox-root, escalation-rejected, and fs-escalation-approved compare against the escalation-approved pinned header and pass once it is fixed. --- .../snapshots/escalation-approved/tool-schemas.expected.json | 2 +- .../snapshots/session-query-spill/tool-schemas.expected.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/acp-agent/tests/snapshots/escalation-approved/tool-schemas.expected.json b/examples/acp-agent/tests/snapshots/escalation-approved/tool-schemas.expected.json index d4973bfea4..01ac777a42 100644 --- a/examples/acp-agent/tests/snapshots/escalation-approved/tool-schemas.expected.json +++ b/examples/acp-agent/tests/snapshots/escalation-approved/tool-schemas.expected.json @@ -288,7 +288,7 @@ "description": "The COMPLETE task list, replacing any previous list.", "items": { "type": "object", - "additionalProperties": true, + "additionalProperties": false, "properties": { "content": { "type": "string", diff --git a/examples/acp-agent/tests/snapshots/session-query-spill/tool-schemas.expected.json b/examples/acp-agent/tests/snapshots/session-query-spill/tool-schemas.expected.json index dde0ba0d7a..beb93c6b53 100644 --- a/examples/acp-agent/tests/snapshots/session-query-spill/tool-schemas.expected.json +++ b/examples/acp-agent/tests/snapshots/session-query-spill/tool-schemas.expected.json @@ -492,7 +492,7 @@ "description": "The COMPLETE task list, replacing any previous list.", "items": { "type": "object", - "additionalProperties": true, + "additionalProperties": false, "properties": { "content": { "type": "string",