自纠错闭环的交接模板

自纠错 AI 的关键不是让模型再问自己一遍,而是把生成与评判拆成独立角色,并给评审者测试、原始资料等外部事实基准核查;否则闭环只是换个措辞的改写,而非真正的自查自纠。

作者
@cyrilXBT
标签
循环智能体
NO.018收录 2026-07-17

如何设计角色之间的交接

BUILDER OUTPUT FORMAT
Deliverable: [the actual output]
Confidence: [high / medium / low]
Known uncertainties: [anything you are unsure about, stated explicitly]
Assumptions made: [anything you assumed without being told]

JUDGE VERDICT FORMAT
Verdict: [PASS / FAIL / NEEDS REVISION]
Checked against: [the specific standard used, e.g. the original brief,
the test suite, the source document]
Specific issues found: [exact problems, not a general impression]
Confidence in this verdict: [high / medium / low]

MANAGER ACTION
If PASS: mark complete, deliver to user.
If FAIL or NEEDS REVISION: send back to Builder with the Judge's
specific issues attached. Increment the revision counter.
If revision counter exceeds [N]: stop looping, escalate to human
with full history of what was tried and why it failed.

停止条件绝不是可选项

STOP CONDITIONS
Maximum revisions: 3. On the 3rd failed verdict, stop and escalate
to a human with the full revision history attached, do not attempt
a 4th cycle automatically.

Quality threshold: all items on the Judge's checklist must show PASS,
not "mostly passing" or "close enough."

Budget ceiling: if this task has consumed more than [X] tokens or
[Y] minutes, stop immediately regardless of current state and report
what was completed versus what remains.