Files
Jyotisha/docs/testing/rectification-in-chat-step1-20261006.md
T
Jesse_ChenandClaude Opus 5.5 6ad0bea320 feat(rectification): start from an offer card in the consultation, come back to it (BUG-1247~1251)
TASK-rectification-in-chat-step1-20261006, direct execution.

- The homepage 生时校正 pill and the text trigger (isRectificationHandoffQuestion)
  are gone. The consult agent decides (RECTIFICATION_OFFER_RULE, one
  definition) and calls offer-birth-time-rectification; the server decides
  whether a card may show (self, product on, no case in progress,
  feature_pricing price). The offer is stored with the answer and travels on
  run.completed; the card hangs under that answer.
- Opening from the card binds the offer to the case in the consultation's own
  messages (no table change); GET/POST /api/rectification/cases/[caseId]/source
  find the source and go back: one divider (time changed or not), earlier
  answers captioned 按校正前的时间, and a 按新时间重新看 button that sends only
  when clicked. Auto-return after the post-adopt check or a terminal case, only
  for work done in this view.
- Model history skips the divider and notes answers written with the old time.

Full suite 4987 / fail 24, identical to 6ec8efd5 (4973 / 24), no test name
lost; tsc 0; lint 0 errors; build keeps / Static, first-load gzip +0.20%.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
2026-10-07 12:58:58 +08:00

2.3 KiB
Raw Blame History

真机清单 · 生时校正从对话进入、做完回到原对话(2026-10-07)

对应 BUG-1247~1251,任务书 docs/tasks/TASK-rectification-in-chat-step1-20261006.md。在 staging 上用自己的账号(本人档案)走,deepseek-v4-flash 一遍、另一个模型一遍。回答原文与出生资料不记进仓库。

步 怎么做 通过标准
1 打开首页 只有「今日星语」一枚按钮,没有「生时校正」
2 新对话问「我和伴侣还能走下去吗」,答完后说「你说我们磨合多,我觉得不对,我们很少吵架」 agent 认下、改读;回答下面没有提议卡
3 接着说「你说我 2019 年换工作,其实那年什么都没发生;我出生时间是我妈估的」 回答最后一句提到可以核对出生时间;下面出现提议卡,写着大约几题、几点、答第一题才扣;按钮「开始核对出生时间」
4 刷新页面,回到这条对话 提议卡还在
5 点「开始核对出生时间」 进入校正;输入框上方有「回到刚才的对话」;刷新后仍在;回原对话看提议卡变成「出生时间核对已经开始」+「继续核对出生时间」
6 在校正里答完、采用一个时间、做完采用后核对 几秒后自动回到原对话;末尾一行「出生时间改为 HH:MM(生时校正)」;之前的回答上方都有「按校正前的时间」;有「按新时间重新看:「…」」按钮;不点就不出新回答、点数不变
7 点「按新时间重新看」 正常回答一轮、扣一次点;回答按新时间,不沿用旧回答里的盘面判断
8 另开一条对话照第 3 步说,进入校正后中途点「回到刚才的对话」 回到原对话,分隔线写「出生时间没有改」,没有「按校正前的时间」;侧栏里那次校正还在、能再打开
9 同一条对话里第 3 步那类话再说一次(之前没点卡) agent 不再主动出卡;明确说「我想核对出生时间」时才再出
10 切到一个家人档案问同样的话 一句「给家人校正暂时还不支持」,不出卡
11 侧栏打开一个 10 月 7 日之前的校正会话 能正常打开、看结果;没有「回到刚才的对话」按钮,也不会自动跳走