Skip to content

fix(run): reject unsafe iteration limits - #126

Merged
ralyodio merged 1 commit into
moshcoder:mainfrom
rissrice2105-agent:fix/run-max-safe-integer
Jul 31, 2026
Merged

ralyodio merged 1 commit into
moshcoder:mainfrom
rissrice2105-agent:fix/run-max-safe-integer

Conversation

@rissrice2105-agent

Copy link
Copy Markdown
Contributor

Closes #125.

Summary

  • require safe positive integers for CLI --max
  • apply the same validation to TUI /run
  • reject values above Number.MAX_SAFE_INTEGER
  • add CLI and TUI regression coverage

Validation

  • focused CLI regression: 1 passed
  • focused TUI regression: 1 passed
  • unsafe-limit CLI reproduction exits 1 with the existing concise error
  • root suite: 442 passed, 5 skipped; 7 pre-existing Windows POSIX failures
  • git diff --check

@ralyodio
ralyodio merged commit 45cb7a0 into moshcoder:main Jul 31, 2026
3 checks passed
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.

Unsafe --max values can create effectively unbounded runs

2 participants