Files
Jyotisha/docs/tasks/PROGRESS-rectification-skipped-health-deadend-20260909.md
T
Jesse_ChenandCursor d96b24c276
Independent Staging Quality Gate / validate (push) Successful in 12m11s
Independent Staging Quality Gate / publish (push) Successful in 7m54s
fix(rectification): keep skipped health out of holdout and repair empty exits (BUG-626, BUG-627)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 11:59:47 +08:00

2.6 KiB
Raw Blame History

PROGRESS · 跳过健康后 holdout 断流 + 出口闸门(2026-09-09

工作树:.worktrees/rectification-skipped-health-deadend-20260909 分支:codex/rectification-skipped-health-deadend-20260909 任务书:docs/tasks/TASK-rectification-skipped-health-deadend-20260909.md 基线:开工时 origin/staging @ 4eea9c10

开工回执

  • 目标:BUG-626 跳过的健康线不再进 holdout,duplicate_focus 必须留下可见载体;BUG-627 出口闸门不再把穷尽当成已交付;缺口按钮改为服务端修复。
  • 编号:BUG-628 已被「没有 / 记不清」按钮占用,本单只用 626/627。
  • 决策 1 在基线里已有 declinedHealth 特判;本单改成与 occupied 一样把两个别名写入 blocked 集合,并补 skipped health 回归。

已完成

  • 4.1 / BUG-626holdoutFollowupFordeclinedForHoldoutduplicate_focusrectification_focus_duplicate 并走 persistExhaustionCollect;穷尽旁白为空时用 noCandidatesGatepersistExhaustionCollect 只在 duplicate_focus 时落到门槛句,其它 persist 失败仍返回采集旁白,避免证据轮被误标 terminalNote 而不裁句。
  • 4.2 / BUG-627inspectNonTerminalTurnExit.satisfied 去掉 exhausted,改认活动问题 / 采用 / 确认 / terminalNote host turn / publicCanAdopt。无载体时写出门槛 host turn。idle catch 仍调 ensureNonTerminalTurnExit
  • 4.3POST /api/rectification/cases/[caseId]/repair-exit;按钮「接着问」;两次仍无载体显示「暂时接不上,请新建一次校正。」
  • 4.4BUG-626 / 627、CHANGELOG、本文件、走查第 12 条。

验收命令

frontend/

  • ./node_modules/.bin/tsc --noEmit:通过
  • npm run lint0 error(既有 107 warning
  • 定向 tsx --test
    • rectification-skipped-health-deadend-20260909.test.ts
    • rectification-collect-direction-20260904.test.ts
    • rectification-exhaustion-exit-20260906.test.ts
    • rectification-surface-contract.test.ts
    • rectification-agentic-entry.test.ts
    • rectification-spoken-collect.test.ts
    • rectification-collect-stall.test.ts195 / 195 通过(含 rectification-v9-stream.test.tsrectification-answer-choice.test.ts
  • 全量 tests/rectification-*.test.ts(排除 database):1067 / 1067 通过
  • 相关补充:rectification-server-focus.test.tsrectification-decision-authority.test.tsrectification-covered-domain-recollect-20260908.test.ts39 / 39 通过

本单状态:待验收。未改 Skill 版本、未改采用/确认门、未新增迁移。