[真实全双工运行时]:完成run-agent-live可打断语音闭环,包含持续监听、软件回声抑制和播放取消验证

This commit is contained in:
mkbk
2026-06-18 22:56:01 +08:00
parent e730883c64
commit a489f8eee1
11 changed files with 378 additions and 46 deletions
@@ -427,6 +427,12 @@ recovering
验收:tasks 中每项有前置条件、优先级、验收标准和测试要点;validation 命令明确。
### 10. 真实全双工运行时落地
目标:撤销“只完成骨架即完成”的边界,把 `run-agent-live` 接成可真人运行的全双工语音入口;保留 `run-live` 作为旧 turn-based 稳定入口。
验收:`run-agent-live` 不带 `--check-config` 不再返回 `FULL_DUPLEX_RUNTIME_NOT_IMPLEMENTED`,而是启动持续 listening;播放中检测到有效用户说话时,在软件回声抑制通过后先停止播放,再把用户打断音频接入下一轮 STT;只有助手回放 reference 时不触发打断。
## Spec Deltas
### Capabilities
@@ -461,6 +467,8 @@ recovering
18. 新增 requirement`Open Interpreter external adapter`
19. 新增 requirement`Browser automation tool boundary`
20. 新增 requirement`Computer control reservation`
21. 新增 requirement`Live run-agent-live runtime`
22. 新增 requirement`Software render-reference interruption gate`
### 推翻重做的理由
@@ -482,6 +490,7 @@ recovering
6. 阶段 F:长期记忆 FAISS+SQLite、记忆召回和隐私策略。
7. 阶段 GTool Router、安全工具、Open Interpreter adapter 和 Playwright adapter。
8. 阶段 H:文档、性能验收、安全审计和迁移收尾。
9. 阶段 I:真实 `run-agent-live` 运行时、软件回声抑制和真人打断验收。
### 里程碑估时
@@ -495,8 +504,9 @@ recovering
| F 长期记忆 | 2 天 | 4 天 | 8 天 |
| G Tool Router | 3 天 | 6 天 | 12 天 |
| H 验收与收尾 | 2 天 | 4 天 | 8 天 |
| I 真实全双工运行时 | 1 天 | 2 天 | 4 天 |
总耗时预估:乐观 17.5 天,最可能 32 天,悲观 63.5 天。
总耗时预估:乐观 18.5 天,最可能 34 天,悲观 67.5 天。
### 数据/状态迁移策略