What happens when an LLM loop runs away: the guardrail pattern
Nobody budgets for the runaway loop. Every AI SaaS has a line item for "expected LLM spend" and nobody has a line item for "the Friday night a bug turned our agent into a money printer." I've seen the second one. Here's the pattern that prevents it.