Writing
4 TOTAL · REVERSE CHRONOLOGICAL · FEED.XML
001
2026.06.15
Why Legal AI Keeps Fabricating Citations

You can't stop an AI feature from hallucinating, but you can keep nonconforming data out of production documents by storing state in an authoritative database, structuring updates with tool-calls, and validating data before it reaches the database.

4m
002
2026.06.04
The Correct Number of Retries is One

Building a reliable system around an LLM means dealing with its weird failure modes. The conventional wisdom on retries doesn't fit — a second failure isn't a model problem. It's a signal that the validator, prompt, or schema needs work.

9m
003
2026.05.14
FTS Is The Workhorse: Four queries against a personal conversation archive

When searching a body of text, the default reflex is to reach for a hybrid search that combines full-text search (FTS) with semantic searches. On a personal corpus, hybrid search consistently underperforms one of its components; FTS is usually but not always the right default.

12m
004
2026.04.29
Your Agent's Context Window Is State, Not Input

When you include the complete message history in the context window, the model will treat it as implicit state, and implicit state drifts. Instead, aggressively prune the message history and provide the model with an authoritative state.

6m