Validate generated code
Run pnpm validate-ai-code after codegen — what it catches and how to pair with gotchas.json.Updated 19d ago
See Harness overview for the loading order.1. Load rules.compact.md + catalog.json 2. Match intent → task bundle (tasks/index.json) 3. Load component slices + gotchas for that bundle 4. Generate TSX 5. pnpm validate-ai-code <file> 6. Fix reported issues → re-run until clean