Skip to content

fix: reject invalid numeric CLI flags instead of silent fallback - #47

Merged
royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
sharadvc:cursor/fix-invalid-numeric-cli-3ca6
Sep 12, 2026
Merged

royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
sharadvc:cursor/fix-invalid-numeric-cli-3ca6

Conversation

@sharadvc

Copy link
Copy Markdown
Contributor

Summary

numFlag now throws on non-numeric values for flags like --tolerance / --concurrency instead of silently using the default. The CLI exits with code 2.

Test plan

  • npm test

Fixes #26

@royalpinto007
royalpinto007 merged commit 0d067e5 into AgentPostmortem:main Sep 12, 2026
9 checks passed
@github-actions

Copy link
Copy Markdown

Nice work @sharadvc, this is merged.

Evalgate gets better every time someone outside the repo digs in like this.

If you find Evalgate useful, consider dropping a star. It helps more people find it.

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.

Invalid numeric CLI flags silently fall back instead of erroring

2 participants