Files
Jyotisha/docs/testing/rectification-dup-question-20260926.md
T
Jesse_ChenandClaude Opus 5.5 e4c1c7a342 fix(rectification): one stem per turn, one card per focus (BUG-1045/1046)
BUG-1045 (recurrence of BUG-585 via BUG-969): the snapshot merge now drops
the attached stem from the streamed "ack + stem" text with the same
stripQuestionSentences the GET route uses; server text unchanged.

BUG-1046: a failed choice submit (409 / network) or typed send withdraws
the local answered mark, remounts the card, re-reads the Case and shows
"这次没提交上,请再点一次。"; the persisted question hangs on the latest
settled assistant message with other copies of the same focus removed
(standalone block only when nothing can carry it); willContinue and the
send() settle merge unseen assistant turns (same gap as BUG-685).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
2026-09-26 10:49:25 +08:00

1.7 KiB
Raw Blame History

生时校正:同一轮问题两次 / 同一道题两张卡 · 真机清单(2026-09-26)

本轮在本地 next start + 无头 Chrome 里用虚构接口数据截过图(rectification-dup-question-20260926/),没有登录态真机,也没有真实模型。下面留给真人,用自己的账户在 staging 上照做(部署后):

  1. 开一次生时校正,答到出现 A/B/C/D 选择题。不点选项,在输入框打字回答(例如「有,2023 年 3 月」)。这一轮回答里:正文只有「已记录……」一类的话,下一题的题干只出现一次(在选项卡上方),不会正文里一遍、卡上又一遍。
  2. 采集题(「还有吗?比如……」)下打「想不到了」。如果下一步是选择题:题干同样只出现一次。
  3. 第 1、2 步各刷新一次页面:刷新前后看到的内容一致(都是一遍)。
  4. 选择题下点一个选项的同时断网(手机开飞行模式,或电脑拔网线后立刻点):刚点的选项取消高亮,页面只有一张可以点的卡,下面一行「这次没提交上,请再点一次。」。恢复网络后再点一次,正常进入下一步。不会出现「上面一张已选、下面又一张空白」的两张卡。
  5. 同一局里连答五六道选择题:每道题只画一张卡;「目前范围 …,还在核对」下面不会再出现一张同样题干的卡。
  6. 手机宽度(375px)上重复第 1、4 步:卡片与错误行不溢出、不遮挡输入框。

如果第 4 步真机复现了两张卡,请把当时浏览器开发者工具 Network 里 /api/rectification/agent 那次请求的状态码记下来(不需要请求内容),用于判定 BUG-1046 的 H1 / H2。