Repository navigation
群聊协作工作流:并行 / 评审 / 接力(草稿) - #55
Merged
Merged
Conversation
GOXF
marked this pull request as ready for review
December 3, 2026 03:18
GOXF
added a commit
that referenced
this pull request
Dec 3, 2026
GOXF
added a commit
that referenced
this pull request
Dec 3, 2026
11 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
负责:Hark/modes · 预计 2026-12-03 14:30 北京(界面接线已完成,待验收)
一页计划
目标:群聊(CollabRoom)新增协作工作流字段
workflow: 'default'|'parallel'|'review'|'relay'(缺省 default = 现有调度不变),加relayHops(1–3,缺省 2)。review-stage-N.md,否则内联截断到 4500 字并注明已截断。初稿失败由下一位顶上。不做什么:(界面接线已于 2026-12-03 11:08 北京用户说「好,开工」后做完);有管理员(coordinatorId/全局管理员)的群、续接迟到回复(continueFrom)仍走原调度;工作流发言不挂 [TOOL] 工具协议。
验收条件:typecheck、相关 vitest、src/renderer/src/rooms 全量、electron-vite build 通过;单测覆盖三种模式目标选择、阶段提示词、防绕圈、截断/附件;mock 效果图(群设置选模式 + 消息流阶段标签)。
主要风险:并行时同一房间的「正在输入」气泡/liveTools 是单值,多人同时说时会互相覆盖(只影响实时显示,不影响落库);工作流运行中再发消息会停掉本轮重开(不并入队列)。
任务清单
进度与交接
用户批准:2026-12-03 11:08 北京,用户看过效果图后说「好,开工」;待定点全部采纳推荐:
已完成(提交 1b511fd、23fcf22、c8ef3cf、1971790)
members[roomId][botId]按成员的实时状态;旧的live[roomId]保留(向后兼容,取最近写入的成员);trackRoomTurn / trackGrokRoomStream / clearRoomLive 多一个可选 memberId。验证(2026-12-03 11:17 北京,提交 1971790 内容)
npm run typecheck→ 退出码 0npx vitest run(全量,87 秒,未超 120 秒,不必分段)→ 181 文件通过 / 1 跳过,1295 条通过 / 3 跳过,退出码 0;其中src/main/mcp/hub.test.ts12 条通过(全量中跑完,未超时)npx electron-vite build→ 退出码 0npm run design:check→ 退出码 0(design:check OK、design:contrast OK)进行中:无。下一步:用户验收后合并(用 merge.py,不由 Hark/modes 合并)。
未确认点