Error: Route used cookies() without await. cookies() is now an asynchronous function in Next.js 15.Warning: Accessing forwardRef is deprecated. In React 19, ref is passed directly as a standard component prop.CssSyntaxError: Cannot resolve @apply utility or missing tailwind.config.js configuration in pure CSS mode.RuntimeError: Event loop is blocked / Task was destroyed while pending / p99 latency spike to 30,000ms.Database connection pool timeout / Fatal error: too many clients already connected.CIS Docker Benchmark Failure: Check 4.1 - Ensure that a user for the container has been created.Frequently Asked Questions: AI Code Generation Hallucinations
Why do coding models stubbornly output deprecated syntax despite modern instructions?
Frontier models are trained on millions of repositories containing code written between 2018 and 2024. For breaking releases like Next.js 15, Tailwind CSS v4, or React 19, the legacy patterns outnumber modern patterns in the weights by 10,000 to 1. Without explicit negative constraint rules (e.g. "NEVER use synchronous cookies()"), the model defaults to the statistical maximum likelihood in its weights.
How does AgentRules eliminate these failure signatures?
Each AgentRules file is structured with RFC-2119 invariant clauses (MUST, MUST NOT) and side-by-side negative and positive code examples. We compile these into the exact formats recognized by Cursor (.cursor/rules/*.mdc), Claude Code (CLAUDE.md), Windsurf (.windsurfrules), and Codex (AGENTS.md).
Can I report or contribute a new framework hallucination signature?
Yes! You can submit breaking patterns and verified negative constraint rules via our Community RFC Governance portal or open a pull request against our public repository.