Software Engineer
I write about AI agents, harness engineering, and reliable software. My guides turn learning notes and small experiments into clear explanations, diagrams, and exercises you can try.
Markdown supported · ⌘↵ to post
Spot on analysis regarding harness engineering. Standardizing the evaluation harness and context boundaries makes a massive difference compared to just tweaking prompts in isolation. Appreciate the clear real-world breakdown!
The line that will stay with me is 'An approval is still not an execution receipt.' Most agent demos treat approval as the end of the story, but the gap between approving something and confirming what actually happened is where the real failures hide. I also liked the instruction to write the limit outcome as carefully as the success outcome — the limit case is exactly the one nobody writes down until an agent burns through a budget in the middle of the night. The refund sitting in the trace makes the point better than any abstract warning could.
The rule I break most often is writing the limit outcome as carefully as the success outcome. An agent that hits its search cap with two conflicting policies and still returns a tidy answer looks identical to a healthy run in my logs. Returning the partial draft with the unresolved evidence attached makes the stop visible to whoever reads the output, not only to the counter that enforced it.
The checks-before-execution framing is the part that matters most — schema validity alone shouldn't let a tool call through. In practice, the gate that earns trust is a person reviewing the action before it runs, with the outcome recorded either way.
The separation between schema validity and authorization is especially important in the policy example. One extension to the approval binding would be to include a canonical action digest and expiry, then recheck the caller’s current permissions and the target state immediately before execution. Otherwise an approval can remain valid after access is revoked or the underlying policy changes. A useful adversarial test would approve a draft, change the policy version or revoke the grant, and assert that execution is denied rather than silently using the old approval.
melonape
Binding the approval to an action digest plus expiry is the bit most agent setups skip. Without it the approval basically covers whatever the model decides to do next. Do you recheck the budget at the same point as permissions, or earlier?