Building

Engineering post-mortems

What broke inside Vigil, how we found out, and the rule each failure left behind. These are post-mortems from running a proxy that sits in the live path of other people’s AI calls, written so the lesson transfers to any production service.

A usage meter a customer could reset by clearing their own history. API-key enforcement that switched off when an environment variable went missing. An account deletion that had never once succeeded. A Stripe webhook that never received an event because of a redirect. A Cloudflare setting that blocked real visitors while every check we ran kept passing. Each one ends with a test you can run against your own system this week.

Start here

Fail open vs fail closed: a missing env var, no auth

The failure whose rule, fail closed, applies to the most systems.

All 5 posts

Vigil records the cost, errors and latency of every AI call you route through it; LLM proxy setup takes a base URL and one header.