Skip to content

fix: reject empty prompts and invalid messages in suite validation - #49

Merged
royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
sharadvc:cursor/suite-validation-empty-prompt-27-ebda
Sep 12, 2026
Merged

royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
sharadvc:cursor/suite-validation-empty-prompt-27-ebda

Conversation

@sharadvc

Copy link
Copy Markdown
Contributor

Summary

Suite validation now rejects empty input.prompt, empty messages, and invalid message roles/content instead of accepting them.

Test plan

  • npm test

Fixes #27

Add validateSuite checks so malformed case inputs fail at load time
with clear errors instead of confusing downstream failures.

Fixes AgentPostmortem#27

Co-authored-by: Sharad. <sharadvc@users.noreply.github.com>
@royalpinto007
royalpinto007 merged commit 96c299b into AgentPostmortem:main Sep 12, 2026
9 checks passed
@github-actions

Copy link
Copy Markdown

And it's in. Thanks @sharadvc.

Genuinely helpful change for Evalgate.

If this project helps you out, a star helps others find it too.

Happy to see more from you whenever you have the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suite validation accepts empty prompts and bogus message roles

2 participants