Notes
Engineering notes
Short pieces on what I learn while building: RAG, multi-tenancy, agent architecture.
3 min read
Why I keep my embeddings inside Postgres
On Synka Sphere I chose pgvector over a dedicated vector database. It is not a performance argument — it is about consistency and how many systems you have to back up.
RAGPostgreSQLpgvectorArchitecture2 min read
A multi-tenant scope must fail closed
Cross-tenant data leaks are never a decision — they are an oversight. Why I make my scopes return zero rows when the tenant is missing, instead of everything.
LaravelMulti-tenancySecurity