Context engineering: the layer your RAG system is missing
RAG fetches the facts; the context layer decides what actually reaches the prompt. Four pieces I use in production: memory with exponential decay, hybrid retrieval with re-ranking, a token budget reserved in order, and extractive compression.