Build Multi-Tenant RAG in Next.js Without Leaking Customer DataA practical pattern for tenant-scoped retrieval with PostgreSQL, pgvector, row-level security, and integration tests.15 min read·codapult.hashnode.devNov 1
Choosing a Next.js SaaS Boilerplate? Build One Real Feature FirstA demo proves that a starter runs. One small end-to-end feature shows what it actually takes to extend it.10 min read·codapult.hashnode.devNov 1
AI Can Write the SaaS. It Still Doesn't Decide How the Pieces Should Fit.AI can generate SaaS features quickly, but it doesn't decide where those features should live. Here's why Codapult uses modular architecture, adapters, explicit boundaries, and structured context for AI coding agents.9 min read·codapult.hashnode.dev1Oct 12
The Agent Shouldn't Be Able to Approve Its Own RulesAn AI coding agent may need to change architecture, but it shouldn't silently approve the policy change that makes its own work pass.11 min read·codapult.hashnode.dev14MCOct 1
A Dependency Graph Shows Structure. It Doesn't Show Intent.Dependency graphs show how code is connected, but not which relationships are intentional. Here's how facts, policy and verification can work together for AI coding agents.11 min read·codapult.hashnode.dev1Sep 25