ADR-0002: Tooling and defaults¶
- Status: Accepted
- Date: 2026-11-30 (amended: older Python and pip support)
Decision¶
- Python core, minimum Python 3.8 (supersedes the plan's 3.10), tested on 3.8 to 3.13. Runtime code must avoid newer syntax and stdlib APIs (use
from __future__ import annotations,typing.List-style where evaluated at runtime, nomatch, nostr.removeprefix). - pip is a first-class install method:
pip install agentplaykitandpip install -e ".[dev]"must work with no extra tooling.uvremains optional for contributors. CI exercises both. - Dev tools (
ruff,mypy --strict,pytest) run in CI; mypy checks against 3.10 because current mypy no longer targets older versions. Old-Python compatibility is enforced by running the test suite on 3.8. - Language-neutral JSON Schemas; hatchling build backend.
- Sequential turns by default; simultaneous opt-in per world.
- Local only for v0.1; judge-model interface only (implementation in v0.5).
- Copyright line: "AgentPlay contributors". Docs/community on GitHub Pages and Discussions.
- Default branch is
master.
Consequences¶
Wider reach, at the cost of avoiding modern language features and possibly pinning older dependency versions. Revisit the floor when 3.8 and 3.9 usage becomes negligible.