feat(rectification): 删掉年月录入卡,年月阶段打字回答且不被追问覆盖
Independent Staging Quality Gate / validate (push) Successful in 10m1s
Independent Staging Quality Gate / publish (push) Successful in 36m54s

This commit is contained in:
jesse-ux
2026-09-16 23:22:32 +08:00
parent abcfdac523
commit 6aabbe386f
49 changed files with 1035 additions and 431 deletions
@@ -0,0 +1,33 @@
# 进度 · 删掉录入卡 + 年月阶段焦点被模型追问覆盖(2026-09-16)
基线:`origin/staging` @ `abcfdac5`(任务书含产品追加拍板)。
分支:`codex/rectification-year-focus-overlay-20260916`
BUG:908~911(任务书预留;仓库最大号当时是 753,906/907 给控制台噪音单)。
Skill10.0.29sha256 `750a0d58c6731c0dbdeb5c785cea1bf8a3f73aaf94a560a86397805b7037724c`
## 做了什么
- **T0**:删除 `event-date-entry-card.tsx` / `event-date-picker.tsx``.rectification-event-entry*` CSS。`event_date_entry` 不再写入 schema。年月题号保留,题干「大概哪年几月?」,用户打字答。选项 A「有,我来说」。`git grep` `event_date_entry|EventDateEntryCard|EventDatePicker|rectification-event-entry``frontend/src` **0 命中**
- **T1 / BUG-908**`withSpokenPrompt` 以题号 `stage === "year"` 只写 `spoken_prompt``projectCurrentQuestion` 年月阶段只用服务器 `prompt`。hint 与 Skill 禁止追问本人。
- **T2 / BUG-909**:回放定两条都要修。(a) persist 的年月焦点已是 `isCollectFocusSchema`,但 resolve 仍按题号前缀补一层;(b) `pendingTargetedYearDomain` 把已覆盖领域算 yearClosed`health``health_pressure`)。`resolveActiveCollectFocusAfterEvidence` 给 batch 与 propose 共用。
- **T3 / BUG-910**host 前置接无年月短句,不进模型、不扣点。完整 8 步循环未做成 live agent 回放,前置作为防御;失败轮不 resolve 焦点。状态仍记 `resolved`(用户可见路径已接住)。
- **T4 / BUG-911**:独立问题块 `is-standalone` 与助手正文共用 `--assistant-content-inset`
- **T5**BUG_HISTORY / CHANGELOG / DESIGN / VOICE / 真机清单 / 本进度。
## 测试
| 项 | 结果 |
| --- | --- |
| `tsc --noEmit` | 0 错 |
| 改动文件 `eslint` | **0 error** / 34 warning(全是既有 unused / hooks |
| `Home()` growth | useState / useRef / 行数护栏全绿 |
| overlay + guided + 先前红的 Skill 版本合同 | **50 passed / 0 fail** |
| `rectification-*.test.ts` + skill-registry + home-shellconcurrency=1 | 1330 条:修完 Skill 正文 `version:` 断言后,内容失败为 0。剩 **5 条 Windows EPERM symlink**skill-registry 4 + `rectification-v9-agent.test.ts` 导入时建 runtime alias),Linux CI 不受影响。hash / 版本解析合同已绿。 |
| 全量 `npm test` / `npm run lint` | 本机并发 OOM,未拿全量数字。失败清单里与本单相关的 Skill `10.0.28` 正文断言已改到 `10.0.29`(原值/新值/原因写在测试旁)。 |
| `next build` | worktree 的 `node_modules` 是指向主检出的 junctionTurbopack 拒收;webpack 编译 + tsc 通过,收集 `/api/consult` 页数据时同样 EPERM symlink。**`/` Static 与首屏 gzip 留给 Gitea 门禁**。删除两张录入卡,gzip 只应降不应升。 |
| Python | 未改,不跑快速门。 |
## 环境缺口
- Windows 无管理员/开发者模式 symlink:`skill-registry` 与 Skill runtime alias。Gitea 跑 Linux。
- 真机清单:`docs/testing/rectification-year-focus-overlay-20260916.md`
+1 -1
View File
@@ -101,7 +101,7 @@
| `TASK-rectification-superseded-focus-duplicate-20260910.md` | `PROGRESS-rectification-superseded-focus-duplicate-20260910.md` | P0:一轮两次 batch 让感情采集题被顶替成 superseded 行;题号唯一约束含已结束行、汇总只聚合 declined/skipped,计划层看不见→撞号 `duplicate_focus` 被当「已问过」→出口误走交付旁白无卡(BUG-644);交付口吻与 `can_adopt=false` 矛盾(BUG-645) | 待验收(环境缺口:`next build` / 真人走查) | `a3a51c32`BUG-644/645 |
| `TASK-rectification-exhausted-gate-exit-20260910.md` | `PROGRESS-rectification-exhausted-gate-exit-20260910.md` | 五领域全拒答 + 三件带月经历:门槛句后无载体、客户端误报「没有拿到下一个问题」并循环「接着问」(BUG-646);第三件被留作 holdout 导致永远没有选择题(BUG-647)。含产品建议:一次性开放追问 + 终态标记 + 穷尽后释放 holdout | 已被取代(并入采集重设计单) | — |
| `TASK-rectification-collection-redesign-20260910.md` | `PROGRESS-rectification-collection-redesign-20260910.md` | 产品口径:用户先说、系统从已说的事锚定追问、不得用生日推年份、不得说「领域」、永远交付结果。无固定题数:收集问题池按信息价值排序问到训练门开;选择题问到收敛门开或增益见底;门关不出结果只出精确缺口句并保持开放;≥4 件才留 holdout;撤回 BUG-642 年份线索、BUG-646 单终态与「暂定采用」;Skill 10.0.23BUG-646648 | 待验收 | `dd8f35f7` |
| `TASK-rectification-year-focus-overlay-20260916.md` | `PROGRESS-rectification-year-focus-overlay-20260916.md` | 真机:定向健康题选 A 后打字给年月,助手追问「是你本人做的吗」,追问句下面挂着录入卡(`set-focus` 同号覆盖年月焦点题干、`event_date_entry` 仍在,BUG-908);事件入账后年月焦点没关(BUG-909,回放定 resolve 还是计划层);答短句撞「本轮达到步骤上限」(BUG-910,host 前置接无年月短句,先 investigating);persisted 问题块无 `--assistant-content-inset`(BUG-911)。**产品追加拍板:「哪一类事 + 发生年月」录入卡整个删掉,年月阶段直接打字(推翻 precision-gate 单 T3 与 SKILL.md:84**。主体默认本人不追问,Skill 10.0.29 | 待领取 | |
| `TASK-rectification-year-focus-overlay-20260916.md` | `PROGRESS-rectification-year-focus-overlay-20260916.md` | 真机:定向健康题选 A 后打字给年月,助手追问「是你本人做的吗」,追问句下面挂着录入卡(`set-focus` 同号覆盖年月焦点题干、`event_date_entry` 仍在,BUG-908);事件入账后年月焦点没关(BUG-909,回放定 resolve 还是计划层);答短句撞「本轮达到步骤上限」(BUG-910,host 前置接无年月短句,先 investigating);persisted 问题块无 `--assistant-content-inset`(BUG-911)。**产品追加拍板:「哪一类事 + 发生年月」录入卡整个删掉,年月阶段直接打字(推翻 precision-gate 单 T3 与 SKILL.md:84**。主体默认本人不追问,Skill 10.0.29 | 待验收 | `codex/rectification-year-focus-overlay-20260916` |
### 聊天主链路与首页