Problem
A suite with "prompt": "", "messages": [], or {role: "bogus"} passes validation and fails confusingly downstream.
Where
src/suite.ts (validateSuite): only checks typeof input.prompt === "string" and Array.isArray(input.messages).
Acceptance
Add a failing test first asserting validateSuite rejects empty-string prompts, empty messages arrays, and unknown message roles. Then fix.
Problem
A suite with
"prompt": "","messages": [], or{role: "bogus"}passes validation and fails confusingly downstream.Where
src/suite.ts(validateSuite): only checkstypeof input.prompt === "string"andArray.isArray(input.messages).Acceptance
Add a failing test first asserting
validateSuiterejects empty-string prompts, emptymessagesarrays, and unknown message roles. Then fix.