第 3 批:统一 decideFromDossier 出口与单候选终态 #41

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

Part of #38

Blocked by: #40

范围

mastra/rectification-v9-tools.tssafeCaseProjection / latestResultToolProjection,以及 candidate-separation.ts

先写必红测试:

projectTurnDecision(d).next_action.session_outcome
  === safeCaseProjection(d, compute).latest_result.session_outcome
projectTurnDecision(d).candidate_summary.selection_allowed
  === safeCaseProjection(d, compute).latest_result.selection_allowed

然后:

  • safeCaseProjection 开头 decideFromDossier
  • buildMethodFollowupPlan 只跑一次。
  • latestResultToolProjection 必收 RectificationDecision
  • overlayPublicDecision
  • 删掉 sessionOutcome ?? "collect_evidence"
  • SeparationStatus 增加 sole_candidate;删掉 lead = 8 伪造分支。
  • 单候选不得表述为并列区间;canConfirmExactMinute 仍只由 confirmationAllowed 打开。

可选同批:holdout === unavailable 显式分支;finish() 参数改名为 fallbackOutcome

Part of #38 Blocked by: #40 ## 范围 `mastra/rectification-v9-tools.ts` 的 `safeCaseProjection` / `latestResultToolProjection`,以及 `candidate-separation.ts`。 先写必红测试: ``` projectTurnDecision(d).next_action.session_outcome === safeCaseProjection(d, compute).latest_result.session_outcome projectTurnDecision(d).candidate_summary.selection_allowed === safeCaseProjection(d, compute).latest_result.selection_allowed ``` 然后: - `safeCaseProjection` 开头 `decideFromDossier`。 - `buildMethodFollowupPlan` 只跑一次。 - `latestResultToolProjection` 必收 `RectificationDecision`。 - 用 `overlayPublicDecision`。 - 删掉 `sessionOutcome ?? "collect_evidence"`。 - `SeparationStatus` 增加 `sole_candidate`;删掉 `lead = 8` 伪造分支。 - 单候选不得表述为并列区间;`canConfirmExactMinute` 仍只由 `confirmationAllowed` 打开。 可选同批:`holdout === unavailable` 显式分支;`finish()` 参数改名为 `fallbackOutcome`。
jesse added the ready-for-agentwayfinder:task labels 2026-08-28 17:34:38 +08:00
Author
Owner

已在 origin/staging69c3e949(BUG-421)。工具投影与 turn_decision 共用 decideFromDossier;单候选是 sole_candidate,不再写成并列区间。

已在 `origin/staging`:`69c3e949`(BUG-421)。工具投影与 turn_decision 共用 `decideFromDossier`;单候选是 `sole_candidate`,不再写成并列区间。
jesse closed this issue 2026-08-28 20:32:49 +08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: root/Jyotisha#41