insist on --token and --slot args for tournament support#190
Open
malcolmocean wants to merge 5 commits into
Open
insist on --token and --slot args for tournament support#190malcolmocean wants to merge 5 commits into
malcolmocean wants to merge 5 commits into
Conversation
All 5 stag_hunt bots crashed with "Unknown option: --slot" when the tournament runner passed the standard tournament arguments. Thread token and slot through connectUrl so they're sent as query params. Also add a pre-build check to docker_build.nim that verifies bot source files handle --name, --token, and --slot before building images. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This reverts commit d6f6c84.
The coworld runner passes the full websocket URL via this env var. Also check for it in docker_build's pre-build validation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
CLAUDE.md symlinks here. Points to the canonical spec in the metta repo so bot authors find the requirements before hitting deploy failures. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
coordinator,nearest_hunter,rabbiteer,sidekick,stag_hunter) crashed withUnknown option: --slotwhen the tournament runner passed standard args--tokenand--slotparsing, threading them throughconnectUrlas query params (matching the pattern in planet_wars/skurge)tools/docker_build.nimthat greps bot source files for--name,--token, and--slothandling before building imagesTest plan
--slot 0 --token testwithout crashingnim r tools/docker_build.nim --listto verify the check doesn't block game-server-only targets🤖 Generated with Claude Code