Merge PR #48: humane agent voice with boundary semantics intact
Reviewed: tsc + rectification/voice 757 + consult 289 green; E-1 predicate verified structural (no body-text matching); boundary phrases preserved in delivery turns. Conflict: BUG entry renumbered 467→469. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0155nFCgCHtoA7jhSDGmZmMu
This commit is contained in:
@@ -7197,4 +7197,21 @@
|
||||
- 防复发:不得对未采用校正的档案声明 `rectified`;不得把 `not_auto_rectified` 写回每次咨询;不得改输出守卫或 window/general 两档指令来“修好”精度传递。
|
||||
- 相关记录:BUG-009、BUG-073
|
||||
- 复发自:无
|
||||
- 复发自:无
|
||||
- 修复版本:待发布
|
||||
|
||||
## BUG-469 | opening 轮把采集题干再写成第二条助手消息
|
||||
|
||||
- 状态:resolved
|
||||
- 首次发现:2026-09-01
|
||||
- 最近更新:2026-09-01
|
||||
- 影响面:POST `/api/rectification/agent` opening 成功出口、`finalizeSuccessfulTurnExit`、口述采集当前问题槽
|
||||
- 用户现象:开场模型正文已经自然引导用户说一件事,紧接着又出现一条服务端采集题干,两条语义重复、语气断裂。
|
||||
- 触发条件:新 Case `action=opening`,本轮已有非空 assistant 正文,且 focus 为 collect 类。
|
||||
- 根因:BUG-460 为了让题干进历史,对所有成功推进轮都把 `current_question.prompt` 追加成独立 assistant 消息。opening 的模型正文本身已承担引导,再追加就变成双重提问。
|
||||
- 修复:focus 仍照常持久化。仅当 `action === opening`、focus 为 collect、且本轮已有非空 assistant 正文时,不再把题干写成第二条 turn 消息。判定只看 action / kind / intent / 正文是否非空,不读正文内容。
|
||||
- 验证:`shouldPersistFocusPromptTurn` 矩阵;既有 server-focus / question-ownership / 非终态出口闸测试保持;`agent-voice-copy-contract.test.ts`。
|
||||
- 防复发:不得用正文字符串判断“是否已问过”。非 opening 轮仍把服务端题干写入历史。
|
||||
- 相关记录:BUG-456、BUG-460、BUG-461
|
||||
- 复发自:BUG-460
|
||||
- 修复版本:待发布
|
||||
|
||||
Reference in New Issue
Block a user