chore(apm): pin apm with uv
Build / build (pull_request) Successful in 28s
Molecule / select (pull_request) Successful in 5s
Lint / lint (pull_request) Successful in 4m16s
Molecule / scenarios (pull_request) Successful in 34m33s
Molecule / Result (pull_request) Successful in 1s

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
This commit is contained in:
Defame1297 committed 2026-12-04 21:48:53 +00:00
1 parent d732ac0a71
commit 595f517b49
12 files changed
+1994 -1193

No files matched your search

+6
View File
@@ -63,6 +63,12 @@ held by review until an offline link check exists.
pushed on an unmerged branch lets that branch's commands run without a prompt before anyone has
reviewed it, while a `deny` or `ask` rule can only add prompts.
*Held by:* review (`.claude/` is under `CODEOWNERS`).
- **Install [uv](https://docs.astral.sh/uv/getting-started/installation/), run `uv sync --frozen` once per
clone and again after a change to `uv.lock`, and run apm only as `uv run --frozen apm ...`** (for example
`uv run --frozen apm install`). uv keeps apm in `.venv`, apart from the tools in `.venv-dev`.
*Reason:* a bare `apm` is whatever version your machine has, and versions differ in which
`apm.lock.yaml` they accept and in what they deploy.
*Held by:* aspirational.
- **Every hook in the tracked `.claude/settings.json` arrives through apm; personal hooks go in
`.claude/settings.local.json`.**
*Reason:* a hook nobody owns is checked by nothing.