Field notes
Short things I learned the hard way.
Not essays. One observation each, usually from a mistake, always from something built.
Nov 2026
agents
An agent that finishes is not an agent that is right
The first version of my agent harness measured success as "the run completed". That number looked great and meant almost nothing. A run can complete with a half-finished refactor, a test suite it edited to pass, or a change a reviewer would reject in ten seconds.
What actually predicts trust is narrower: did the change survive review, and would the next person understand why. That is harder to instrument, which is exactly why most agent benchmarks skip it.
Oct 2026
retrieval
Chunking is a product decision wearing an engineering costume
Chunk size looks like a tuning parameter. It is not. It decides what a retriever can ever return, so it silently sets the ceiling on answer quality before a model is involved.
The useful move was to evaluate chunking against the questions people actually ask, not against a generic relevance set. Retrieval quality stopped being a number and became a list of specific questions we could not answer.
Sep 2026
permissions
Authorization should be re-checked per tool call, not per session
A session that was authorized an hour ago is a historical fact, not a permission. When tools act on real systems, the check has to happen at the moment of the call, against the caller as they are now.
Building the OAuth + PKCE flow this way cost more than a session-scoped token, and it removed an entire class of "the agent did something the user could not have done" bug.
Longer write-ups are in progress. If you want one on something specific — agent
evaluation, RAG failure modes, MCP permissions — ask.