From 1d50f4fef589874bbf5ce32cfc93f34ed98e7811 Mon Sep 17 00:00:00 2001 From: Linghong Date: Tue, 15 Sep 2026 08:12:32 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E7=AD=96=E5=88=92=E6=A0=B7?= =?UTF-8?q?=E4=BE=8B=E8=B7=AF=E5=BE=84=E6=AE=8B=E7=95=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将通用 file.read 证据测试改用中性 design.md 样例 确保现役代码和测试不再引用旧 Fast GDD 路径 --- .../src-tauri/src/agent/runtime_actions/action_execution.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/ai-game-creator-shell/src-tauri/src/agent/runtime_actions/action_execution.rs b/apps/ai-game-creator-shell/src-tauri/src/agent/runtime_actions/action_execution.rs index 1135bf496..00ac94cc7 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/agent/runtime_actions/action_execution.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/agent/runtime_actions/action_execution.rs @@ -919,9 +919,9 @@ mod file_read_source_action_id_tests { AgentRuntimeToolObservation { tool: "file.read".to_string(), status: "ok".to_string(), - summary: "已读取 game/fast_gdd.md 第 1-134 行(共 134 行)".to_string(), + summary: "已读取 design.md 第 1-134 行(共 134 行)".to_string(), detail: Some(format!( - "game/fast_gdd.md · sha256={} · lines 1-134 of 134 + "design.md · sha256={} · lines 1-134 of 134 第一行内容", "a".repeat(64) )), @@ -954,7 +954,7 @@ mod file_read_source_action_id_tests { agent_runtime_action_receipt_public_safe_detail_for_test(&root, &observation) .expect("safe detail still parses"); let value = serde_json::from_str::(&safe_detail).expect("json"); - assert_eq!(value["path"], "game/fast_gdd.md"); + assert_eq!(value["path"], "design.md"); assert_eq!(value["lines"], "1-134 of 134"); assert_eq!(value["contentSha256"], "a".repeat(64)); }