From c69c126b7b00bbfd5edfc4edc044cc3b6f718a95 Mon Sep 17 00:00:00 2001 From: kdletters Date: Wed, 12 Aug 2026 12:29:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E4=B8=BB=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=90=88=E5=90=8C=E6=B5=8B=E8=AF=95=E7=9A=84=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E9=94=81=E5=A4=B9=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 避免调度前预占 code-prototype 执行 lane 等待真实子任务 run 的持久终态与 manifest 投影 --- .../autonomous_completion_contract_tests.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/ai-game-creator-shell/src-tauri/src/agent/runtime_protocol/autonomous_completion_contract_tests.rs b/apps/ai-game-creator-shell/src-tauri/src/agent/runtime_protocol/autonomous_completion_contract_tests.rs index 340cc5e6b..2058bed86 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/agent/runtime_protocol/autonomous_completion_contract_tests.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/agent/runtime_protocol/autonomous_completion_contract_tests.rs @@ -1084,10 +1084,6 @@ async fn game_chat_pure_continue_inherits_failed_root_semantics_and_manifest_pro "继续完成继承的现有游戏目标", ) .expect("persist continued root Supervisor decision"); - let _code_prototype_lane = - try_acquire_game_creator_agent_runtime_task_lock(&root, "code-prototype") - .expect("acquire continued main-agent execution lane") - .expect("continued main-agent execution lane is free"); let scheduled = schedule_autonomous_game_build_ready_tasks_at( &root, GAME_CREATOR_PROJECT_SUPERVISOR_AGENT_ID, @@ -1103,7 +1099,7 @@ async fn game_chat_pure_continue_inherits_failed_root_semantics_and_manifest_pro let _ = crate::tests::wait_for_agent_runtime_manifest_projection_async( &root, "code-prototype", - &scheduled[0].state.run_id, + &autonomous_manifest_ready_task_run_id(&continuation.run_id, "code-prototype"), "failed", "budget-exhausted", GameCreationAppTaskStatus::Failed,