Skip to content

docs: fix README Quick Start so a fresh install actually runs#14

Open
sasmith wants to merge 2 commits into
mainfrom
claude/test-readme-quickstart-Ux3ef
Open

docs: fix README Quick Start so a fresh install actually runs#14
sasmith wants to merge 2 commits into
mainfrom
claude/test-readme-quickstart-Ux3ef

Conversation

@sasmith
Copy link
Copy Markdown
Contributor

@sasmith sasmith commented May 11, 2026

Summary

Walking through the Quick Start in README.md from a fresh environment, every
step past pip install cogames is broken. This PR makes the documented commands
actually work end-to-end.

What was broken

  • Step 2 (cogames play -m arena -p starter -r log -s 300) failed with
    Mission 'arena' not found. — the default game (cogsguard) is registered
    as a standalone game but isn't a hard dependency of cogames, and it isn't
    published to PyPI (only declared in [tool.uv.sources]), so pip install cogames leaves the user with no missions.
  • After installing cogsguard from git, the same command then failed with
    ModuleNotFoundError: No module named 'torch' — the starter policy needs
    torch, which lives in the [neural] extras.
  • Step 3 referenced --season beta-teams-small, which returns Season 'beta-teams-small' not found. cogames season list only offers
    beta-teams-tiny-fixed and beta-cvc.
  • Plain pip install cogames on a Debian-managed system Python aborts with
    Cannot uninstall PyYAML 6.0.1, RECORD file not found. — easy to hit and
    not currently mentioned.

What this PR changes

  • Recommend creating a virtual environment up front.
  • Install cogames[neural] plus cogsguard@git+https://github.com/Metta-AI/cogame-cogsguard.git
    in all three install paths (pip, uv, Docker). Add git to the Docker
    apt-get install so the git source resolves.
  • Replace the stale beta-teams-small season name with beta-teams-tiny-fixed
    in the three commands in Step 3, and point users at cogames season list.

Verified

Ran the updated install commands in a fresh uv venv and confirmed
cogames play -m arena -p starter -r log -s 50 completes successfully and
prints the episode stats.

Test plan

  • Reviewer creates a clean venv, runs the updated Step 1 commands, and
    confirms cogames play -m arena -p starter -r log -s 300 produces an
    episode summary.
  • Reviewer confirms beta-teams-tiny-fixed is the season they want to
    point new users at (vs. e.g. beta-cvc).

https://claude.ai/code/session_01XTNWKurh2pCerhryCxDf73


Generated by Claude Code

nishu-builder and others added 2 commits May 7, 2026 15:04
- Add `cogsguard` (the Cogs vs Clips game) install from git: `pip install cogames`
  alone leaves `-m arena` failing with "Mission 'arena' not found." because the
  default game is registered but not bundled.
- Use the `neural` extras so the `starter` policy can import `torch` (previously
  crashed with `ModuleNotFoundError: No module named 'torch'`).
- Recommend a virtual environment up front to avoid the OS-managed PyYAML
  uninstall error on Debian-based system Pythons.
- Replace the stale `beta-teams-small` season name (returns "Season not found")
  with `beta-teams-tiny-fixed`, and point users at `cogames season list`.

https://claude.ai/code/session_01XTNWKurh2pCerhryCxDf73
@sasmith sasmith force-pushed the claude/test-readme-quickstart-Ux3ef branch from ff6f554 to 1edf66a Compare May 11, 2026 16:17
@nishu-builder nishu-builder force-pushed the main branch 2 times, most recently from 6c38c63 to cbd926f Compare May 12, 2026 22:38
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.

3 participants