Gemini 智能体会察觉上下文冲突却很少上报
Patrick Kelly 在 Git 沙盒中使用 Gemini 3.8 Flash 和 Gemini Pro 运行了470项任务,并植入无关历史、重复规则、过时文档和矛盾信息。该智能体在73%的运行中察觉来源冲突,但在110次无额外提示的运行中没有一次向用户提及冲突,且经常默默执行任务级 skill 文件而非根目录 AGENTS.md。只读 MCP 工具 report_inconsistency 将152次运行中的冲突记录率提高到98.7%,执行轮次和思考 token 成本基本没有增加。
该实验表明,编程智能体即使发现过时或冲突的规则,也可能不主动暴露问题;被动记录冲突可以提升上下文可见性,且实测额外开销有限。
Most people building with AI in late 2026 understand that the quality of your context determines the quality of your output. But what exactly determines the quality of your context?
First, let's break down all the different types of context:
- One-off prompts that you type into chat conversations
- Your base instruction files like
AGENTS.md, injected automatically into each new session - Skill files, which are ideally custom procedural instructions, loaded dynamically as-needed in relevant situations
- Word documents and spreadsheets in your Google Drive or similar system
- Local markdown files in your code repo
- Memories (usually automatically managed by your agent harness and generally not exposed to you visually)
With all these different sources, likely maintained by different people, there's a very high chance you have legacy process docs and out-of-date facts, metrics, decisions, and strategies.
So what happens if your agent finds the wrong information? Or if it finds conflicting information? Doc A says the refund policy is 14 days, Doc B says 30 days. Which one does your agent trust?
#Google#Gemini 3.8 Flash#Gemini Pro#report_inconsistency#AGENTS.md#MCP