Insights & Architectural Reflections

Deep dives into software architecture, scalability strategies, developer experience (DevX), and system design for high-growth tech ventures.

Mostly Isolated Is a Breach with a Delay
rag

Mostly Isolated Is a Breach with a Delay

For a legal-tech startup I had to guarantee that only authorized members of a tenant could ever touch its documents. RAG doesn't change that problem — it adds a retrieval layer that makes a soft boundary leak silently. Here is why tenant isolation has to be a hard pre-filter at the index, not a ranking signal, and why it must fail closed.

Read article rag
The Number of Agents Is a Cost, Not a Capability
multi-agent-systems

The Number of Agents Is a Cost, Not a Capability

The pitch for multi-agent AI is that more agents mean a more powerful system. I paid that bill once — a nine-year experiment in splitting a platform across twelve separately-owned teams — and here is what it taught me about why the agent count is a cost you pay, not a capability you gain.

Read article multi-agent-systems
A Boundary You Don't Enforce Is Just a Wish
architecture-fitness-functions

A Boundary You Don't Enforce Is Just a Wish

I opened my own repo and found that the rule meant to police my architecture enforced nothing. Here is how I turned it into a fitness function that fails the build when any code — human or AI — crosses a line it shouldn't.

Read article architecture-fitness-functions
Decisions You Don't Write Down Become Debt
software-architecture

Decisions You Don't Write Down Become Debt

In 2016, on my first architecture assignment, a mentor told me documentation was a deliverable as important as the code. Here is why the architectural decisions you don't write down always come back as debt.

Read article software-architecture