feat(configs): bundle agricogla commissioner config + publish its image#49
Merged
Conversation
Add agricogla as a first-class bundled ruleset_strategy config (like cue_n_woo etc.) and a matrix entry so CI builds + publishes ghcr.io/metta-ai/commissioners- agricogla to GitHub Packages from source. It's `default` plus 10 competition episodes/round and `scoring.round_score: rank` (per-episode placement). This lets the agricogla coworld reference a published commissioner image directly (the cogsul/coguire/werecog pattern) instead of a downstream Dockerfile that does `FROM commissioners-default@digest` + COPY config and pushes a locally-built image. Co-Authored-By: Claude Opus 4.8 <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.
What
Makes the agricogla commissioner follow the cue-n-woo pattern: a first-class bundled config built from source and published to GitHub Packages by CI, instead of a downstream
FROM commissioners-default@digestDockerfile in the metta repo.commissioners/ruleset_strategy_commissioner/configs/agricogla.yaml—defaultplus 10 competition episodes/round andscoring.round_score: rank(per-episode placement, merged in feat(ruleset_strategy): add round_score "rank" (per-episode placement scoring) #48).agricogla-commissionermatrix entry tobuild-commissioner-images.yml, so on push to main CI builds the sharedcommissioners/Dockerfile(RULESET_STRATEGY_CONFIG_NAME=agricogla) and publishesghcr.io/metta-ai/commissioners-agricogla(+:latest,:coworld-<sha>).Why
Today agricogla (and cognames) layer their config onto the base image with a metta-side
commissioner.Dockerfile(FROM commissioners-default@<pinned digest>+COPY agricogla-commissioner.yaml), built locally and pushed on coworld upload. That means a hand-maintained base digest and a "directly pushed" image. The clean games (cogsul, coguire, werecog) just reference a publishedghcr.io/metta-ai/commissioners-*image. This makes agricogla one of those: its config lives here, CI publishes the image, and the metta coworld references it directly (follow-up metta PR).Tests
agricogla.yamlis auto-covered by the parametrizedtest_ruleset_strategy_configs_declare_migration_divisions(Qualifiers/-99, Competition/Daily/1). Full suite: 92 passing.round_score: rank, score kindrank_episode_round_score, 10 competition episodes.Follow-up (metta)
Once this merges + the image publishes, the metta agricogla coworld will switch
compose.yaml'scommissionerservice toimage: ghcr.io/metta-ai/commissioners-agricogla@sha256:…and deletecommissioner.Dockerfile+agricogla-commissioner.yaml.🤖 Generated with Claude Code