## Lesson — Normalize badExample snippets before validation

**Tags:** llm, validation
**Scope:** packages/core/src/compiler.ts

LLM-generated code snippets must have backtick or fence wrappers stripped before validation to prevent parse failures in automated smoke gates.
