Quality gate run 2598 failed because the unwritten-evidence test still required the old persisted-question DESIGN sentence. Align the assertion with the BUG-678 hang-back contract.
30 lines
2.6 KiB
Markdown
30 lines
2.6 KiB
Markdown
# 进度 · 口述题孤儿裸行与引擎代表时间(2026-09-14)
|
||
|
||
## 范围
|
||
|
||
- 分支:`codex/rectification-spoken-orphan-20260914`(基于 `origin/staging` @ `a5acd535`)
|
||
- 任务单:`docs/tasks/TASK-rectification-spoken-orphan-and-engine-representative-20260914.md`
|
||
- BUG-678 resolved;BUG-676 从 investigating 收敛为 resolved
|
||
- 任务 1/2/3 均做完,没有走让步
|
||
|
||
## 完成
|
||
|
||
- T1:`attachQuestionsToTurns` 对无 `askedTurnId` 的活动焦点一律挂回最后一条尚无题的助手消息;`focusSpokenPrompt` 允许采集 schema 短于 8 字(「大概哪年几月?」)。`persisted_question` 只留给没有助手消息可挂的兜底。
|
||
- T2:`remainingCandidatesLine` 优先用 `credible_range`,缺失才退回活跃候选首尾。`targetedCollectPool` / `rangeNarrowHint` / `targetedCollectFollowup` / catalog 同步传入。`remainingSplitTimes` 的排序/去重用途未改。
|
||
- T3:`slimDecisionReceipt` 活跃时间集合去掉 `latestResult.representativeTime`;保留推理活跃候选、`inference.representative_time`、用户已采用的 `selectedTime`。不改排序。
|
||
- T4:BUG-678 新增;BUG-676 根因更正为两套代表时间未对账,并写明界面从未显示 05:14。CHANGELOG、真机清单、DESIGN 范围口径。
|
||
|
||
## 验收数字
|
||
|
||
- `./node_modules/.bin/tsc --noEmit`:0 错
|
||
- `npm run lint`:0 error(120 warning,与基线同类,无新增 error)
|
||
- 相关单测 46/46:`rectification-spoken-orphan-20260914.test.ts` 3/3,加上 collect-prompt / collection-question-pool / case-receipt-projection / unstampable-probe / surface-state
|
||
- `npm test`:2989 tests,2822 pass / 153 fail / 14 skip。比上一轮 Windows 基线(2985 / 2818 / 153 / 14)多 4 条全绿用例;失败清单仍是 Caddy/CRLF、Docker、bash、workflow YAML、Skill SHA、page.tsx 源码正则,没有新的校正产品失败
|
||
- `next build`:本工作树 `frontend/node_modules` 是 junction,Turbopack 拒绝软链;`--webpack` 编译与 tsc 通过,收集 page data 时因本机 Skill 10.0.26 SHA 与 registry 不一致失败(环境问题,未改 skill 包)。`/` 是否仍 `○ Static` 需在有真实 `node_modules` 且 skill 哈希匹配的树上复核
|
||
|
||
## 门禁修复(BUG-679)
|
||
|
||
- Gitea run `2598`(SHA `2dbcf266`)validate 失败:`npm test` 3180 条里 3179 通过、1 失败。失败原文:`not ok 2518 - chat live question only reads the last settled assistant message`,断言 `/completed turn that claimed to record evidence/` 对不上已更新的 `DESIGN.md`。
|
||
- 安装步骤已绿,不是 BUG-677。publish skipped。
|
||
- 合同断言改跟新 DESIGN(原值/新值/原因已写)。产品代码未再改。
|