> Markdown version of [/videos/100693-prompt-debt-why-your-ai-system-is-frozen-in-time](https://www.wearedevelopers.com/videos/100693-prompt-debt-why-your-ai-system-is-frozen-in-time). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Prompt Debt: Why Your AI System Is Frozen in Time Are you afraid to delete a single line from your bloated system prompt? Learn how to play prompt Jenga and use evaluation-driven workflows to unfreeze your AI applications. - **Speakers:** [Suriya Prakash B](https://www.wearedevelopers.com/@suriya-prakash-b) - **Event:** Conference India 2026 - **Published:** November 25, 2026 - **Duration:** 29:57 - **URL:** https://www.wearedevelopers.com/videos/100693-prompt-debt-why-your-ai-system-is-frozen-in-time - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/d29795dc93c4f7571f6451d1feebc977/thumbnails/thumbnail.jpg?time=30000ms ## Summary In traditional software, fixing a bug adds a line of code backed by a unit test. In AI applications, fixing an issue often means appending another sentence to a system prompt or MCP server tool description. Suriya Prakash B (Red Hat) defines this accumulation as "prompt debt." Through a live demo of a RAG-based baggage support agent, he illustrates how reasonable, isolated fixes—like requiring source citations, handling ambiguous queries, and enforcing conciseness—rapidly bloat prompts. Over time, instructions contradict one another, leaving the AI system "frozen in time" because developers fear deleting lines or switching underlying models. To prevent prompt debt, teams must treat this as a specification problem rather than a prompt engineering problem. Suriya outlines a five-step evaluation-driven workflow: reproduce the failure, define expected behavior, run baseline evaluations, modify the prompt, and re-evaluate for regressions. He demonstrates "prompt Jenga," a technique of systematically removing individual instructions and measuring metrics like answer relevancy and tool call selection accuracy to verify if each sentence is truly necessary. Ultimately, "every line needs a reason, and every change needs an evidence." By relying on model benchmarking and automated evaluations rather than blind prompt patching, engineering teams can recognize when to refactor application code instead of adding another workaround, allowing them to iterate and upgrade models with confidence. **Keywords:** prompt debt, evaluation-driven specification, RAG-based agents, MCP server tool descriptions, system prompt maintenance, AI agent evaluation, prompt engineering anti-patterns, answer relevancy metrics, tool call selection accuracy, model benchmarking, AI regression testing, prompt refactoring, system instruction conflicts, open-weight model evaluation ## Chapters 1. **Why static instructions fail in evolving AI systems** (00:02) — When external conditions, user interactions, or underlying models evolve while system prompts remain unchanged, AI applications continue following outdated rules that break expected behavior. 1. **How iterative prompt fixes accumulate in RAG and MCP** (02:43) — Fixing AI bugs by repeatedly appending sentences to RAG system prompts and MCP tool descriptions without automated testing leads to bloated, conflicting instructions. 1. **Live demo of prompt bloating across multiple versions** (05:14) — Patching individual edge cases like missing source citations, ambiguous queries, and verbose outputs in a customer support assistant causes a three-sentence prompt to grow into an unmaintainable block. 1. **Defining prompt debt and why systems freeze in time** (13:02) — Accumulated instructions eventually contradict one another and lack clear requirement mappings, making engineering teams afraid to modify prompts or upgrade underlying models like Gemini. 1. **Five-step evaluation workflow to prevent prompt debt** (16:11) — Teams can safely iterate on AI systems by reproducing failures, defining expected behaviors, and running baseline evaluations before and after modifying any prompt instructions. 1. **Testing instruction necessity and knowing when to refactor code** (18:23) — Removing individual prompt sentences against an evaluation suite reveals which instructions actually impact behavior and signals when a problem requires code refactoring rather than prompt patching. 1. **Automating prompt pruning and managing expensive evaluations** (22:55) — Using AI-as-a-judge loops and open-source models helps teams automate the removal of redundant prompt lines and measure impacts on answer relevancy and tool call accuracy. 1. **Evaluation metrics and benchmarking across different model sizes** (24:53) — Tracking threshold metrics and running model benchmarks across open-weight, cloud, and smaller models like Gemini Flash ensures prompt changes remain reliable across different model scales. ## Related Moments - [Refining complex software instructions using automated prompt engineers](https://www.wearedevelopers.com/videos/631-chatgpt-create-a-presentation) (from "ChatGPT: Create a Presentation!") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/c9a1445b042947f8afb5663f700805a9/thumbnails/thumbnail.jpg?time=123380ms - [Challenges with prompt-based AI system design queries](https://www.wearedevelopers.com/videos/1952-mad-about-software-design-when-ai-architects-argue) (from "MAD About Software Design - When AI Architects Argue") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/c00d6f7bd7126dfbc213c7e018274552/thumbnails/thumbnail.jpg?time=242260ms - [Iterating on prompt engineering for edge cases](https://www.wearedevelopers.com/videos/1517-the-limits-of-prompting-architectingtrustworthy-coding-agents) (from " The Limits of Prompting: ArchitectingTrustworthy Coding Agents") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/28f61d5ec2219030fb59e9f1c28d31bc/thumbnails/thumbnail.jpg?time=84675ms - [Improving and maintaining AI prompts for code generation](https://www.wearedevelopers.com/videos/100149-practical-tips-for-keeping-your-c-code-base-clean) (from "Practical tips for keeping your C# code base clean") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/b9844aec07ec4f41d0ac037d0455372d/thumbnails/thumbnail.jpg?time=34470ms - [Understanding the shift from coding to prompting](https://www.wearedevelopers.com/videos/100105-when-humans-stop-writing-code-rethinking-languages-compilers-and-responsibility) (from "When Humans Stop Writing Code: Rethinking Languages, Compilers, and Responsibility") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/5e40b80a4963d3967c30ff794e2f6b70/thumbnails/thumbnail.jpg?time=185790ms - [Prompting AI agents for successful application infrastructure changes](https://www.wearedevelopers.com/videos/1042-postgres-in-the-age-of-ai-and-devin) (from "Postgres in the Age of AI (and Devin)") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/2d605fbb7484979764fa3d653bc08a5c/thumbnails/thumbnail.jpg?time=150875ms ## Related Articles - [Prompt Engineering is a Job of the Past](https://www.wearedevelopers.com/magazine/342-prompt-engineering-is-a-job-of-the-past) - [The Prompt Engineer ✍️](https://www.wearedevelopers.com/magazine/216-the-prompt-engineer) - [WWC24 Talk - Scott Hanselman - AI: Superhero or Supervillain?](https://www.wearedevelopers.com/magazine/469-wwc24-talk-scott-hanselman-ai-superhero-or-supervillain) - [After You Ship AI: 5 Signals to Monitor in Production](https://www.wearedevelopers.com/magazine/793-after-you-ship-ai-5-signals-to-monitor-in-production) ## Related Jobs - [Principal Software Engineer, Copilot Code Review](https://www.wearedevelopers.com/jobs/ext/4667602-principal-software-engineer-copilot-code-review) at **GitHub** - [Director, AI & Data Solution Architect](https://www.wearedevelopers.com/jobs/ext/4713764-director-ai-data-solution-architect) at **PwC** - [Director, AI & Data Solution Architect](https://www.wearedevelopers.com/jobs/ext/4863189-director-ai-data-solution-architect) at **PwC** - [Director, AI & Data Solution Architect](https://www.wearedevelopers.com/jobs/ext/4847118-director-ai-data-solution-architect) at **PwC** - [Staff Software Engineer, Copilot Code Review](https://www.wearedevelopers.com/jobs/ext/4743636-staff-software-engineer-copilot-code-review) at **GitHub** - [Senior Software Engineer - Semantic Data Lake (Open)SDE3](https://www.wearedevelopers.com/jobs/48597-senior-software-engineer-semantic-data-lake-open-sde3) at **WEX**