fix(examples): pin band-sdk to a published PyPI release instead of git HEAD - #524
Open
nir-singher-band wants to merge 2 commits into
Open
Conversation
…t HEAD Every example's PEP 723 metadata resolved band-sdk via a [tool.uv.sources] git override pointing at main, so uv run always built the SDK fresh from whatever was on main at that moment -- including unreleased or actively-breaking code -- rather than a stable, reproducible release. This surfaced while validating the Claude/Codex Docker planner/reviewer stack. Repoints every example (and the AGENTS.md/CLAUDE.md template) at the published PyPI band-sdk, pinned >=1.2.0,<2.0.0, and drops the git source override. Also hardens the coding_agents create_agents.py/test_communication.py scripts (shared .env loading, ledger-persistence timing, a guard against the stale bind-mount directory Docker auto-creates) uncovered along the way. Fixes INT-1178
nir-singher-band
marked this pull request as ready for review
August 5, 2026 14:39
nir-singher-band
enabled auto-merge
August 5, 2026 14:39
…ed-git-head-instead-of-a
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
band-sdkvia a[tool.uv.sources]git override pointing atmain, souv runalways built the SDK fresh from whatever was onmainat that moment -- including unreleased or actively-breaking code -- instead of a stable, reproducible release. Surfaced while validating the Claude/Codex Docker planner/reviewer stack (INT-500).band-sdk, pinned>=1.2.0,<2.0.0, and drops the git source override; documents the required pattern in AGENTS.md (symlinked as CLAUDE.md).coding_agents/create_agents.py+test_communication.pyhardening found while doing this pass: shared.envloading so the script targets the same platform as the running Docker Compose stack, ledger-persistence timing (each agent id is recorded before the next create can fail), and a guard against the stale bind-mount directory Docker auto-creates.Linear: INT-1178
Test plan
uv run ruff check .uv run ruff format --check .uv run pytest --markdown-docs AGENTS.md examples/coding_agents/README.md --no-covuv run pytest tests/ --ignore=tests/integration/ --ignore=tests/e2e/ -q(4541 passed)[tool.uv.sources]git override forband-sdkanywhere underexamples/