From 38d3789f297d00603fdf7ba4bcb6f761f52ca625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 5 Sep 2026 13:06:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B4=E6=98=8E=20Direct=20=E5=AF=B9?= =?UTF-8?q?=E8=AF=9D=E6=B6=88=E6=81=AF=E6=8C=81=E4=B9=85=E5=8C=96=E8=BE=B9?= =?UTF-8?q?=E7=95=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 标注 messages 仅是乐观界面投影 说明 Direct 历史由 Rust 原始响应负责写入 --- apps/ai-game-creator-shell/src/App.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/ai-game-creator-shell/src/App.tsx b/apps/ai-game-creator-shell/src/App.tsx index cadf990b4..cb5a6aa9d 100644 --- a/apps/ai-game-creator-shell/src/App.tsx +++ b/apps/ai-game-creator-shell/src/App.tsx @@ -1669,6 +1669,10 @@ export function App({ // DirectProject history is written by Rust from raw app-server items. // The browser only renders that projection and must not append chat rows. if (projectSupervisorOnly && directCodexProductRuntime) { + // `messages` is only an optimistic UI projection in Direct mode; it is + // intentionally not proof of durability. Rust owns the raw response + // history, so this effect must not route these rows through the generic + // browser conversation writer. savedConversationCountRef.current = messages.length; return; }