|
|
@@ -398,6 +398,7 @@ export function formatRunResult(agentName: string, run: Record<string, unknown>,
|
|
|
const synthesis = asRecord(science?.synthesis)
|
|
|
const researchIR = asRecord(science?.research_ir)
|
|
|
const observations = asRecord(science?.observations)
|
|
|
+ const decisionSupport = asRecord(science?.decision_support)
|
|
|
const irLabels: Record<string, string> = {
|
|
|
not_executed: "本轮未执行", not_compiled: "尚未编译", plans_only: "仅规划", blocked: "暂不能执行", ready: "可执行",
|
|
|
executed: "实验子程序已执行", reused_observations: "复用观察", failed: "执行失败", cancelled: "已取消",
|
|
|
@@ -433,6 +434,7 @@ export function formatRunResult(agentName: string, run: Record<string, unknown>,
|
|
|
...(asRecord(acceptance?.plan_review)?.status === "not_reassessed" ? ["原方案:本次未重审,原有待修订项继续保留;review-parent-gate.json。"] : []),
|
|
|
...(synthesis ? [`结果综合:${({ reviewed: "模型复核通过", needs_revision: "解释待修订", review_pending: "待复核", uncertain: "存在不确定项" } as Record<string, string>)[getString(synthesis.status)] || "状态待核查"};${synthesis.answered ?? "未报告"}/${synthesis.total ?? "未报告"} 项限定范围回答;不是独立科学验收。详情见 research-synthesis.json。`] : []),
|
|
|
...(getString(science?.next_step) ? [`下一步研究:${getString(science?.next_step)}`] : []),
|
|
|
+ ...(decisionSupport ? [`验证选择:${decisionSupport.hypotheses ?? "未报告"} 个假设、${decisionSupport.candidate_checks ?? "未报告"} 项候选检查;依据与缺口见 research-decisions.json,不代表已执行或独立验收。`] : []),
|
|
|
...(observations ? [`观察记录:${observations.recorded ?? "未报告"} 份;已解释 ${observations.interpreted ?? "未报告"} 份;模型审阅认可 ${observations.reviewed ?? "未报告"} 份。详情见 observation-ledger.json。`] : []),
|
|
|
...(researchIR ? [
|
|
|
`科研 IR:${irLabels[getString(researchIR.status)] || "状态待核查"};本轮已执行 ${researchIR.executed_kernels ?? "未报告"} 个实验子程序。`,
|