1 Commits
Author SHA1 Message Date
Defame1297 595f517b49 chore(apm): pin apm with uv
Molecule / Result (pull_request) Waiting for needed jobs
Build / build (pull_request) Successful in 28s
Molecule / select (pull_request) Successful in 5s
Molecule / scenarios (pull_request) In progress
Lint / lint (pull_request) Successful in 4m16s
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
2026-12-04 21:48:53 +00:00
12 changed files with 1994 additions and 1193 deletions

No files matched your search

+2
View File
@@ -34,4 +34,6 @@ GLOSSARY\\.md @Defame1297
\\.claude/.* @Defame1297
apm\\.yml @Defame1297
apm\\.lock\\.yaml @Defame1297
pyproject\\.toml @Defame1297
uv\\.lock @Defame1297
\\.mcp\\.json @Defame1297
+6 -6
View File
@@ -1,6 +1,6 @@
lockfile_version: '4'
generated_at: '2026-11-29T13:12:37.842657+00:00'
apm_version: 0.38.1
generated_at: '2026-12-04T21:33:07.493501+00:00'
apm_version: 0.39.3
manifest_targets:
- claude
dependencies:
@@ -220,8 +220,8 @@ dependencies:
.claude/agents/plan-researcher.md: sha256:eda0457d2007cf0c6cb4745383a0369d03a26ed252d7251a1f5250003a89ef85
.claude/agents/plan-validator.md: sha256:a56e7a710fd9e7a9dd9e2601f1f2701b98fd229f3e014bba4bda4dfe5977ecae
.claude/commands/next.md: sha256:8e16330ec0f16dbbc86d44fca94699e33e393c9a8af76f45d3f3bd2b9c8bfa1f
.claude/commands/plan.md: sha256:2538b3dbb3860ebe93a39cad95cd5a1adcbeded19f404a84201b3e8aa7ce91c7
.claude/commands/ship.md: sha256:f108f73e60a884f46285955027fba47d6309fed6a89812948f577e27be180af8
.claude/commands/plan.md: sha256:c5216fb6c443ca9de45ad5cb69351a4e3193bcb5ffca4d59567495fcb5d7ec71
.claude/commands/ship.md: sha256:c3c9f516b9b01cb7f879d7d331187b12f697f73104b0eafdc813d64b73091284
.claude/skills/plan-track/LICENSE: sha256:9d3692e6b35e0e43b81e096352f11c6b884e7004d78d3dcd92768232c6704525
.claude/skills/plan-track/SKILL.md: sha256:fee5062c8c63b49f66368b290c8ebd8cfff744137670d0c037da1a49c455c047
.claude/skills/research-docs/LICENSE: sha256:9d3692e6b35e0e43b81e096352f11c6b884e7004d78d3dcd92768232c6704525
@@ -843,7 +843,7 @@ deployments:
owners:
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:2538b3dbb3860ebe93a39cad95cd5a1adcbeded19f404a84201b3e8aa7ce91c7
content_hash: sha256:c5216fb6c443ca9de45ad5cb69351a4e3193bcb5ffca4d59567495fcb5d7ec71
- kind: project-relative
target: claude
value: .claude/commands/ship.md
@@ -852,7 +852,7 @@ deployments:
owners:
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:f108f73e60a884f46285955027fba47d6309fed6a89812948f577e27be180af8
content_hash: sha256:c3c9f516b9b01cb7f879d7d331187b12f697f73104b0eafdc813d64b73091284
- kind: project-relative
target: claude
value: .claude/skills/code-review
+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.
+2
View File
@@ -60,6 +60,7 @@ build_ignore:
- images
- scripts
- tests/scripts
- pyproject.toml
- renovate.json
- ruff.toml
- requirements-dev.txt
@@ -67,6 +68,7 @@ build_ignore:
- requirements-molecule.txt
- requirements-molecule.lock
- requirements.yml
- uv.lock
- gitleaks-report.json
- importer_result.json
- 'roles/*/molecule'
+2 -2
View File
@@ -14,7 +14,7 @@
# distribution's python3 and ca-certificates.
# - /opt/venv: requirements-dev.lock, the hashed lock of requirements-dev.txt (ansible-core, ansible-lint, pre-commit,
# antsibull-changelog, galaxy-importer, reuse, molecule, proxmoxer), on the Python of
# .python-version (PYTHON_VERSION below), the one the lock was resolved on and a clone's .venv uses.
# .python-version (PYTHON_VERSION below), the one the lock was resolved on and a clone's .venv-dev uses.
# molecule is there for Lint's "Test the repository scripts" step, whose molecule tests import it; its
# Docker driver and community.docker are not: Molecule runs in the molecule-controller image.
# - /opt/collections: the collections of requirements.yml (the versions the roles are
@@ -71,7 +71,7 @@ COPY requirements-dev.txt requirements-dev.lock requirements.yml .pre-commit-con
# The interpreters come first: /opt/venv is built from the pinned one (PYTHON_VERSION, kept equal to
# .python-version and to the lock header by `check_image_versions.py pins`), not from the distribution's
# python3, so the tools run on the Python the lock was resolved on and a clone's .venv uses.
# python3, so the tools run on the Python the lock was resolved on and a clone's .venv-dev uses.
# uv only lives in the build stage (its own venv): the final image keeps the interpreters it
# downloaded, not the installer. The distribution's python3 only bootstraps uv.
RUN python3 -m venv /opt/uv-venv \
+12
View File
@@ -0,0 +1,12 @@
# Pins apm for contributors (docs/contributing/setup.md). The Lint and Build tools are pinned in requirements-dev.txt.
[project]
name = "kamino"
version = "0"
# ruff reads this floor too: a higher one makes it reformat existing files.
requires-python = ">=3.11"
[dependency-groups]
dev = ["apm-cli==0.39.3"]
[tool.uv]
package = false
-1
View File
@@ -196,7 +196,6 @@
"pypi"
],
"matchPackageNames": [
"apm-cli",
"antsibull-changelog",
"galaxy-importer",
"reuse",
+6 -1180
View File
File diff suppressed because it is too large. Load diff
+1 -4
View File
@@ -1,5 +1,5 @@
# Pinned tooling for Lint and Build, used by CI (.gitea/workflows) and locally:
# python3 -m venv .venv && . .venv/bin/activate && pip install --require-hashes -r requirements-dev.lock -r requirements-dev.txt
# python3 -m venv .venv-dev && . .venv-dev/bin/activate && pip install --require-hashes -r requirements-dev.lock -r requirements-dev.txt
# This file holds the direct pins; requirements-dev.lock is their hashed lock (every transitive
# package too, with the sha256 of each release file) and is what gets installed; pip refuses an
# install in which the two files disagree. Renovate bumps a pin here and regenerates the lock
@@ -18,6 +18,3 @@ molecule==26.11.1
# proxmoxer: the controller-side library community.proxmox's modules import (they refuse anything below 2.3),
# so lint runs where a consumer's controller would.
proxmoxer==2.3.0
# apm-cli: for changing apm.yml (run apm install, commit the lock). Keep it at 0.36.1 or later (#252):
# before 0.29.0, `apm audit --ci` compares the whole .claude/settings.json and fails on any hand-written key.
apm-cli==0.39.1
+2
View File
@@ -92,6 +92,8 @@ IGNORED = (
"ruff.toml",
"apm.yml",
"apm.lock.yaml",
"pyproject.toml",
"uv.lock",
".claude/*",
"tests/sanity/*",
"tests/scripts/*",
@@ -217,6 +217,10 @@ class SelectTest(unittest.TestCase):
chosen, _reason = self.select(["requirements-dev.txt", "requirements-dev.lock"])
self.assertEqual(chosen, [])
def test_the_apm_pin_selects_nothing(self):
chosen, _reason = self.select(["pyproject.toml", "uv.lock"])
self.assertEqual(chosen, [])
def test_molecule_requirements_select_everything(self):
# An ansible-core or molecule bump there changes the tools every scenario runs with.
for path in ("requirements-molecule.txt", "requirements-molecule.lock"):
Generated
+1951
View File
File diff suppressed because it is too large. Load diff