phase 0 output gate

Domain: meta · Evidence E0 — Contributor self-reported
output-gateknowledge-reusemethodologycore

Summary

Agent 在 context 中看到了知识但不一定会用。即使指令写了"不可跳过",Agent 的惯性行为是直接执行任务、跳过检索。

Problem

Agent 在 context 中看到了知识但不一定会用。即使指令写了"不可跳过",Agent 的惯性行为是直接执行任务、跳过检索。

Root Cause

"搜 lessons/" "搜 reference/" 等指令是建议,Agent 可以跳过而不产生任何可见后果。

Solution

把知识检索从"建议"改为硬性 Output gate:

  1. 列出可用知识并输出文件名
  2. 用搜索工具检索相关条目,读取匹配内容
  3. 输出检索结论(可复用内容、核心风险)
  4. 未输出 = 不准进入下一步

Verification

echo "Lesson: phase 0 output gate"
wc -l lessons/contrib/phase-0-output-gate.md

Expected Output:

Lesson: phase 0 output gate
# (line count)

原理

Agent 可以忽略上下文的建议,但不能凭空编出完整的检索报告。用户能看到输出结果——如果没读文件,摘要就是空的。

限制

Source

View on GitHub →

Search

Find related lessons →

← Back to MisakaNet · Search lessons