[AAASM-4332] 📝 (readme): Document --pre for pre-release install; fix [cli] extra#230
Conversation
Every live PyPI release of agent-assembly is a pre-release (rc3) and the only final release (0.0.2) is yanked, so `pip install agent-assembly` resolves to nothing for a first-time user. Add `--pre` to the pip install commands and a note explaining it can be dropped once a stable release exists. Refs AAASM-4332
Add --pre to the install-command macro source (docs_macros.py, which drives quick-start, release-process, and preparing-the-runtime-environment) and to the literal framework-composed install lines in the compatibility, examples, type-checking, and troubleshooting docs. Add a pre-release note to the quick-start install section. Same root cause as the README fix: agent-assembly only publishes pre-releases today, so pip needs --pre. Refs AAASM-4332
The auto-start ConfigurationError told users to run `pip install agent-assembly[cli]`, but no `cli` extra exists (only `runtime` and `all`); pip warns and installs nothing. The `aasm` binary ships via the `runtime` extra (the `aasm` console script itself is an always-installed [project.scripts] entry). Point the hint at `agent-assembly[runtime]`. (pre-commit's pinned black also joined a pre-existing split string literal on line 73 when the file was staged.) Refs AAASM-4332
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Claude Code review — COMMENT (not an approval)Verdict: approve-ready. Scope, correctness, and side-effects all check out against AAASM-4332. CI: Green — 19/19 checks passing (Codecov/Sonar are advisory only). Scope vs ticket (verified at branch HEAD):
Side-effects: Doc/manifest-only plus the single one-line hint fix. The docs-macro edit only changes string values under existing keys — rendering path unaffected. The incidental black re-join of the split log-string on Non-blocking follow-up (already noted in PR desc): the runtime-hint strings in — Claude Code review |
Code Review by Claude Code 🤖CI Status: ✅ All GreenAll CI checks pass including:
Ticket Coverage: ✅ CompleteVerified against AAASM-4332:
Side Effect Analysis: ✅ Safe
Recommendation: ✅ Ready to MergeThis is a straightforward documentation fix that helps new users successfully install the package. Review performed by Claude Code - automated code review assistant |



Description
pip install agent-assembly(no--pre) currently fails for a first-time user with"No matching distribution found for agent-assembly". Every live PyPI release is a
pre-release (latest is
0.0.1rc3) and the only final release (0.0.2) is yanked, sopip— which skips pre-releases unless--preis passed — resolves to nothing. Verifiedagainst the live PyPI JSON: zero non-yanked final releases.
This PR documents
--preon the Python install commands (README + docs) and, in the sameinstall-hint area, fixes a non-existent
[cli]extra referenced by the auto-start errorhint.
--predocs (README + docs):README.md— the two install lines, the Quick Start framework-composed line, plus ashort note that
--precan be dropped once a stable release exists.docs_macros.py— the macro source (install_pip,install_pip_runtime) thatdrives
quick-start.md,compatibility/release-process.md, andexamples/preparing-the-runtime-environment.md; fixed the source rather than thetemplated call sites.
docs/compatibility/frameworks.md,docs/examples/framework-support.md,docs/guides/type-checking.md,docs/troubleshooting.md, and the illustrative line indocs/development/docs-macros.md.--prenote admonition indocs/quick-start.md.[cli]extra fix (LOW, bundled):agent_assembly/core/gateway_resolver.pyauto-start hint told users to runpip install agent-assembly[cli], but nocliextra exists (pyproject.tomldefines only
runtimeandall);pipwarns and installs nothing. Theaasmbinary ships via the
runtimeextra (theaasmconsole script itself is analways-installed
[project.scripts]entry). Now points atagent-assembly[runtime].(This was the sole
[cli]occurrence — line 186; the reporter's:156no longerapplies at base HEAD
27997cd.) Pre-commit's pinnedblackalso joined a pre-existingsplit string literal on line 73 when the file was staged.
Grep-sweep result (
pip install agent-assemblywithout--pre, whole repo):README.mdgit+https source install (--preN/A);.claude/skills/*release runbooks anddocs/release/RUNBOOK.md(version-pinned==<X>/ release-process lines);verification-reports/*(historical, version-pinned).uv add agent-assembly(README/install_uv) has the samepre-release gotcha for uv users but the ticket is pip-scoped; the runtime-hint strings
in
agent_assembly/_install.py/runtime.pyuse the valid[runtime]extra but lack--pre— candidate follow-up.Type of Change
Breaking Changes
Related Issues
Testing
0.0.2yanked, latest0.0.1rc3).ruff checkon the changed.pyfiles: clean.pre-commit(black/isort/mypy) passed.771 passed, 17 skipped— the only red,test_init_assembly_coldstart_latency,is a pre-existing cold-start latency flake (passes in isolation; unrelated to string/doc
edits). No test asserts the auto-start extra string.
Checklist