I stopped measuring how much context reaches my agents. Now I count how often I have to correct them twice.
A short update from the series on evidence-based agentic development. For months the question was reach: does our context tool get into the agent’s session? We fixed that. It pushes into every prompt, file read, shell command and SDLC step. And when I checked what agents did with it, the answer was: almost nothing. A note in, the same work out.
这是关于循证代理开发系列文章的简短更新。几个月来,核心问题一直是“触达”:我们的上下文工具是否进入了代理的会话中?我们解决了这个问题。它现在会推送到每一个提示词、文件读取、Shell 命令和软件开发生命周期(SDLC)步骤中。当我检查代理如何使用它时,答案是:几乎什么都没做。输入一条笔记,输出的结果却毫无变化。
So I’ve dropped that measure as the headline. What I kept doing was correcting them. Use the cached tools, not raw gh. Don’t restart my running apps. Verify the UI by screenshotting it. The problem is that a correction lives in one session. The next session, the next runtime, the next machine makes the same mistake, and I say it again. That’s the measure now: how often I have to correct an agent for something I’ve already corrected. It should fall toward zero.
因此,我不再将该指标作为重点。我一直在做的是纠正它们。使用缓存的工具,而不是原始的 gh 命令。不要重启我正在运行的应用程序。通过截图来验证用户界面。问题在于,一次纠正只存在于一个会话中。下一次会话、下一次运行时、下一台机器又会犯同样的错误,而我不得不再次指出。这就是现在的衡量标准:我需要为已经纠正过的问题再次纠正代理的频率。这个数字应该趋向于零。
What we’ve built around it: Corrections are captured when I make them and, once I approve them, turned into rules for the project. Rules fire at the moment they apply — before the tool call they’re about, not as a wall of text at the start of a session. Guards stop the repeat outright when a rule says an action is never allowed.
我们围绕这一点构建了机制:当我进行纠正时,这些纠正会被捕获,一旦我批准,它们就会转化为项目的规则。规则会在适用的时刻触发——在相关的工具调用之前,而不是作为会话开始时的一大段文字。当规则规定某项操作绝对不允许时,防护机制会直接阻止重复行为。
The first count, from my own sessions in mid-October, judged message by message the same way as the baseline the rulebook was built from: Repeat corrections per day Baseline, the 45 days before the rules (a usual week) about 3–4 The first 2.6 days with the rules live about 23 It went up.
根据我 10 月中旬会话的首次统计,按照构建规则手册时的基准,逐条消息进行评估:每天重复纠正的次数。基准(规则实施前的 45 天,即常规的一周)约为 3-4 次;规则生效后的前 2.6 天约为 23 次。数字上升了。
Most of it is the same three things — follow what I actually said, keep moving once I’ve approved, check the facts before stating them — and most of it came from a few long sessions, a release day among them, where I was correcting in bursts. So a rule that fires at the right moment isn’t enough yet. The rules are the broad ones, and broad rules are easy for an agent to read and still miss. The next step is narrower rules for the specific moments I keep correcting, and counting again.
大部分问题集中在同样的三件事上——遵循我实际所说的、在我批准后继续推进、在陈述事实前进行核实——而且大部分问题源于几次长时间的会话(包括发布日),我在这些会话中进行了爆发式的纠正。因此,仅在正确时刻触发规则还不够。目前的规则过于宽泛,代理很容易在阅读后仍然忽略它们。下一步是针对我反复纠正的具体时刻制定更细化的规则,并再次进行统计。
Talking about this at Build Stuff 2026 This is one of the write-ups behind my talk at Build Stuff in Vilnius this December, the 15th edition, under the theme The Age of Agency. Control Your Fate at the Metal Wednesday 2 December, 15:00, Zeta 2. 45 minutes. If you’re coming, say hello. If you’re not yet, 2026SPEAKER_20 takes 20% off a ticket. #BuildStuff15 #buildstuffconf #AgeOfAgency @buildstuffconf
在 Build Stuff 2026 上讨论此话题。这是我今年 12 月在维尔纽斯举行的第 15 届 Build Stuff 大会上演讲的背景文章之一,主题为“代理时代”。演讲题目为“在底层控制你的命运”,时间是 12 月 2 日周三 15:00,地点 Zeta 2,时长 45 分钟。如果你会来,请打个招呼。如果还没购票,使用 2026SPEAKER_20 可享受 8 折优惠。