From 758ef5ceecfed3644d7a5804ac9aeee8854398d5 Mon Sep 17 00:00:00 2001 From: Linghong Date: Tue, 15 Sep 2026 08:07:12 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E6=97=A7Fast=20GDD=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E6=AE=8B=E7=95=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将通用验收证据和委派测试中的旧 GDD 路径改为中性产物 保留做游戏 Agent 的通用证据回执逻辑 --- .../src-tauri/src/agent/runtime_actions/action_execution.rs | 2 +- apps/ai-game-creator-shell/src-tauri/src/delegation.rs | 4 ++-- 2 files 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 96d7f9b63..1135bf496 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 @@ -549,7 +549,7 @@ fn append_agent_runtime_file_read_evidence_ref( // 给的是**整个三元组**,不是一个碎片。`agent.acceptance_update` 的 evidence 引用 // 要求 {agentId, runId, actionId} 三个字段,回执查找也按三元组整体做 key。早期 // 只给 actionId,另外两个靠模型回忆——实测它第一次就把其中一个记错,白吃一次 - // 拒绝。反正 `validate_fast_gdd_evidence_identity` 只接受当前根 run 的回执, + // 拒绝。验收证据只接受当前根 run 的回执, // 合法取值唯一,本来就不该让它猜。 observation.summary = format!( "{} · sourceAgentId={agent_id} · sourceRunId={run_id} · sourceActionId={action_id}", diff --git a/apps/ai-game-creator-shell/src-tauri/src/delegation.rs b/apps/ai-game-creator-shell/src-tauri/src/delegation.rs index 8e7479ccb..2f75bc184 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/delegation.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/delegation.rs @@ -3426,11 +3426,11 @@ mod tests { assert!(failed.contains("客观证据冲突")); let mut missing = base.clone(); - missing.missing_expected_artifacts = vec!["game/fast_gdd.md".to_string()]; + missing.missing_expected_artifacts = vec!["design.md".to_string()]; let missing_error = validate_static_delegate_structured_result( &missing, "completed", - &["game/fast_gdd.md".to_string()], + &["design.md".to_string()], ) .expect_err("missing expected artifact must reject a user revision result"); assert!(missing_error.contains("客观证据冲突"));