apm is now pinned at 0.39.3 in pyproject.toml and uv.lock, and run as uv run --frozen apm. Before this, a contributor got whatever apm was installed on their machine. apm-cli leaves requirements-dev.txt and its lock, so this is the only pin.
After merging, in every existing clone:
Run scripts/dev-setup.sh if you have not since #519. Otherwise the next step removes the tools the git hooks use.
Run uv sync --frozen, then uv run --frozen apm install.
If the install stops with "Kept .claude/commands/plan.md" (or ship.md), move both files aside and install again.
The merge publishes a new ci image version, because requirements-dev.* and images/ci/Dockerfile are inputs of that image. The change only removes packages from it. Estimated compressed size of the /opt/venv layer: about 52 MB, under the 100 MB limit.
A built Collection passes scripts/check_tarball.py and contains neither new file.
renovate --platform=local --dry-run=lookup at 44.161.0 runs cleanly with the changed renovate.json.
ansible-test sanity: passed in the pre-push hook.
Not verified
The ci image was not built locally.
uv sync --frozen over an old .venv that still holds the dev tools.
uv versions other than 0.11.24, and macOS.
Molecule was not run locally.
I confirm third-party material is recorded in NOTICE and REUSE.toml, or there is none.
Assisted-by: Claude Code
## What and why
Closes #517
apm is now pinned at 0.39.3 in `pyproject.toml` and `uv.lock`, and run as `uv run --frozen apm`. Before this, a contributor got whatever apm was installed on their machine. `apm-cli` leaves `requirements-dev.txt` and its lock, so this is the only pin.
**After merging, in every existing clone:**
1. Run `scripts/dev-setup.sh` if you have not since #519. Otherwise the next step removes the tools the git hooks use.
2. Run `uv sync --frozen`, then `uv run --frozen apm install`.
3. If the install stops with "Kept .claude/commands/plan.md" (or `ship.md`), move both files aside and install again.
The merge publishes a new `ci` image version, because `requirements-dev.*` and `images/ci/Dockerfile` are inputs of that image. The change only removes packages from it. Estimated compressed size of the `/opt/venv` layer: about 52 MB, under the 100 MB limit.
Renovate does not update the new pin until #518.
## Verified
- `uv lock --check` passes, and `uv run --frozen apm --version` prints 0.39.3.
- With no other `apm` on `PATH`, `uv run --frozen apm install` and `uv run --frozen apm audit` succeed, and the audit reports no drift.
- After that install, `.claude/commands/plan.md` and `.claude/commands/ship.md` contain `disable-model-invocation: true`. Neither file is tracked.
- `uv sync --frozen` leaves `.venv-dev` unchanged, and `pre-commit run --all-files` passes afterwards.
- `requirements-dev.lock` loses 40 packages, and no other version changes.
- `apm.lock.yaml` changes only in its timestamp, the apm version and the hashes of `plan.md` and `ship.md`.
- `python3 -m unittest discover -s tests/scripts`: 335 tests pass.
- A built Collection passes `scripts/check_tarball.py` and contains neither new file.
- `renovate --platform=local --dry-run=lookup` at 44.161.0 runs cleanly with the changed `renovate.json`.
- `ansible-test sanity`: passed in the pre-push hook.
## Not verified
- The `ci` image was not built locally.
- `uv sync --frozen` over an old `.venv` that still holds the dev tools.
- uv versions other than 0.11.24, and macOS.
- Molecule was not run locally.
---
- [x] I confirm third-party material is recorded in `NOTICE` and `REUSE.toml`, or there is none.
Assisted-by: Claude Code
A bare `apm` is whatever version a machine has. apm 0.37.0 to 0.39.1
refuse an apm.lock.yaml rewritten by 0.39.2 or later, and versions before
0.39.0 drop `disable-model-invocation` from the deployed Claude commands.
uv now runs one pinned version, from a .venv of its own.
apm-cli leaves requirements-dev.txt, so there is one pin. Its lock loses 40
packages and no other version moves. apm.lock.yaml is regenerated with the
pinned apm.
Refs: #517
Assisted-by: Claude Code
CODEOWNERS rules
requested review from Defame1297 2026-12-04 22:22:17 +00:00
Defame1297
scheduled this pull request to auto merge when all checks succeed 2026-12-05 20:32:37 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What and why
Closes #517
apm is now pinned at 0.39.3 in
pyproject.tomlanduv.lock, and run asuv run --frozen apm. Before this, a contributor got whatever apm was installed on their machine.apm-clileavesrequirements-dev.txtand its lock, so this is the only pin.After merging, in every existing clone:
scripts/dev-setup.shif you have not since #519. Otherwise the next step removes the tools the git hooks use.uv sync --frozen, thenuv run --frozen apm install.ship.md), move both files aside and install again.The merge publishes a new
ciimage version, becauserequirements-dev.*andimages/ci/Dockerfileare inputs of that image. The change only removes packages from it. Estimated compressed size of the/opt/venvlayer: about 52 MB, under the 100 MB limit.Renovate does not update the new pin until #518.
Verified
uv lock --checkpasses, anduv run --frozen apm --versionprints 0.39.3.apmonPATH,uv run --frozen apm installanduv run --frozen apm auditsucceed, and the audit reports no drift..claude/commands/plan.mdand.claude/commands/ship.mdcontaindisable-model-invocation: true. Neither file is tracked.uv sync --frozenleaves.venv-devunchanged, andpre-commit run --all-filespasses afterwards.requirements-dev.lockloses 40 packages, and no other version changes.apm.lock.yamlchanges only in its timestamp, the apm version and the hashes ofplan.mdandship.md.python3 -m unittest discover -s tests/scripts: 335 tests pass.scripts/check_tarball.pyand contains neither new file.renovate --platform=local --dry-run=lookupat 44.161.0 runs cleanly with the changedrenovate.json.ansible-test sanity: passed in the pre-push hook.Not verified
ciimage was not built locally.uv sync --frozenover an old.venvthat still holds the dev tools.NOTICEandREUSE.toml, or there is none.Assisted-by: Claude Code