fix(rectification): read credible_range as the still-valid union
Write and read used different range definitions at the same lead of 8, so a real separation always fail-closed the candidate projection. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6413,6 +6413,22 @@
|
||||
- 复发自:BUG-403(动态四选项合同未贯穿丢题原因)
|
||||
- 修复版本:待发布
|
||||
|
||||
## BUG-423 | 写盘 still-valid 区间与读盘全体跨度不一致,区分永远收不了口
|
||||
|
||||
- 状态:resolved
|
||||
- 首次发现:2026-08-28
|
||||
- 最近更新:2026-08-28
|
||||
- 影响面:`authoritativeCandidateProjection`、GET/工具候选投影、`decideFromDossier` 的 `candidateScores`
|
||||
- 用户现象:区分环节答再多题也走不到 `ask_holdout_validation` 或 `ready_to_adopt`,最后落到 `offer_provisional_range` 且 `representative_time` 为 null。第一次打分、两候选 58/42 时投影就已经是空列表。
|
||||
- 触发条件:receipt 由 `buildInferenceState` 写入 `unionStillValidRange`(落后峰值 ≥ 8 的候选不进区间),读盘却要求 `credible_range` 等于全体 active 跨度。lead ≥ 8 时两者必然分叉。
|
||||
- 根因:写盘口径是 still-valid 并集,读盘校验口径是全体 active 跨度,阈值同为 `MIN_SEPARATION_LEAD = 8`,构成闭环死锁。`consistent = false` 清空 `scores`,`evaluateCandidateSeparation` 判不出已拉开。既有 fixture 把分差写成 < 8 或手写宽 range 冒充生产者输出,所以测试红不了。
|
||||
- 修复:`receiptRangeMatches` 改与 `unionStillValidRange(inference.candidates)` 比对,投影对外的 `credibleRange` 返回该 still-valid 并集。每个 active `cluster_range` 落在全体跨度内的包含性校验保留。没有 `inference_state`、坏 candidate set、或窗口外/颠倒的 range 仍 fail-closed。不改阈值、不改确认门、不改 Skill。
|
||||
- 验证:`rectification-credible-range-projection` 用 `buildInferenceState` / `buildCaseInferenceState` 锁定 58/42、50/30/20、单候选、无 inference;58/42 决策层 `separation.sufficient` 且 `ask_holdout_validation` 或 `ready_to_adopt`,`canConfirmExactMinute === false`。`rectification-eight-method` 把「窄 range 当损坏」改为窗口外 `["04:00","04:10"]`。`rectification-decision-authority` 的损坏 range 同样改为窗口外或首尾颠倒。
|
||||
- 防复发:不得让写盘与读盘对 `credible_range` 使用不同口径。不得用手写 `credible_range` 字面量的 fixture 覆盖这条生产者路径。不得把 `consistent = false` 改成 fail-open。不得用改 `MIN_SEPARATION_LEAD` 绕过死锁。
|
||||
- 相关记录:BUG-403、BUG-421
|
||||
- 复发自:BUG-403(候选卡、代表时间、可信区间必须共享 inference 投影,但读写口径未钉成同一函数)
|
||||
- 修复版本:待发布
|
||||
|
||||
## BUG-410 | 训练已齐仍因家人/职业方法层停在采集,Agent 只确认后截断
|
||||
|
||||
- 状态:resolved
|
||||
|
||||
Reference in New Issue
Block a user