diff --git a/docs/proposals/2026-10-12-work-companion-ui-design.md b/docs/proposals/2026-10-12-work-companion-ui-design.md index f904cbd..3fc5027 100644 --- a/docs/proposals/2026-10-12-work-companion-ui-design.md +++ b/docs/proposals/2026-10-12-work-companion-ui-design.md @@ -5,7 +5,7 @@ status: approved-for-continuous-implementation date: 2026-10-12 owner: weichen scope: requirements-and-design -implementation: in-progress +implementation: review-in-progress project-record: persisted --- @@ -130,7 +130,7 @@ project-record: persisted 与既有方案衔接:`modules/documents/docs/proposals/2026-10-12-fast-slow-channel-display.md` 是快慢通道摘要与异步投影的已有主记录;本稿补充整体交互与各种成果形式,不另起一套状态或快照契约。U2/U3/U4 的真实阶段发现、持久恢复、确认闭环和窄屏完善继续以原记录及后续批准为准。 -## 10. 待评审需求 +## 10. 实施需求 以下为本次界面实施与验收范围;实现消费真实已有能力,不伪造尚未发布的阶段发现。 @@ -150,7 +150,7 @@ project-record: persisted | UI12 | 遵守设计系统 | P0 | 令牌、Collapsible、MotionKit、对比度守护符合规范 | | UI13 | 能力与权限匹配 | P0 | 未启用领域入口不显示;摘要与来源不绕过访问控制 | -最终产品验收场景:三个附件无文字发送;前后台并行及排队;确认双入口;完整/部分/失败结果;查看来源与文件;刷新和断线;新对话;窄屏、大字、键盘及减少动效。真实模型、真实后端和真实浏览器任务验收均 NOT_RUN,不能由示例交互稿代替。 +最终产品验收场景:三个附件无文字发送;前后台并行及排队;确认双入口;完整/部分/失败结果;查看来源与文件;刷新和断线;新对话;窄屏、大字、键盘及减少动效。r0.1 设计评审时,真实模型、真实后端和真实浏览器任务验收均为 NOT_RUN;实施期结果见第 13 节,示例交互稿不能代替验收。 ## 11. 落地次序建议 @@ -158,10 +158,18 @@ project-record: persisted 2. **动态工作摘要。** 接续既有快慢通道 U2/U3,在真实快照与检查点之上显示业务发现、范围和恢复状态;避免另外安排重复任务。 3. **成果形式与适配。** 衔接 U4,完成比较、审查、可选任务页面、窄屏和具体领域入口。先用结构化文字/表格,再增强生成式展示。 -下一步推荐:评审 r0.1 的整体布局、默认信息和成果形式;确定首批界面范围后编写与既有 U1–U4 衔接的实施计划。前置条件:项目写入门禁恢复、原方案及在途实现重新核对、各阶段人工评审到位。 +r0.1 布局与展示已获连续实施授权,当前按 r1 计划交付界面。完成本增量后的首选衔接仍是既有快慢通道 U2/U3 的真实阶段发现与恢复验收;需先核对其在途任务和批准范围,不能由本界面任务重复启动或改变路由。 ## 12. 授权与实施记录 来源:2026-10-12 用户在本聊天评审 r0.1 后指示“开始实施直到完成”。模式 authorized-continuous;阶段 1–10 在本稿界面范围内连续推进,平台门禁和高后果双钥匙保留。启动检查从已登记干净 Dev 检出捕获,后由 make task-start 创建 feature/work-companion-ui,并导入原始 SELF 收据。保护主检出的 Frontend 更新与其他任务现场。 实施计划见 [r1](2026-10-12-work-companion-ui-plan.md);进展和原始证据仅维护于 Dev .task/feature-work-companion-ui.md。PR、CI、Review、合入与部署分别记载,不因本授权预先标为通过。 + +## 13. 实施进展与能力边界 + +2026-10-12:渐进任务卡、轻量对话/输入、响应三栏和单一异步状态投影已形成可审阅候选。SELF 验证包括 Frontend 190 与 UI 129 单元测试、类型/设计守护/knip、Dev make test 与 make build;现有 Playwright 10 个展示场景及隔离 HTTP/MockRunner 2 个真实接口链路场景通过。原始命令、精确对象和完整输出以 Dev 任务卡为准,测试成功不推断已经合入或部署。 + +独立代码 Review 正在进行,平台当前 HEAD CI 与合入尚未完成。UI 仓原 CI 在下载 GitHub action 时失败,交付补充改用既有平台固定 SHA 检出和 Node22 镜像,保留原测试;安全和规范 Review 及实际平台结果均须记录。 + +动态摘要只消费系统发布的真实内容:缺少阶段发现时显示诚实占位,不生成示例百分比、ETA 或虚构成果。真实模型阶段发现质量 NOT_RUN,后台自动路由和模型提示词未在本增量修改。旧运行服务未更新;最终组合、Review、GATE 和本任务安全收口以 Dev 主记录为准。 diff --git a/docs/proposals/2026-10-12-work-companion-ui-plan.md b/docs/proposals/2026-10-12-work-companion-ui-plan.md index 00090ee..0e9ac46 100644 --- a/docs/proposals/2026-10-12-work-companion-ui-plan.md +++ b/docs/proposals/2026-10-12-work-companion-ui-plan.md @@ -130,13 +130,13 @@ expect(store.getState().cards[0].status).toBe('done') **Own files:** Dev DESIGN.md, PROJECT.md, task card and exact gitlinks; Documents design/plan/index and delivery record; Frontend e2e/work-companion.playwright.ts and isolated browser fixtures if required; external screenshots and receipts. -- [ ] Record authorization and implementation units; retain original startup evidence unchanged. -- [ ] Integrate all workers, inspect owned paths and contracts, run authoritative focused tests, and commit logical component changes with Why/Evidence/Impact/Refs bodies. -- [ ] Update DESIGN §9.6 and information architecture to the approved progressive behavior; no palette changes are planned, so do not change canonical token values merely to create a paired diff. +- [x] Record authorization and implementation units; retain original startup evidence unchanged. +- [x] Integrate all workers, inspect owned paths and contracts, run authoritative focused tests, and commit logical component changes with Why/Evidence/Impact/Refs bodies. +- [x] Update DESIGN §9.6 and information architecture to the approved progressive behavior; no palette changes are planned, so do not change canonical token values merely to create a paired diff. - [ ] Run make task-sync through evidence at acceptance, review and merge checkpoints; resolve any parent/component conflicts without altering unrelated owner work. -- [ ] Pin exact committed component revisions and run Dev make test plus make build through evidence. -- [ ] Browser checks: normal conversation; three selected attachments; background task plus foreground input/queue; pending confirmation through either entrance; done/failed/partial results; real file preview; reading preserved during update; duplicate/stale updates; refresh/switch; all five widths and 18px type. -- [ ] UI fixture-driven browser cases validate presentation only. Use an isolated real backend/browser smoke for API wiring, file/confirmation/card persistence where feasible. No mock model findings are reported as live-model acceptance. +- [x] Pin exact committed component revisions and run Dev make test plus make build through evidence. +- [x] Browser checks: normal conversation; three selected attachments; background task plus foreground input/queue; pending confirmation through either entrance; done/failed/partial results; real file preview; reading preserved during update; duplicate/stale updates; refresh/switch; all five widths and 18px type. +- [x] UI fixture-driven browser cases validate presentation only. Use an isolated real backend/browser smoke for API wiring, file/confirmation/card persistence where feasible. No mock model findings are reported as live-model acceptance. - [ ] Run required simplification and independent code review; fix findings, re-run affected checks, and record reviewer/object identity. - [ ] Push component branches, create and attach Gitea PRs, verify their current HEAD required CI and merge in dependency order. Update Dev pins to merged revisions, verify combination CI at current Dev HEAD, Review and merge Dev PR. - [ ] Fold/close only this task card under continuous authorization. Preserve or safely reclaim only owned workspace artifacts. Do not modify active main checkout state for other tasks. @@ -146,3 +146,7 @@ expect(store.getState().cards[0].status).toBe('done') UI01–UI13 are mapped to observed source/tests/browser outcomes or an explicit inherited capability limit; no prototype fixture enters product state. All changed components compile and relevant tests pass. Current-head mandatory CI is verified before merge. Review findings are closed. The actual merged Dev combination and saved evidence are recorded. Existing running services remain unchanged; deployment is a separately identified operation. Continuous authorization covers implementation, verification, reversible isolation, documentation, commit/push/PR, agent Review/merge and task-specific safe closure. Stops apply to genuine scope changes, unowned content collisions, missing current-head platform gates and high-consequence dual-key operations. These conditions do not require re-approval of routine already-authorized work. + +## Delivery status + +2026-10-12: U1–U4 implementation candidates are integrated; U5 local combination and browser checks passed as SELF evidence. Independent review and current-head platform CI/merge are pending, so delivery is not yet declared complete. Code review may produce small corrective iterations; each has its own fixed object and relevant replay. The UI CI bootstrap repair is required to run the retained checks, not a waiver of them. Actual merged versions and final verification remain recorded in the Dev task card; no existing service is deployed by this task.