[ SECURITYLAB_—_BLOGS ]

Long-form writing on runtime, distributed systems, kernel internals, Go concurrency, memory models, eBPF, and assembly walkthroughs.

Blog
Your AI Bill Is a Distributed Systems Problem, Not a Model-Pricing Problem

Your AI Bill Is a Distributed Systems Problem, Not a Model-Pricing Problem

When the monthly LLM bill jumps several times over, the first instinct is that the model got more expensive or usage simply grew. It is almost always something else: a distributed systems failure mode, retry storms, fanout amplification, cache misses, unbounded conversation growth, that happens to be denominated in tokens instead of network calls. Debug the call graph, not the model price.

2026-08-04 9 min read
Blog
Validation Is a Loop, Not an Assertion: Why Your AI Agent Reports Success It Never Achieved

Validation Is a Loop, Not an Assertion: Why Your AI Agent Reports Success It Never Achieved

The most common production AI agent failure is treating validation as an assertion, a one-shot pass/fail check, instead of a loop that validates, scores, and decides whether to accept, retry, or escalate. Deterministic code can assert. Non-deterministic model output needs a closed loop, or your agent will report success while doing the wrong thing.

2026-07-28 10 min read
Blog
A Wrong Ruler Is Worse Than No Ruler: Verifying the Checks You Trust

A Wrong Ruler Is Worse Than No Ruler: Verifying the Checks You Trust

In a rules-first AI system, the deterministic checks get authority. They gate output and overrule the model judge. But a wrong check with authority is worse than no check at all. A first-principles standard for verifying the ruler before you trust it.

2026-07-17 11 min read
Blog
Agent Memory Is a Cache Coherence Problem

Agent Memory Is a Cache Coherence Problem

Lossless curated notes vs lossy auto-compression with vector recall: two AI-memory designs that fail differently. One fails like a cache — classical systems already mapped it.

2026-05-28 20 min read