Let the agent decide
Even after a careful planning session, questions come up while an agent implements the plan. The agent then either stops and waits for my answer, or picks a path on its own without telling me. Those silent choices add up, and after a while they can lead to a product or an architecture I never wanted. My fix is to let the agent decide, have it write each decision down, and review the decisions before they can affect anything critical.
The problem
Before a larger change, the agent and I plan it together. Matt Pocock's grill-me skill is good for this: the agent interviews you about the plan "until every branch of the design tree is resolved". But some questions only come up during implementation, for example when the build fails because an Android API the plan relied on needs a permission my phone's voice app does not have, or a tool the agents run in changes its commands overnight.
At that point the agent has two options. It can stop and ask, and the work waits until I answer. When I am away from the desk, it waits until I am back, and with several agents running in parallel, answering questions becomes the main thing I do.
Or it can pick a path on its own. A single silent choice is usually fine. But they add up: a timeout chosen here, a workaround there that other code starts to depend on. After a few weeks the product behaves in ways I never decided, and the architecture has a shape I did not choose. Because nobody wrote the choices down, I cannot even tell which ones to question.
Let it decide, and write it down
The fix is to let the agent decide, but not silently. Where it would otherwise ask, it picks what it thinks I would pick and keeps working. It also records the decision: what it chose, how confident it is, and what it expects me to say when I see it.
These records go into a single markdown file, the decision log. An entry looks like this:
"Ended a voice session after five minutes without speech, to save battery. Confidence: medium. Expected answer: five minutes is fine. Wrong if: a session cuts off while you are still thinking."
The agent writes down its expected answer before I give mine. When I review the entry, I can see right away whether it guessed right.
Review before it matters
Most decisions can be wrong for a while without hurting anything. A wrong timeout in the voice app takes minutes to change before it ships. A decision starts to matter when it becomes hard to undo: a merge, a release, a deploy, a published post, a message to someone other than me.
That is where the review happens. Before any of those steps, the agent lists every open decision for the project, each with its expected answer, in the same message that asks me for the go-ahead. I confirm or correct them, and only then does the step happen. I can also ask it to walk through the open decisions whenever I have a few minutes, which works fine from a phone.
The agent applies the same rule when I am away. During one change to the memory system, a step would have rebuilt the search index that all my agents use, at a time when nobody was around to fix it if it broke. The agent did the rest of the change, skipped that step, and logged why:
"Did not rebuild the search index. Reason: every running agent depends on it, and if the rebuild fails, nobody can fix it until you are back."
What it changed
I answer far fewer questions while I work, and the agents keep working while I am away. The decisions still all get reviewed, just not one at a time. Once a week I go through the open ones in one sitting: most can be confirmed, or dismissed as no longer relevant, in a few seconds each, and the few that need a real answer get one. Decisions that a merge or a deploy depends on get checked earlier, before that step happens.
The corrections are how this gets better over time. A correction is written into the entry next to the original guess, and corrections that repeat go into a profile the agent keeps of how I decide. Its next guess in that area is closer to what I would say.
The cost
Some decisions are wrong, and some work gets redone. Usually that means reverting a change on a branch that was never merged. That is still less work for me than answering every question while the work is happening.
The approach only works if the reviews happen. Open decisions that wait too long go stale, so the review is a fixed weekly session. The decisions a merge, release or deploy depends on are reviewed before that step as well: those steps happen anyway, and the review happens with them. The log also has a blind spot: the agent writes it, so it only contains the decisions the agent chose to record.
Written by Martin Sigloch with Tachikoma.
More writing on AI infrastructure, agent systems, and developer tooling.