第 2 批:snapshot 统一 fail-closed,禁止打回采集 #40

Closed
opened 2026-08-28 17:34:36 +08:00 by jesse · 1 comment
Owner

Part of #38

Blocked by: #39

范围

decision-from-dossier.tssnapshot-source.tsrectification-decision.ts

  1. 两处 snapshotCurrent 都走 candidateSnapshotSource + scoreableSnapshotIsCurrent
  2. 指纹缺失判 stale(fingerprint_missing),禁止 fail-open。
  3. snapshotCurrent === false 不得把已进入 discrimination 的 case 打回 event_collection。保持当前 phase,要求 rescore,receipt 写 stale_reason

只改比较、不改倒退规则,倒退会更频繁。

验收

  • 同一输入两处 snapshotCurrent 结果相同。
  • 指纹缺失 → stale,不判 current。
  • 已在 discrimination 时 snapshot stale 不得变成 ask_fact_collection
Part of #38 Blocked by: #39 ## 范围 `decision-from-dossier.ts`、`snapshot-source.ts`、`rectification-decision.ts`。 1. 两处 `snapshotCurrent` 都走 `candidateSnapshotSource` + `scoreableSnapshotIsCurrent`。 2. 指纹缺失判 stale(`fingerprint_missing`),禁止 fail-open。 3. `snapshotCurrent === false` 不得把已进入 discrimination 的 case 打回 `event_collection`。保持当前 phase,要求 rescore,receipt 写 `stale_reason`。 只改比较、不改倒退规则,倒退会更频繁。 ## 验收 - 同一输入两处 `snapshotCurrent` 结果相同。 - 指纹缺失 → stale,不判 current。 - 已在 discrimination 时 snapshot stale 不得变成 `ask_fact_collection`。
jesse added the ready-for-agentwayfinder:task labels 2026-08-28 17:34:36 +08:00
Author
Owner

已在 origin/staging30d8c78d(BUG-420)。快照指纹缺失 fail-closed;stale 时不把区分打回采集。

已在 `origin/staging`:`30d8c78d`(BUG-420)。快照指纹缺失 fail-closed;stale 时不把区分打回采集。
jesse closed this issue 2026-08-28 20:32:51 +08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: root/Jyotisha#40