
Why 80% of Enterprise RAG Pipelines Fail Before They Reach the Vector Database
Scrambled tables, dirty OCR, and orphan chunks quietly poison vector search — here's the four-stage pipeline I use to stop it.
Engineering stories, decisions, and lessons with the context left in.

Scrambled tables, dirty OCR, and orphan chunks quietly poison vector search — here's the four-stage pipeline I use to stop it.
02Contents
How Model Context Protocol, a local SQLite second brain, and the official LinkedIn API let any AI client draft, remember, and publish posts.
The pattern works great on ten rows of mock data. Here's why it falls apart the moment real users touch it.
Why your AI streaming parser silently drops tokens across TCP packet boundaries — and how to fix it with a line accumulator.
Any function with error handling has multiple exit paths that can skip cleanup. Here's how Go's defer prevents silent goroutine deadlocks.
Why SQL-First code generation is outperforming ORM magic in high-performance microservices.
What separates SaaS products people actually pay for from the ones that quietly fade out.