fix(rectification): let a tied plateau be adopted as the session result
Adjacent minutes still cannot confirm a unique birth minute. A scored representative time can now be accepted, and the copy must say the minute is not unique. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4426,3 +4426,35 @@
|
||||
- 相关记录:BUG-284、BUG-285、BUG-286、BUG-287
|
||||
- 复发自:无
|
||||
- 修复版本:待提交
|
||||
|
||||
## BUG-296 | 生时校正确认门三层失败原因未投影给 Agent
|
||||
|
||||
- 状态:resolved
|
||||
- 首次发现:2026-08-19
|
||||
- 最近更新:2026-08-19
|
||||
- 影响面:`latest_result.confirmation_gate`、`rectification-confirm-birth-time`、Skill `jyotish-birth-time-rectification@10.0.3`
|
||||
- 用户现象:相邻分钟分不开、VedAstro 官方分钟敏感校验未跑通、公开 AA holdout 未达门槛时,Agent 仍可能把代表性候选说成唯一出生分钟,或去追更细确认。
|
||||
- 触发条件:引擎 `confirmation_allowed` 恒为 false,`external_validation_status=not_evaluated`;v5 平台宽度大于 5;密封 holdout 有效例数低于 20。
|
||||
- 根因:确认门只把 `confirmation_allowed=false` 交给 Agent,没有结构化写出 VedAstro / 不可分区间 / holdout 三层 blocker。`not_evaluated` 容易被说成 fail;holdout 未就绪时也没有禁止放宽确认门的服务器字段。
|
||||
- 修复:`latest_result` 增加只读 `confirmation_gate`。VedAstro 保持 `not_evaluated`(不是 fail);宽度大于 5 时不可分层为 `blocked`;holdout 为 `not_ready`(密封 v2 聚合,不含个案身份)。任一 blocker 未通过则投影 `confirmation_allowed=false`,confirm 工具返回 `confirmation_blocked`。v5 打分器与确认门阈值不改。用户仍可 accepted 代表性候选。
|
||||
- 验证:`frontend/tests/rectification-confirmation-gate.test.ts`:窄宽度且引擎允许时仍因 VedAstro/holdout 禁止确认;25 分钟平台仍禁止;confirm 不调用写入 RPC;投影不含精确分钟宣传或个案身份。
|
||||
- 防复发:不得把 `not_evaluated` 写成 fail;不得为凑门槛编造 holdout;不得把 `confirmation_allowed` 改成 true;公开工具仍为 13 个。
|
||||
- 相关记录:BUG-064、BUG-290、BUG-294
|
||||
- 复发自:无
|
||||
- 修复版本:待提交
|
||||
|
||||
## BUG-297 | 并列分钟把采用代表性时间当成失败而不是本次校正结果
|
||||
|
||||
- 状态:resolved
|
||||
- 首次发现:2026-08-19
|
||||
- 最近更新:2026-08-19
|
||||
- 影响面:`decision_policy.py` 采用门、`session_outcome`、`method_followup_plan`、Skill `jyotish-birth-time-rectification@10.0.3`、候选卡文案
|
||||
- 用户现象:相邻分钟分不开时,用户这次校正没有可用结果;Agent 继续追问感情/事业/家人,而不是给出可采用的代表性时间。确认唯一分钟本来就不该通过。
|
||||
- 触发条件:至少 3 件可评分事件、至少 2 个领域,但 top 候选 `tied_minute_count` > 1(例如约 25 分钟平台)。确认门三层 blocker 仍未通过。
|
||||
- 根因:`acceptance_allowed` 把 `unique_top` 与诊断稳定性并进采用门,并列分钟直接关掉 `selection_allowed`,候选卡不出现。推荐徽标还要求 `confirmationAllowed`。`method_followup_plan.next_followup` 在已有可采用结果时仍要求继续补证据。
|
||||
- 修复:并列分钟与诊断稳定性只写入 `confirmation_reasons`,不再关闭采用。`latest_result.session_outcome=adopt_representative` 时本轮结果是采用代表性时间;`next_followup` 置空,方法追问进入 `deferred_followup`。确认门保持 fail-closed。正文与采用后文案写明还不能确认唯一分钟。不自动进入 `candidate_ready`。
|
||||
- 验证:`tests/test_rectification_v5_services.py` 单领域仍禁止采用,双领域并列分钟允许采用但禁止确认;`frontend/tests/rectification-eight-method.test.ts` 平台结果 `next_followup=null` 且 `session_outcome=adopt_representative`;`frontend/tests/rectification-confirmation-gate.test.ts` 锁定该 outcome;推荐徽标不再要求确认门。
|
||||
- 防复发:不得把 `confirmation_allowed` 改成 true;不得用采用冒充唯一分钟确认;不得在 `adopt_representative` 当轮再问 `next_followup`;重算后仍不得自动 `candidate_ready`。公开工具仍为 13 个。
|
||||
- 相关记录:BUG-120、BUG-292、BUG-294、BUG-296
|
||||
- 复发自:无
|
||||
- 修复版本:待提交
|
||||
|
||||
Reference in New Issue
Block a user