test: cover discussion hook close and idle behavior
This commit is contained in:
@@ -475,6 +475,8 @@ moderator bot 在新 channel 中发布 kickoff message。
|
||||
### 12.2 展开讨论
|
||||
参与 Agent 在该 channel 中按现有顺序讨论机制发言。
|
||||
|
||||
讨论 channel 的 participant 集合继续复用现有 channel member bootstrap 逻辑:由 `plugin/core/turn-bootstrap.ts` 调用 `fetchVisibleChannelBotAccountIds(...)` 基于 Discord 可见成员与已有 account 映射发现可参与的 bot account,再交给 `initTurnOrder(...)` 建立轮转状态,而不是为 discussion 模式额外维护一套成员发现流程。
|
||||
|
||||
如果轮转一圈无人发言,则 moderator 提醒发起者:
|
||||
- 若已达成目标,请写总结文档并 callback
|
||||
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
- [x] 梳理 initiator identity 的可获取路径
|
||||
- [x] 确认 callback 时如何稳定识别 initiator account/session
|
||||
- [x] 确认 discussion channel 创建后 turn order 是否需立即 bootstrap
|
||||
- [ ] 确认 discussion participant 的成员集合获取方式是否可直接复用现有逻辑
|
||||
- [x] 确认 discussion participant 的成员集合获取方式是否可直接复用现有逻辑
|
||||
|
||||
### A9. `plugin/index.ts`
|
||||
- [x] 注入新增 discussion metadata/service 模块依赖
|
||||
@@ -238,8 +238,8 @@
|
||||
|
||||
#### A13.3 turn / hook 测试
|
||||
- [x] 测试 discussion channel 空转后发送 idle reminder
|
||||
- [ ] 测试普通 channel 空转逻辑不受影响
|
||||
- [ ] 测试 callback 成功后 discussion channel 不再 handoff
|
||||
- [x] 测试普通 channel 空转逻辑不受影响
|
||||
- [x] 测试 callback 成功后 discussion channel 不再 handoff
|
||||
- [x] 测试 closed discussion channel 新消息不会继续唤醒 Agent
|
||||
|
||||
#### A13.4 路径校验测试
|
||||
|
||||
Reference in New Issue
Block a user