Skip to content

run_arm.sh: refuse an arm name starting with '-' - #97

Merged
adamjohnwright merged 1 commit into
mainfrom
fix/run-arm-name-guard
Oct 10, 2026
Merged

adamjohnwright merged 1 commit into
mainfrom
fix/run-arm-name-guard

Conversation

@adamjohnwright

Copy link
Copy Markdown
Contributor

scripts/run_arm.sh --help started a real arm named --help against the current catalog (2026-10-09; stopped and its partial output removed). The NAME check allowed a leading dash.

  • NAME must not start with -; the refusal prints the full usage line, now including --catalog and --max-edges.
  • bench/test_run_arm_guard.py runs the script with --help, -h, -x and asserts it exits 1 before starting anything.

🤖 Generated with Claude Code

`scripts/run_arm.sh --help` started a real arm named "--help" on the current
catalog: the name check allowed a leading dash. It now dies with the usage
line before anything starts; bench/test_run_arm_guard.py pins it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@adamjohnwright
adamjohnwright merged commit 49cb149 into main Oct 10, 2026
4 checks passed
@adamjohnwright
adamjohnwright deleted the fix/run-arm-name-guard branch October 10, 2026 00:42
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.

1 participant