test: cover discussion hook close and idle behavior

This commit is contained in:
zhi
2026-04-02 07:19:57 +00:00
parent 0f38e34bec
commit 15f7d211d7
6 changed files with 139 additions and 3 deletions

View File

@@ -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 路径校验测试