feat(research): 增加 claim verifier 核心 - #90
Conversation
b79408b to
2c232cf
Compare
helsome
left a comment
There was a problem hiding this comment.
这个 verifier core 可以作为 #13 的独立增量先落:无 evidence 时确定性 insufficient、judge 失败/非法 JSON fail-closed、causal/root-cause 不凭 plausibility 放行,focused tests 也覆盖了关键分支。它当前没有接 production/report persistence,也不关闭 #13,因此真实 Deep Research E2E 留到 integration/final acceptance,不阻塞本 PR。
当前 main 已继续前进且 GitHub 显示不可直接合并,请只 rebase 最新 main 后重跑 claim-verifier focused test + typecheck/basic CI。后续正式接线时必须复用 #104 的统一 EvidenceClaim / verification status / evidence IDs,不要把本文件的临时输入类型发展成第二套持久化 contract。action_required 不作为质量失败。
2c232cf to
91bfc46
Compare
|
已看到当前 head |
|
@helsome 已按要求在当前 head
PR 正文已同步更新至当前 head;未新增 production integration。 |
helsome
left a comment
There was a problem hiding this comment.
当前 head 91bfc462 的验证材料已补齐,且 Issue #13 由作者本人认领。这个 PR 明确只是 claim verifier core 的独立增量,不关闭 #13,也不冒充 production integration;真实 Deep Research E2E、持久化 mapping 和 UI 跳转继续留在父任务。代码按供应证据 fail-closed,空 evidence 不调用 judge,非法/失败 judge 不会被提升为 supported,focused 9/0 + Bun 1.4.2 全 workspace typecheck 报告与当前 head 对齐。action_required 只是首次贡献者 CI 授权,不作为质量失败。当前 main 自身仍有 #116 后的 TS2741,因此这里只刷新 APPROVE,不在 main 红灯期间合并。
改动说明
为 Issue #13 增加独立的 claim-level verifier core:
supported/contradicted/insufficient_evidenceinsufficient_evidence,不调用JudgeClientJudgeClient执行语义判断supportedclaimId、status、evidenceIds、reason、verifierVersion关联 Issue
Related to #13
测试报告(正式审核前必填)
环境
upstream/main@9a042e791bfc462实际执行命令与结果
已知失败 / Baseline
无。
UI 截图(涉及 UI 时必填)
Scope / 后续
本 PR 仅实现可独立审核的 Claim Verifier Core,不依赖尚未合并的 PR #67,也没有复制其临时类型。
本 PR 暂不包含:
ResearchClaim/EvidenceRefintegrationResearchRunnerintegration在确认 PR #67 已合并到
upstream/main之前,不开始上述正式 integration。