Skip to content

validate numeric/enum flags: --fetch-timeout NaN sent as null; --effort unvalidated #6

Closed

Description

@ashu17706

--fetch-timeout abc → Number() NaN → serialized as "fetch_timeout": null and sent. --effort garbage passes through (official CLI rejects, exit 2).

Fix: validate both, usage error (exit 2) on bad values — same as --max-iterations.

Activity

  1. added
    bug
    on Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions