A Haystack pipeline can be perfectly wired and still unsafe. The retriever returns documents. Every component did its job. But if untrusted text moved through the pipeline as ordinary context, the trust boundary was lost. That is the problem this post is about. Not bad Python. A valid component connection only says: this value fits the next component It does not say: this value is safe to influen
Every AI app I've shipped recently rewrote the same plumbing. The OAuth dance for Slack. Encrypted storage for an API key. Refresh-token logic that finally fails on the 3rd call after an hour. Wiring up an MCP client to a server behind a bearer token someone pasted into a Notion page.
Comparison: Haystack 2.0 vs. RAGatouille 0.3 for Building High-Accuracy RAG Pipelines for Developer Docs Retrieval-Augmented Generation (RAG) has become the standard for building LLM-powered tools that answer questions using private or domain-specific data. For developer documentation (dev docs) — which includes technical jargon, versioned APIs, code snippets, and structured reference material —