Skip to content

docs: re-sync README CLI reference with current source#13

Open
sasmith wants to merge 2 commits into
mainfrom
claude/readme-fix-cli-reference-drift
Open

docs: re-sync README CLI reference with current source#13
sasmith wants to merge 2 commits into
mainfrom
claude/readme-fix-cli-reference-drift

Conversation

@sasmith
Copy link
Copy Markdown
Contributor

@sasmith sasmith commented May 2, 2026

Summary

Three drifts in the rendered CLI reference in README.md (and the cached cell outputs in README.ipynb). Each fix matches what re-running the generator (README.py) against current main would produce — these are stale because the README has not been regenerated since the underlying CLI changed.

  • cogames missions --game and cogames play --game defaults: the rendered help still shows cogs_vs_clips. The current default in source is cogsguard (main.py:410, main.py:655).
  • cogames tutorial make-policy summary line: rendered help text reads "Requires --trainable or --scripted." Source has been updated to "Requires exactly one policy type." (main.py:1017).
  • cogames tutorial make-policy Policy Type panel: the --amongthem flag (main.py:1043-1048) was missing from the rendered panel.

Both README.md and the cached outputs in README.ipynb are updated to keep the two in sync (so cogames docsync check does not flag a mismatch).

Notes

  • The Examples block in the same tutorial make-policy section still uses -t/-s short flags. That drift originates in the CLI epilog and is fixed in cli: fix three stale help-text bugs #12 (cli: fix three stale help-text bugs); after both PRs land, regenerating the README will remove the last bit of inconsistency cleanly.
  • Ideally this PR would just be the output of cogames docsync all, but the package is not installable in my environment (no PyPI access). The edits are surgical and verified to match the rendered output for the corresponding source.

Test plan

  • Run cogames docsync check on a properly set-up dev env — expect it to pass for these three sections.

https://claude.ai/code/session_01LQ7Ac2JeU9EhGU2V4LyGf7


Generated by Claude Code

nishu-builder and others added 2 commits April 28, 2026 11:33
Three small drifts in the rendered CLI reference. These fixes match
what re-running the README generator (README.py) against current
main would produce.

- `cogames missions --game` and `cogames play --game` defaults: the
  rendered help still shows `cogs_vs_clips`. The current default is
  `cogsguard` (main.py:410, 655).
- `cogames tutorial make-policy` summary: rendered help text was
  "Requires --trainable or --scripted." The current help text is
  "Requires exactly one policy type." (main.py:1017).
- `cogames tutorial make-policy` Policy Type panel: the `--amongthem`
  flag (main.py:1043-1048) was missing from the rendered panel.

The same edits are applied to README.md and the cached cell outputs
in README.ipynb so they stay consistent under `cogames docsync check`.

The Examples block (which uses `-t`/`-s` short flags) is intentionally
left for a separate fix — that drift originates in the CLI epilog and
is addressed in a separate PR; re-running the generator after both
land will normalize everything.

https://claude.ai/code/session_01LQ7Ac2JeU9EhGU2V4LyGf7
relh pushed a commit that referenced this pull request May 5, 2026
## Summary

Port of [#13](#13) into the monorepo.

Three drifts in the rendered CLI reference in `README.md` (and cached cell outputs in `README.ipynb`):

- `cogames missions --game` and `cogames play --game` defaults: rendered help still showed `cogs_vs_clips`. Current default in source is `cogsguard`.
- `cogames tutorial make-policy` summary line: rendered help text read "Requires --trainable or --scripted." Source has been updated to "Requires exactly one policy type."
- `cogames tutorial make-policy` Policy Type panel: the `--amongthem` flag was missing from the rendered panel.

## Test plan

- [ ] Run `cogames docsync check` — expect it to pass for these three sections

🤖 Generated with [Claude Code](https://claude.ai/code)
@relh relh force-pushed the main branch 4 times, most recently from 20578ae to 80a3706 Compare May 5, 2026 21:34
nishu-builder pushed a commit that referenced this pull request May 7, 2026
## Summary

Port of [#13](#13) into the monorepo.

Three drifts in the rendered CLI reference in `README.md` (and cached cell outputs in `README.ipynb`):

- `cogames missions --game` and `cogames play --game` defaults: rendered help still showed `cogs_vs_clips`. Current default in source is `cogsguard`.
- `cogames tutorial make-policy` summary line: rendered help text read "Requires --trainable or --scripted." Source has been updated to "Requires exactly one policy type."
- `cogames tutorial make-policy` Policy Type panel: the `--amongthem` flag was missing from the rendered panel.

## Test plan

- [ ] Run `cogames docsync check` — expect it to pass for these three sections

🤖 Generated with [Claude Code](https://claude.ai/code)
@nishu-builder nishu-builder force-pushed the main branch 4 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