mirror of
https://github.com/ThearchyHelios/AgentLab.git
synced 2026-11-21 15:42:06 +00:00
交给人工审批的报告,探索运行也在节点里裁判结论句:审批人批准前就能看到判了几句、几句证据相矛盾。按需裁判要等运行封存之后才能判,封存前放开会动证据清单的完整性约束,所以这种报告改在节点里当场判,和正式运行同一条路;没有审批的探索运行照旧按需判,不在节点里花钱。审批节点审哪几份报告的认法抽成 reviewed_report_ids,审批卡和报告节点共用,两边说的「要人审」对得上。审批卡上没开裁判的探索报告改写「这份报告没有开启结论句裁判……开启后,交给审批的报告会在批准前判完」;开了裁判却没在节点里判的老运行另给一句。助手指引、出口契约注释、前端类型注释同步;审批暂停时按需裁判仍拒绝,测试改成只看点击不多一次调用
This commit is contained in:
@@ -495,16 +495,15 @@ const APPROVAL = {
|
||||
|
||||
/**
|
||||
* ?approval=report:探索运行里审一份报告。核对概况取 evidence-doc 夹具(7/12 数字有出处、1 处引用解析不了),
|
||||
* 结论句没在节点里判;?approval=report-formal:正式运行,节点里判过,1 句证据相矛盾
|
||||
* 报告没开结论句裁判;?approval=report-formal:正式运行,节点里判过,1 句证据相矛盾
|
||||
*/
|
||||
const APPROVAL_REPORT = {
|
||||
id: 'ap-2', run_id: evidenceFixture.run_id, node_id: 'review', mode: 'approve' as const,
|
||||
title: '本周周报可以发出吗?', status: 'pending', response: {},
|
||||
payload: {
|
||||
kind: 'human_node', message: '请审核本周周报。',
|
||||
reports: [{ node_id: 'write', label: '写周报', stats: evidenceFixture.doc.stats, claims: 'judge',
|
||||
doc_artifact: evidenceFixture.doc_artifact,
|
||||
judge: { mode: 'on_demand', counts: { unjudged: 4 }, complete: false } }],
|
||||
reports: [{ node_id: 'write', label: '写周报', stats: evidenceFixture.doc.stats, claims: 'off',
|
||||
doc_artifact: evidenceFixture.doc_artifact }],
|
||||
},
|
||||
created_at: new Date(Date.now() - 120_000).toISOString().replace('Z', ''),
|
||||
workflow_name: '周报', node_label: '主管审批', run_class: 'exploratory' as const,
|
||||
@@ -513,7 +512,7 @@ const APPROVAL_REPORT_FORMAL = {
|
||||
...APPROVAL_REPORT, id: 'ap-3', run_class: 'formal' as const,
|
||||
payload: {
|
||||
...APPROVAL_REPORT.payload,
|
||||
reports: [{ ...APPROVAL_REPORT.payload.reports[0], stats: { ...evidenceFixture.doc.stats, numbers_cited: 12, uncited_numbers: 0, unresolved: 0 },
|
||||
reports: [{ ...APPROVAL_REPORT.payload.reports[0], claims: 'judge', stats: { ...evidenceFixture.doc.stats, numbers_cited: 12, uncited_numbers: 0, unresolved: 0 },
|
||||
judge: { mode: 'inline', counts: { supported: 5, contradicted: 1, unjudged: 0 }, complete: true } }],
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user