fix(consult): plain wrapping for answer prose; stop reading the analysis checklist aloud
BUG-1252: answer prose drops text-wrap: pretty. WebKit (every iPhone browser)
applies it to the whole paragraph, so lines came out evenly short with a blank
strip on the right and every streamed character re-broke the lines above.
BUG-1253: the condensed checklists and shared reading open with an
analysis-only note; PLAIN_SPEECH_RULE (one definition) tells the writer not to
quote layer names, signal counts, rules or house-counting, caps evidence in
brackets at two, and gives everyday words for card fields with no Chinese name
(no coined names like 合力星). Marriage layers become everyday wording; career,
wealth and health say not to announce layers.
Full suite 4966 / fail 24, identical to baseline d2c22ca2 (4962 / 24); build
keeps / Static; first-load gzip unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d2c22ca206
commit
171a3f25ac
@@ -0,0 +1,34 @@
|
||||
# PROGRESS:回答铺满一行、输出不抖、不念分析清单 — 2026-10-06
|
||||
|
||||
产品看真机截图后要求直接执行(无任务书,诊断见本记录与 BUG-1252 / BUG-1253)。基线 `origin/staging` `d2c22ca2`,分支 `codex/consult-readable-20261006`,Claude 实现并自验。
|
||||
|
||||
## 做了什么
|
||||
|
||||
| 项 | 改动 |
|
||||
| --- | --- |
|
||||
| BUG-1252 | `globals.css`:`.message p, .message-markdown` 去掉 `text-wrap: pretty`、`word-break: auto-phrase`。首次引导气泡的 `.onboarding-message .message-markdown p` 规则保留(短句、有词组保护逻辑,不在本次范围) |
|
||||
| BUG-1253 | `consultation-thinking-plan.ts` 新增 `CHECKLIST_ANALYSIS_ONLY_NOTE`、`PLAIN_SPEECH_RULE`,进首轮正文指令、追问指令、`product-voice.ts` ANSWER SHAPE 与英文形状摘要;`natalSpokenReportContract` 的 Never 加一条不复述清单;`AFFLICTION_RANGE_RULE` 括号改为一两条白话 |
|
||||
| BUG-1253 | `consultation-condensed-checklist.ts`:通用读法与每份领域清单开头一行用途说明;婚恋「冻结判定对象」与三层改生活说法;事业、财运、健康三层注明不报层名(健康「压力窗 / 恢复窗」改为「压力集中的时段 / 恢复得好的时段」) |
|
||||
|
||||
## 断言三栏
|
||||
|
||||
| 位置 | 原值 | 新值 | 原因 |
|
||||
| --- | --- | --- | --- |
|
||||
| `consult-affliction-reading-20261001` T1 | 通用读法以「1. 先看受冲」开头 | 先是用途说明一行,再「1. 先看受冲」 | BUG-1253 |
|
||||
| `consult-gender-card-20260927` | 清单行数 = 条数 | 条数 + 1 | 同上 |
|
||||
| `consult-condensed-checklist-20260927` | 婚恋必含「心动接触 / 关系成对 / 社会法律落地」 | 必含三件事的生活说法与「不报层名和编号」 | 同上 |
|
||||
| `consult-no-presupposition-20261001` | 受冲规则「括号里写是哪几条」 | 「括号里只写最能说明问题的一两条,用白话,不列全」 | 同上 |
|
||||
|
||||
## 验证(Linux + Node 22.14)
|
||||
|
||||
| 项 | 基线 d2c22ca2 | 本分支 |
|
||||
| --- | --- | --- |
|
||||
| `tsc --noEmit` | — | 0 错 |
|
||||
| `npm run lint` | — | 0 error / 126 warning |
|
||||
| `npm test` | 4962 项 / fail 24 | 4966 项 / fail 24,失败名单逐条一致(无 Docker 的数据库 / 部署类) |
|
||||
| `next build` | `/` ○ Static,首屏 gzip 567,175 B | `/` ○ Static,567,175 B |
|
||||
|
||||
## 环境缺口
|
||||
|
||||
- WebKit:本机 Playwright WebKit 缺 `libevent` 等系统库起不来,没有在 WebKit 内亲眼复现与复核;Chrome 按手机宽度渲染确认容器占满整行。真机清单第 1、2、7 步。
|
||||
- 模型:无模型凭据,新提示词没有真跑;真机清单第 3~6 步。
|
||||
@@ -426,3 +426,4 @@
|
||||
| `TASK-rectification-delivery-dup-adopt-20261006.md` | `PROGRESS-rectification-delivery-dup-adopt-20261006.md` | **校正交付一次两段回答 + 点「改用…盘解读」被拒 `adoption_not_allowed`**(10-06 真机):收尾补位按文字子串防重,遇采用旁白 Agent 改写版失效(BUG-1153 复发);accept/GET 调 `decideFromDossier` 不带出生日期,未成年探针复活致判定与出卡时相反(BUG-598/680 同族);卡片按钮不看公开 can_adopt、拒绝码直出英文。不放宽采用门,判定入参统一 + 结构防重 + 按钮判据 + 中文提示(BUG-1241~1243) | **已验收,待推 staging**(Claude 10-06:首版 `b977f482` 验收 T1/T3 过、T2 未过;修复单 F1 由 Claude 直接执行——防重改为「上一条包含交付句」,真实答题路径测试修前红修后绿;F2 疑似 BUG-1246 复核不成立已撤回、留守护测试。全量 npm 失败名与基线逐名相同、tsc 0、lint 0 error;PG17 重放未做,见 PROGRESS) | 分支 `codex/rectification-delivery-dup-adopt-20261006`;修复单 `TASK-rectification-delivery-dup-adopt-fix-20261006.md` |
|
||||
| `TASK-consult-conversational-answer-20261006.md` | `PROGRESS-consult-conversational-answer-20261006.md` | **普通对话首轮去汇报骨架,改成聊天**(10-06 产品反馈「像机器在汇报」):首轮取消全部 `##`(三个固定节 + 按对象标题,多人改分段落点名)、行动不强制(盘上有具体指向才顺口一句,问「怎么办」再展开)、首轮三到六段;示范删可抄的行动句(实测被逐字照抄);思考栏去「这周可以做什么」。推翻 10-01 D2 与 D8 首轮部分(BUG-1244~1245) | 已验收 | 28113fa0 验收未过 → 修复单 `TASK-consult-conversational-answer-fix-20261006.md` 由 Claude 直接执行(含去掉助手头像),复验通过后推 staging;真机清单 10 步待产品 |
|
||||
| `TASK-rectification-in-chat-step1-20261006.md` | `PROGRESS-rectification-in-chat-step1-20261006.md` | **生时校正并入聊天 · 第一步**:删首页「生时校正」按钮与文字口令;普通对话里用户说不准时由 agent 分清读法 / 时间问题,时间问题出提议卡(本人、开关、价格服务端校验,同会话最多主动提一次);点卡带来源打开校正;采用 / 未采用 / 手动返回都回到原对话,分隔线 + 旧回答标「按校正前的时间」+ 点了才发的「按新时间重新看」;模型历史标注旧时间。须等 dup-adopt 单合入后开工;第二步(卡片嵌进同一对话)另立单(BUG-1247~1251) | 待领取 | — |
|
||||
| —(直接执行,无任务书) | `PROGRESS-consult-readable-20261006.md` | **回答铺满一行、输出不抖、不念分析清单**(10-06 真机截图):答案正文去 `text-wrap: pretty`(WebKit 整段等长 + 逐字重排,BUG-1252);清单开头写明只用于分析、婚恋三层改生活说法、字段白话对照、括号最多两条(BUG-1253) | 已验收 | Claude 直接执行;真机清单 `docs/testing/consult-readable-20261006.md` 待产品 |
|
||||
|
||||
Reference in New Issue
Block a user