Refine discussion moderator messaging flow

This commit is contained in:
zhi
2026-04-02 04:18:45 +00:00
parent d9bb5c2e21
commit 684f8f9ee7
7 changed files with 153 additions and 103 deletions

View File

@@ -195,7 +195,7 @@ moderator bot 的工作流完全不使用模型,所有输出均由模板字符
当检测到某 channel 为讨论模式 channel 时moderator bot 自动发 kickoff message。
建议内容结构如下:
建议内容结构如下(当前实现中统一收敛在 `plugin/core/discussion-messages.ts`
```text
[Discussion Started]
@@ -210,7 +210,7 @@ Instructions:
2. Work toward a concrete conclusion.
3. When the initiator decides the goal has been achieved, the initiator must:
- write a summary document to a file
- call the tool: discuss-callback
- call the tool: discuss-callback(summaryPath)
- provide the summary document path
Completion rule:
@@ -331,7 +331,7 @@ Further discussion in this channel is ignored.
- 提供结果文档路径
- 用新消息唤醒原工作 channel 上的 Agent 继续执行
建议模板:
建议模板(当前实现中统一收敛在 `plugin/core/discussion-messages.ts`
```text
[Discussion Result Ready]