chore: trim the apm plugins and pin apm-cli #296

Merged
Defame1297 merged 2 commits from chore/193-trim-apm-pin-apm-cli into main 2026-11-22 18:34:58 +00:00
Owner

What and why

Closes #193

  • apm.yml: only the git and mattpocock plugins remain; bin, core and gitea are dropped (#104, item 1). The header now gives that reason in two lines; the "unpinned on purpose" text is gone, as the issue asks.
  • apm.lock.yaml: regenerated with apm install + apm prune at apm-cli 0.36.1. It lists only plugins/git, plugins/mattpocock and mattpocock's pinned third-party skills. The plugin commit is unchanged; apm kept the locked one. No hook was deployed, so .claude/settings.json and .claude/apm-hooks.json are untouched (they belong to #196).
  • requirements-dev.txt / requirements-dev.lock: apm-cli==0.36.1 (floor 0.36.1 per #252). 0.37.0 is newer, but it is one day old, inside renovate.json's 3-day minimumReleaseAge; Renovate will propose it. No existing lock pin moved.
  • image.yml: ci 0.2.32 → 0.2.33. requirements-dev.* is an image input, and #165 has not landed.
  • No changelog fragment: every changed file is in galaxy.yml build_ignore.

Image impact. apm-cli is in the ci image on purpose (#208, point 8: apm audit --ci will run in Lint). It brings 41 packages, among them llm, llm-github-models, openai, azure-ai-inference and aiohttp. The lock also gains pip==26.3 (a requirement of llm), which upgrades pip inside /opt/venv. pip-tools is not in that venv, so its pip-26 incompatibility does not apply.

Layer estimate (images/AGENTS.md): only the /opt/venv layer changes. Locally the venv goes from 46.6 MB to 66.4 MB gzip (+19.8 MB). With the registry's ~9% overhead that is about 72 MB, below the 100 MB limit. No other layer changes.

Verified

  • pre-commit run --all-files: all hooks pass. Commit-stage and commit-msg hooks passed on commit, and the pre-push ansible-test sanity passed on push.
  • python3 scripts/check_image_versions.py pins and ... bump origin/main: ok.
  • pip install --require-hashes -r requirements-dev.lock -r requirements-dev.txt into a fresh Python 3.14 venv succeeds; apm --version prints 0.36.1.
  • apm install / apm prune at 0.36.1 against the current skills source: 22 dependencies installed, no orphans; the lock holds only the two plugins.
  • Two-axis review (standards, spec) by sub-agents: both ready after one round of comment fixes.

Not verified

  • Lint and Build on this PR: not yet run when this was opened.
  • The real ci 0.2.33 build and its layer sizes: these happen only on main after merge. The 72 MB figure is a local estimate.
  • apm audit --ci: not run, and not in Lint yet (#194).
  • The follow-up pin PR for ci 0.2.33.

  • I confirm third-party material is recorded in NOTICE and REUSE.toml, or there is none.

Assisted-by: Claude Code:claude-opus-5-5

## What and why Closes #193 - `apm.yml`: only the `git` and `mattpocock` plugins remain; `bin`, `core` and `gitea` are dropped (#104, item 1). The header now gives that reason in two lines; the "unpinned on purpose" text is gone, as the issue asks. - `apm.lock.yaml`: regenerated with `apm install` + `apm prune` at apm-cli 0.36.1. It lists only `plugins/git`, `plugins/mattpocock` and mattpocock's pinned third-party skills. The plugin commit is unchanged; apm kept the locked one. No hook was deployed, so `.claude/settings.json` and `.claude/apm-hooks.json` are untouched (they belong to #196). - `requirements-dev.txt` / `requirements-dev.lock`: `apm-cli==0.36.1` (floor 0.36.1 per #252). 0.37.0 is newer, but it is one day old, inside `renovate.json`'s 3-day `minimumReleaseAge`; Renovate will propose it. No existing lock pin moved. - `image.yml`: `ci` 0.2.32 → 0.2.33. `requirements-dev.*` is an image input, and #165 has not landed. - No changelog fragment: every changed file is in `galaxy.yml` `build_ignore`. **Image impact.** apm-cli is in the `ci` image on purpose (#208, point 8: `apm audit --ci` will run in Lint). It brings 41 packages, among them `llm`, `llm-github-models`, `openai`, `azure-ai-inference` and `aiohttp`. The lock also gains `pip==26.3` (a requirement of `llm`), which upgrades pip inside `/opt/venv`. pip-tools is not in that venv, so its pip-26 incompatibility does not apply. **Layer estimate** (images/AGENTS.md): only the `/opt/venv` layer changes. Locally the venv goes from 46.6 MB to 66.4 MB gzip (+19.8 MB). With the registry's ~9% overhead that is about 72 MB, below the 100 MB limit. No other layer changes. ## Verified - `pre-commit run --all-files`: all hooks pass. Commit-stage and commit-msg hooks passed on commit, and the pre-push `ansible-test sanity` passed on push. - `python3 scripts/check_image_versions.py pins` and `... bump origin/main`: ok. - `pip install --require-hashes -r requirements-dev.lock -r requirements-dev.txt` into a fresh Python 3.14 venv succeeds; `apm --version` prints 0.36.1. - `apm install` / `apm prune` at 0.36.1 against the current skills source: 22 dependencies installed, no orphans; the lock holds only the two plugins. - Two-axis review (standards, spec) by sub-agents: both ready after one round of comment fixes. ## Not verified - Lint and Build on this PR: not yet run when this was opened. - The real `ci` 0.2.33 build and its layer sizes: these happen only on `main` after merge. The 72 MB figure is a local estimate. - `apm audit --ci`: not run, and not in Lint yet (#194). - The follow-up pin PR for `ci` 0.2.33. --- - [ ] I confirm third-party material is recorded in `NOTICE` and `REUSE.toml`, or there is none. Assisted-by: Claude Code:claude-opus-5-5
Claude added this to the Open to contributors milestone 2026-11-22 17:40:55 +00:00
Defame1297 was assigned by Claude 2026-11-22 17:40:55 +00:00
Claude added 1 commit 2026-11-22 17:40:56 +00:00
chore: trim the apm plugins and pin apm-cli
Lint / lint (pull_request) Canceled after 0s
Molecule / molecule (pull_request) Canceled after 0s
Build / build (pull_request) Canceled after 20s
f7d23a7c04
Keep only the git and mattpocock plugins in apm.yml (bin, core and gitea
dropped, per #104) and regenerate apm.lock.yaml with apm-cli 0.36.1.

Pin apm-cli 0.36.1 in requirements-dev.txt and its hashed lock, the floor
set by #252: before 0.29.0, `apm audit --ci` compares the whole
.claude/settings.json. This is an image input, so the ci image moves to
0.2.33.

Closes #193

Assisted-by: Claude Code:claude-opus-5-5
CODEOWNERS rules requested review from Defame1297 2026-11-22 17:40:56 +00:00
Defame1297 added 1 commit 2026-11-22 18:09:04 +00:00
Merge branch 'main' into chore/193-trim-apm-pin-apm-cli
Lint / lint (pull_request) Successful in 1m13s
Molecule / molecule (pull_request) Successful in 1s
Build / build (pull_request) Successful in 22s
7bb4d13dc0
Defame1297 scheduled this pull request to auto merge when all checks succeed 2026-11-22 18:34:09 +00:00
Defame1297 approved these changes 2026-11-22 18:34:57 +00:00
Defame1297 merged commit 5962b9b6fb into main 2026-11-22 18:34:58 +00:00
Defame1297 deleted branch chore/193-trim-apm-pin-apm-cli 2026-11-22 18:34:58 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#296