writing
Notes from building PANTHEON.
What the system does, why it is built that way, and the defects that changed my mind. Each post links what can be checked; the code is public where it can be.
-
architecture
An approval queue for AI agents that the agent cannot approve
Risky AI agent actions wait for a person in a queue the agent's own database role cannot decide. Expiry is never a yes; the kill switch fails closed.
-
architecture
Postgres row-level security for multi-tenant AI agents
How PANTHEON keeps one business's data out of another's AI agent: forced row-level security, a role that can't bypass it, and the exceptions.
-
case study
The crisis check that English couldn't reach
A crisis guardrail missed common English phrasings after a cost decision. How a review found it, what the fix cost, and what I'd do differently.
-
architecture
The boundary is the product decision
PANTHEON's stack is boring on purpose. What matters is a rule about which file may import which, and a check that refuses the commit when it breaks.
-
measurement
A wallpaper you cannot profile
TerraFirma draws the real sky under the desktop icons. The hard part wasn't the astronomy: the code couldn't be measured until it was moved.
-
architecture
What it takes to let an agent act
A model wired to a prompt is a demo. Letting an agent act on other people's money takes four mechanisms: isolation, metering, approvals, a kill switch.
-
testing
The guard that was green because it could not see
A test that kept absolute dates out of a suite passed for weeks because its regex saw only one of the two ways a date is written.