Files
Jyotisha/docs/tasks/PROGRESS-rectification-probe-pool-exhausted-exit-20260911.md
T
Jesse_ChenandCursor f870d3d757 fix(rectification): keep dated precision cards after empty dated discriminator pool (BUG-651)
Staging gate 2558 failed because leftover tests still expected D9/D10 or leftover collect after the pool emptied. Discriminate sessions still deliver; dated precision cards still ask.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 15:22:55 +08:00

3.7 KiB
Raw Blame History

进度 · 带年月选择题问完后必须交付结果(2026-09-11)

T0 回放(第六题答后)。在未改代码的 1fa994ea 上跑同一夹具:nextAction=ask_candidate_discriminatorsessionOutcome=discriminate_candidatesdecision.probe 是 D10 性格题 varga.d10.狮子座/处女座choiceKind=varga_styleyear=null),plan.next_followup 为空,persistServerOwnedFocus 返回 status=skipped。这就是「有决策、无载体」。修复后打印 t0_probe_pool_exhausted: nextAction=offer_provisional_rangesemantic_key=nullchoice_kind=nullpersist_status=skipped(空 followup)。同一事务落到交付旁白(含「如果还记得…范围还能再收一截」),can_adopt=true

范围

  • 分支:codex/rectification-probe-pool-exhausted-exit-20260911(基于 origin/staging @ 1fa994ea
  • BUG-651:带年月区分池空即交付;性格题不再挡在结果前面(本单按让步先不问性格题)
  • BUG-652:答题事务必须留下载体;时间线禁词「才会变」
  • 不改 MIN_ACCEPTANCE_*SCORE_DELTA、收敛门;不开 confirmation_allowedSkill 不升

完成

  • T0 回放测试
  • T1 决策层只认带年月探针
  • T2 让步:性格题完全不问;可选入口另开一单
  • T3 IfIdle 豁免撤回 + AfterChoice 空正文回落 + persist skip warn
  • T4 时间线文案
  • T5 BUG_HISTORY / CHANGELOG / 场景脚本

未做

  • T2 卡下「还可以再答两道参考题微调排序」入口

门禁跟进(Gitea 2558

已快进推 1fa994ea..035865d4backend-quality-gate run 2558SHA 035865d4validate 失败21 条前端 TAP 仍把 D9/D10 性格题、leftover 采集或占问当成带年月池空后的下一问。不是部署失败。Python test_shadbala_endpoint_returns_ranked_planet_strength 仍是既有环境缺口。

跟进:buildMethodFollowupPlan 在带年月池空时仍问带年月精筛卡;只有 sessionOutcome=discriminate_candidates 才把性格题 / leftover 采集 / 占问收成空,交给决策层交付。对应断言按原值/新值/原因改写。

验收

工作树内 frontend/node_modules 链到主仓。真机走查留给部署后按场景 0b。

命令 结果
cd frontend && npx tsc --noEmit 0 error
cd frontend && npm run lint 0 error / 119 warning(既有)
相关套件 tsx --test(门禁失败的 16 文件含 T0 290 pass / 0 fail
tsx --test tests/rectification-*.test.ts 1161 pass / 1 failrectification-ingest-p0-database.test.ts database migration failed(Docker 迁移,本单未改表;与既有环境缺口同类)
run_quality_gate.py --profile quick pytest 730 passed / 1 failed / 1 skippedtest_shadbala_endpoint_returns_ranked_planet_strengthtimezone inference dependency unavailable)。与 PROGRESS-rectification-latent-audit-20260910 同环境缺口,本单未改 Python
cd frontend && ./node_modules/.bin/next build --webpack 退出 0;默认 Turbopack 仍拒 worktree 外 node_modules 软链。/ Static。首页 JS gzip-9 567845 B / 18 chunks(近期同口径 occupation 单 572018 B,−0.73%

断言改写(原值 / 新值 / 原因):

  • dated distinguish empty and two unseparated candidates defers D9:原值 next 是 D9 varga_style;新值 D9 记 yearless_deferred、next 不再是性格卡。原因:BUG-651 带年月池空即交付。
  • open capability with empty dated probe pool delivers instead of collecting:原值 sessionOutcome=collect_evidence、公开 can_adopt=false;新值 adopt_representative、可出区间卡。原因:训练门开且无带年月探针不得再被剩余采集挡住。

Skill 10.0.23 未改。