docs(tasks): accept ca4e2408 (BUG-550); record assertion changes and blocked staging deploy
This commit is contained in:
@@ -40,3 +40,42 @@
|
||||
开工对照 BUG-549 进度记录为 898 项。本单新增决策层与端到端用例后为 904。
|
||||
|
||||
未做浏览器真人走查。清单:`docs/testing/rectification-collect-vs-offer-consistency-20260905.md`。旧会话在部署前仍可能先出卡再被采集题挤掉。
|
||||
|
||||
## 验收(Claude,2026-09-05,基于 `origin/staging` @ `3b410c14`)
|
||||
|
||||
| 项 | 结论 |
|
||||
| --- | --- |
|
||||
| 5.1 决策层(两处 `datedMethodCollectOpen` 叠加 + sufficient 分支 `accepted` 之后、确认门之前的 collect 出口) | 通过;`exhausted` 在上一分支已返回,省略该条件成立 |
|
||||
| 5.1 单测(分离 + 采集开 → collect;`userStopped` → 原停止出口;`accepted` → adopt) | 通过 |
|
||||
| 5.2 端到端(家人拒、财务未问 → 采集 + 持久化财务;补齐 → adopt 且无追问;offer 工具 `offer_not_allowed`) | 通过 |
|
||||
| 5.3 记录(BUG-550、CHANGELOG、进度、真人清单) | 通过 |
|
||||
| 红线:BUG-544 / 546 / 547 / 549、accepted、userStopped / exhausted 出口 | 通过(对应用例原样通过,未改客户端 / offer 描述 / Skill / 引擎) |
|
||||
| 测试 `tests/rectification-*.test.ts` + `agent-voice-copy-contract` | 904 项 / fail 0(基线 `1052a027` 898 项) |
|
||||
| `tsc --noEmit` / `npm run lint` | 0 错 / 0 error(73 warning 与基线同) |
|
||||
| staging 部署 | **未部署**:`/api/health` 仍为 `afd14948`;`deploy-staging` #1109 / #1112 / #1114 / #1115 全部失败,`migrate-staging-database` #1110 也失败——`bab07187` 带迁移 `5010000_personal_report_longform_appendices.sql`,`run-staging-deploy.sh` 检出待迁移即拒绝。日志需登录 Gitea 查看(环境缺口) |
|
||||
|
||||
### 既有断言变更(原值 / 新值 / 原因)
|
||||
|
||||
执行方在测试里用「旧 / 新」注释说明了大部分改动,此表补齐要求的三栏;原因统一为决策记录 1「剩余带年份采集(学业 / 财务 / 搬家 / 健康 / 职业口述)未问完不判可采用」,夹具未补齐这些域时决策从出牌改为采集。
|
||||
|
||||
| 文件 · 用例 | 原值 | 新值 |
|
||||
| --- | --- | --- |
|
||||
| `rectification-adopt-narration-20260904` · fourteen-probe case | `offer_provisional_range` / `adopt_representative` / `ready_to_adopt` | `ask_fact_collection` / `collect_evidence` / `collect_events` |
|
||||
| 同文件 · adoptDeliveryFacts、three adopt entry points、diagnostics、times out | `caseDossier()` | `caseDossier({ declinedTopics: EXHAUSTED_COLLECT_TOPICS })`(夹具补拒答,断言不变) |
|
||||
| `rectification-adopt-flow-fix-20260903` · collect-phase nonterminal exit | 仅家人拒答 | 家人 + 学业 / 财务 / 搬家 / 健康 / 职业拒答(夹具补齐,断言不变) |
|
||||
| `rectification-answer-choice` · adoptionDossier / nonterminal exit satisfied / persistNextInterviewIfIdle once | 仅家人 skipped | 补学业 / 财务 / 搬家 / 健康(/ 职业)拒答(夹具补齐,断言不变) |
|
||||
| `rectification-collect-stall` · separated scores with uncovered relatives | `notEqual ask_fact_collection` | `equal ask_fact_collection` + `collect_evidence` |
|
||||
| 同文件 · covering / declining family and occupation still opens adopt | `notEqual ask_fact_collection` 且 ∈ {holdout, ready_to_adopt, offer_provisional_range} | `equal ask_fact_collection` + `collect_evidence`(用例名已与内容相反,见 P3) |
|
||||
| `rectification-coverage-collect` · offers a range with adopt when training is complete | `canOfferRange true` / `canAdopt true` | `canOfferRange false` / `collect_evidence` / `ask_fact_collection` |
|
||||
| `rectification-provisional-adopt` · incident 1a | `can_adopt true` / `selection_allowed true` / 区间与代表时间 | `can_adopt false` / `session_outcome collect_evidence` |
|
||||
| 同文件 · incident 1b | `can_adopt true` / `selection_allowed true` | `can_adopt false` / `collect_evidence` |
|
||||
| 同文件 · incident 1c | `canRender… true` | `false` |
|
||||
| 同文件 · incident 4 | `adopt_representative` / `offer_provisional_range` | `collect_evidence` / `ask_fact_collection` |
|
||||
| 同文件 · delivery B1 | `canRenderRectificationSelectionCards true` | `false` |
|
||||
| 同文件 · delivery B2 | `plan.session_outcome adopt_representative`、`action.id adopt_representative` | `collect_evidence`、`ask_method_followup` |
|
||||
| `rectification-range-offer-deadend` · live remaining probes with zero active split | `offer_provisional_range` | `ask_fact_collection` + `collect_evidence` |
|
||||
|
||||
### 遗留(不阻塞验收)
|
||||
|
||||
- P3:`collect-stall`「still opens adopt」两条、`coverage-collect`「offers a range with adopt」、`provisional-adopt` incident 1a、`range-offer-deadend`「open provisional adopt」的用例名与新断言相反,下次触碰这些文件时顺手改名。
|
||||
- 真人清单 `docs/testing/rectification-collect-vs-offer-consistency-20260905.md` 待部署后执行;部署前提是先跑通 `Migrate Staging Database`。
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
| — | `PROGRESS-rectification-family-collect-continue-20260905.md` | 家人答「没有」后直接给结果,未继续收能区分分钟的经历 | 已由 cd704a92 修正并验收通过 | `codex/rectification-quality-probe-dedupe-20260904`(BUG-546) |
|
||||
| `TASK-rectification-family-collect-continue-fix-20260905.md` | `PROGRESS-rectification-family-collect-continue-20260905.md` | `998406ce` 修复单:家人之后的 dated 补采集无条件抢在现成区分卡之前(choice-card A/B 卡用例回归),另两条顺序断言缺三栏说明 | 已验收通过(浏览器走查欠) | `cd704a92`(BUG-547) |
|
||||
| `TASK-rectification-probe-answer-covers-domain-20260905.md` | `PROGRESS-rectification-probe-answer-covers-domain-20260905.md` | 区分卡答 A/B 后紧接着又问同领域"哪年…"采集题:点选答案只进推断层不写账本,计划层领域覆盖只看账本;改为 yes/weak_yes 视为该领域采集已覆盖(不写账本、不动门) | 待验收 | `988d97ae`(BUG-549) |
|
||||
| `TASK-rectification-collect-vs-offer-consistency-20260905.md` | `PROGRESS-rectification-collect-vs-offer-consistency-20260905.md` | 带年份采集没问完就出采用卡 + 报告,同一轮又被搬家采集题把卡挤掉:决策层判 `adopt_representative` 而计划层仍有 dated 采集(BUG-546 只修了一半);改为剩余采集未完保持 `collect_evidence`,出牌轮才出卡写报告 | 待验收 | `codex/rectification-collect-vs-offer-consistency-20260905`(BUG-550) |
|
||||
| `TASK-rectification-collect-vs-offer-consistency-20260905.md` | `PROGRESS-rectification-collect-vs-offer-consistency-20260905.md` | 带年份采集没问完就出采用卡 + 报告,同一轮又被搬家采集题把卡挤掉:决策层判 `adopt_representative` 而计划层仍有 dated 采集(BUG-546 只修了一半);改为剩余采集未完保持 `collect_evidence`,出牌轮才出卡写报告 | 已验收通过 `ca4e2408`(2026-09-05;staging 部署仍停在 `afd14948`,`deploy-staging` 自 `c295b853` 起连续失败,先解决 `bab07187` 的待迁移) | `codex/rectification-collect-vs-offer-consistency-20260905`(BUG-550) |
|
||||
| `TASK-api-not-configured-mislabel-20260904.md` | — | 16 处路由把数据库瞬断(部署切换窗口)兜底翻译成 503「服务尚未配置」;改为仅配置错误用该文案,其余 `service_unavailable`,收敛为共享 helper | 待执行 | `codex/api-not-configured-mislabel-20260904`(BUG-542 起) |
|
||||
| `TASK-rectification-ux-20260902.md` | `PROGRESS-rectification-ux-20260903.md` | 会话面空白假死与交互摩擦 | 已验收 | `d159f08e`(09-03 在新基线重做后合入,BUG-505~509) |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user