Skip to content

Release checklist: v0.1.0

The plan's "v0.1 is done when" criteria

Criterion Proven by
A new world in under 50 lines and a new agent in under 30, without touching framework code examples/guess/guess_world.py (45 lines) and bisect_agent.py (21 lines); test test_REG_009_example_world_and_agent_are_small_and_run
The same scenario runs with a scripted bot and a real model by changing one line test_M4_exit_same_scenario_scripted_or_model_by_one_line (against a local OpenAI-compatible server); opt-in live tests in tests/live/
Two agents finish a tic-tac-toe game while chatting; moves, messages and cost are all in the log test_M3_exit_tic_tac_toe_chat_is_reproducible; examples/tic-tac-toe-chat/scenario.yaml (usage events carry cost)
pip install to a finished demo in under 2 minutes with no API key CI job e2e on Linux, macOS and Windows (fails above 120 s); measured locally on Linux: 5 s

Milestone exits M0 to M5 are covered by the conformance tests named test_M3_exit_*, test_M4_exit_*, test_M5_exit_* and the golden-log test. Every requirement in specs/ has a test or a written reason (scripts/check_spec_links.py).

Before tagging (maintainer)

  • [ ] Merge the work into master and see CI green on Linux, macOS and Windows, Python 3.8 to 3.13.
  • [x] GitHub, Settings, Pages: set the source to GitHub Actions (the Docs workflow then publishes the site).
  • [x] Make master the default branch and allow it to deploy to the github-pages environment.
  • [ ] Custom domain agentplay.itejas.dev: DNS CNAME record to thetejasmagade.github.io, then Settings, Pages, Custom domain, and Enforce HTTPS once the certificate is issued.
  • [x] PyPI: add a trusted publisher for project agentplaykit: owner thetejasmagade, repository agentplay, workflow release.yml, environment pypi. No token is stored in the repository.
  • [x] GitHub, Settings, Environments: create pypi, allow tags matching v* to deploy, and optionally require a reviewer before publishing.
  • [ ] Also allow the branch master in the pypi environment (automatic releases, since v0.1.1).
  • [ ] Name checks still open from ADR-0001: domain and trademark search for "AgentPlay" / "agentplaykit".
  • [x] Add a contact address for the Code of Conduct in MAINTAINERS.md.
  • [ ] Optional: branch protection on master (one approval, required checks) to enforce SPEC-000 PRO-006.
  • [x] Set the date of the 0.1.0 section in CHANGELOG.md.

Releasing a version

Automatic (normal route). In a pull request, set the new __version__ in src/agentplaykit/__init__.py and add its section to CHANGELOG.md. When that PR is merged into master, the Release workflow sees a version with no release yet and releases it: tests, build and checks, PyPI, then the tag and the GitHub release with the changelog notes. Merges that do not change the version do nothing.

One-time setup: Settings, Environments, pypi, deployment branches and tags must allow the branch master as well as the tag pattern v*. Tick Required reviewers there if every release should wait for a confirmation on its run page.

By hand (backup). Any of these releases the version that is in the code; it must match the tag.

  • Terminal: git tag -a v0.1.1 -m "AgentPlay v0.1.1" then git push origin v0.1.1.
  • Browser or GitHub app: Releases, Draft a new release, new tag v0.1.1 on master, empty notes, Publish.
  • Actions, Release, Run workflow, from master or from the tag.

Every step is safe to re-run for the same version.

After release

  • [ ] pip install agentplaykit && agentplaykit play on a clean machine.
  • [x] Update the README install line (drop the "from a clone" note).
  • [ ] Open the v0.2 milestone (viewer) from the roadmap.