Files
Jyotisha/docs/tasks/PROGRESS-rectification-probe-replay-loss-20260908.md
T
Jesse_ChenandCursor df182c16d6
Independent Staging Quality Gate / validate (push) Successful in 10m56s
Independent Staging Quality Gate / publish (push) Successful in 9m1s
fix(rectification): replay answered probes after evidence rescore (BUG-587, BUG-588)
Carry answered probe defs into the new candidate set, replay them by minute, and announce range changes on evidence turns.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 10:38:51 +08:00

3.4 KiB
Raw Blame History

PROGRESS · 新证据重算后已答题全部失效(2026-09-08)

工作树:.worktrees/rectification-probe-replay-loss-20260908 分支:codex/rectification-probe-replay-loss-20260908 任务书:docs/tasks/TASK-rectification-probe-replay-loss-20260908.md 基线:origin/staging @ fec316b3(代码头含 BUG-584/585 9d1c08ca、BUG-586 9aec5029

本单状态:待验收。未 commit、未 push。

未改:采用门、确认门、MIN_SEPARATION_LEAD_relative_supportminute_step=1 指纹、四选项合同、SCORE_DELTA、Skill 版本(仍 10.0.15)。

做了什么

  • 决策 1 buildInferenceStateprevious.probes 里已答题且本轮没有同 key 的定义带进新状态,标 carried: true。重放循环改查合并后的 probes
  • 决策 2 sameSet=false 时仍从答案账本重建 rounds(原循环)。applyProbeOutcome 不改;新分钟不在旧 supports/conflicts 里则 delta 0。
  • 决策 3 分盘生成 key 改为 vargaSignPartitionKeyvarga.d9.天秤座|天蝎座|射手座,不再内嵌分钟列表。缺星座时用 varga.d9.unsigned。已答旧 key 靠携带题命中。
  • 决策 4 agent-run 在本轮用过 rectification-compare-candidates 时,先 stripQuestionSentences 再接 withRangeChangedAfterEvidence
  • 决策 5 showSelectionCards 增加 !busy && caseSnapshotLoadedloadCaseSnapshot 把快照与消息合并放进同一次 startTransition。闪现未复现,BUG-589 写 investigating。

三栏(被触碰断言)

用例 原值 新值 理由
候选集换 2 分钟后 rounds.length 0(找不到题定义) 5 决策 1 携带已答题
连续两次重算 posterior 全员 === prior 7 个未变分钟保持原 delta,2 个新分钟 0 决策 2
生成侧 D9 semantic_key varga.d9.04:50|…/04:57 varga.d9.天秤座|天蝎座|射手座 决策 3
证据轮旁白范围变化 范围从 04:5004:57 变为 04:4705:15。 决策 4
showSelectionCards 不看 busy / 快照 !busy && caseSnapshotLoaded 决策 5P3 未复现

测试

  • frontend ./node_modules/.bin/tsc --noEmitexit 0
  • 本单改动文件 eslint0 errorrectification-agentic-chat.tsx 两处既有 hooks warning
  • 任务书指定 TS 切片(tests/rectification-*.test.ts + agent-voice-copy-contract.test.ts,排除 database):1000 passed / 0 failed
  • .venv/bin/python -m pytest tests/test_rectification_v5_services.py -q:其余绿;test_block_scan_seven_events_finishes_within_fifteen_seconds 本机 63.4s > 15s。这是既有壁钟门(BUG-570 P2),与 asked_probe_keys / 本单无关,记环境缺口
  • Docker database-rectification-*.test.ts:本机未跑,记 blocked
  • 浏览器真人走查:无登录态,见 docs/testing/rectification-scenarios-20260907.md §8

偏离

  1. 验收形状写在新建 frontend/tests/rectification-probe-replay-loss-20260908.test.ts,没有只扩 rectification-inference-machine.test.ts / rectification-stale-compare-fix-20260907.test.ts
  2. 分盘分区用中文星座名(天秤座)而不是任务书例子里的 libra,与现有 window_scan.transitions / 类型表一致;验收只要求不含 \d\d:\d\d 且同分区稳定。
  3. 决策 3 当天做了,没有后置为 P2。
  4. P3 闪现未复现,只加守卫,BUG-589 保持 investigating。