feat(design): integrate conversation-first creation flow
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
2026-09-04 07:39:58 +08:00
parent 14efa99f0c
commit 945b40de11
14 changed files with 374 additions and 234 deletions

View File

@@ -4,6 +4,24 @@ This file is the integrated default-branch snapshot. Feature tasks record progre
## Integrated Through
- Conversation-first AI Design client source
`fe50e4ba198649a07c5c9443f15edf7dfa2a47e6` from task
`20260903-design-guided-conversation-client-8b4e1c72` is integrated onto local
`main` by task `20260904-integrate-guided-design-6a3f9c82`. ImageCanvas now makes
free-form conversation the dominant creation surface: first-use guidance invites
creators aged 8–16 to describe a subject, scene, or feeling in their own words,
the Agent-facing examples only prefill the composer, and ordinary persisted
Decision Prompts no longer appear as required option-card forms. The secondary
surface is now a compact “AI 听懂的想法” projection whose constraints,
references, and video details are collapsed by default; manual field editing is
explicitly optional. ADR-007 remains intact: Current Specification is still the
server semantic authority, Quote confirmation still submits only immutable Quote
identity, and Main transport/operation certainty is unchanged. Focused/adjacent
45-test, typecheck, scoped lint, production build, pressure 1/1, and Electron E2E
2/2 passed. The ordinary full suite passed 1,866 tests with 2 conditional skips
and one unrelated Pi real-process 2-second timing assertion at 2,232 ms; that
exact file passed 5/5 in isolation. No server contract, paid generation, package,
deployment, publication, or remote push is claimed.
- AI Design command-outcome source
`83f3f134a6779251aaa18f3290308cd9221b038f` from task
`20260903-design-message-send-client-8d3f2a71` is integrated on `main` as
@@ -670,6 +688,7 @@ Robot 绑定设备默认先显示“引导配网 / 已有激活码”路径选
- 本地构建必须使用安装版 Electron Node、固定 npm 11.6.2 和项目 `package-lock.json` 锁定的 Vite,不得回退到全局 PATH、已有 `node_modules` 或未验证的 npm 闭包;依赖安装需要网络。
- 项目 Vite config/plugins 以桌面用户权限执行,不能称为 sandbox;此风险边界必须在发布说明中保留。
- AI Design 的 Current Specification 是唯一语义权威。Direction events 必须按 Workspace/Direction/revision/operation identity 收敛;assistant delta、event cursor、Task progress 和 Asset updates 不得改写 Living Form。
- AI Design 的用户交互以自然对话为主:先理解并复述用户已经说清楚的内容,再一次只推进一个关键问题。Current Specification 的客户端投影只作为“AI 已理解”的辅助摘要和可选手动调整面板;新增字段不得自动变成必填问题或选项卡表单。
- Design unknown-result replay 必须复用原 stable command 与 semantic operation ID;业务错误不得重复提交。Immutable Quote confirmation 只提交 Quote ID,Task recovery 不授权新的生成 intent。
- AI 绘画 Main-owned Workspace JSON 请求和共享 Works token refresh 必须在 30 秒内结束并释放共同等待者;只允许 `GET`/`HEAD`/`OPTIONS` 在 Electron transport 失败后透明改走 Node fetch,PATCH/POST 等 mutation 必须由具有显式幂等身份的上层协议决定是否重试。临时 `disable-http2` 只用于安装包诊断,不能替代该有限生命周期与非重放边界。
- 服务端 current Direction Session 与 semantic history 不由客户端在注销或退出时删除;Main 只关闭本地流、清除 drafts/pending state 和本机凭据。
@@ -683,4 +702,4 @@ Robot 绑定设备默认先显示“引导配网 / 已有激活码”路径选
## Last Updated
2026-09-03
2026-09-04