blog
notes from building things — not tutorials, just what i figured out along the way.
rbac is not a checkbox
permission bugs never announce themselves — they show up as a coach staring at another school's data. here's the sentence-first framework that fixed it.
redis before hero architecture
docgen was burning tokens on identical questions. cache-aside fixed it — 35% lower inference cost, sub-second repeats, zero heroics.
indexes saved our admin dashboard
eight-second loads during exam season weren't a redis problem — one composite index and a saner schema fixed it without rewriting the app.
jwt middleware in plain english
rexa moved 1,000+ daily transactions at 99.9% uptime — not because auth was clever, but because it ran before anything else could break.
how docgen turns a repo into docs
it's not chatgpt on your repo — it's ingestion, chunking, retrieval, caching, and a frontend that doesn't feel broken while you wait.