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

Closed
opened 2026-11-15 21:38:06 +00:00 by Claude · 4 comments
Owner

Spec: Shared agent primitives through apm (resolution comment, items 1–3, 6 and 8), narrowed by Committed skills as agent instructions: ownership, updates and required tools, The rtk hook if apm's audit keeps comparing the whole settings file and Which issues must land before the first friend. Body rewritten 2026-11-20 to the scope that remains; the earlier scope is in the comments.

What to do

Plugins (apm.yml)

  • Remove the bin, core and gitea entries. Keep git and mattpocock. Keep targets: [claude].
  • Rewrite the header comment: explain the plugin choice in one or two lines and point to #104; drop the "unpinned on purpose" reasoning (pinning arrives with the public skills source).
  • Run apm install (you need access to the current skills source; if you have none, this issue is Ready for Human) so apm.lock.yaml matches; apm prune if removed packages leave files behind. .claude/skills and .claude/agents stay gitignored.

apm as a dev tool

  • Add apm-cli to requirements-dev.txt at 0.36.1 or later and regenerate requirements-dev.lock (scripts/lock-requirements.sh). Reason for the floor: before 0.29.0, apm audit --ci compares the whole .claude/settings.json and fails on any hand-added key.
  • This is an image input: carry the PATCH bump of the ci image version: (scripts/bump_image_versions.py), per the two-PR loop, unless ci(images): assign image versions in CI has landed first. This issue does not wait for it.
  • scripts/dev-setup.sh does not run apm install.

Not in this issue

Done when

Lint and Build pass; apm.yml lists only the git and mattpocock plugins and apm.lock.yaml matches it; apm-cli is pinned at 0.36.1 or later in requirements-dev.txt and its lock; the pull request says what was verified and what was not.

Spec: [Shared agent primitives through apm](https://git.rkdr.net/Mortis/Kamino/issues/104) (resolution comment, items 1–3, 6 and 8), narrowed by [Committed skills as agent instructions: ownership, updates and required tools](https://git.rkdr.net/Mortis/Kamino/issues/208), [The rtk hook if apm's audit keeps comparing the whole settings file](https://git.rkdr.net/Mortis/Kamino/issues/252) and [Which issues must land before the first friend](https://git.rkdr.net/Mortis/Kamino/issues/259). Body rewritten 2026-11-20 to the scope that remains; the earlier scope is in the comments. ## What to do **Plugins** (`apm.yml`) - Remove the `bin`, `core` and `gitea` entries. Keep `git` and `mattpocock`. Keep `targets: [claude]`. - Rewrite the header comment: explain the plugin choice in one or two lines and point to #104; drop the "unpinned on purpose" reasoning (pinning arrives with the public skills source). - Run `apm install` (you need access to the current skills source; if you have none, this issue is `Ready for Human`) so `apm.lock.yaml` matches; `apm prune` if removed packages leave files behind. `.claude/skills` and `.claude/agents` stay gitignored. **apm as a dev tool** - Add `apm-cli` to `requirements-dev.txt` at 0.36.1 or later and regenerate `requirements-dev.lock` (`scripts/lock-requirements.sh`). Reason for the floor: before 0.29.0, `apm audit --ci` compares the whole `.claude/settings.json` and fails on any hand-added key. - This is an image input: carry the PATCH bump of the `ci` image `version:` (`scripts/bump_image_versions.py`), per the two-PR loop, unless [ci(images): assign image versions in CI](https://git.rkdr.net/Mortis/Kamino/issues/165) has landed first. This issue does not wait for it. - `scripts/dev-setup.sh` does not run `apm install`. ## Not in this issue - Committing the deployed `.claude/skills` and `.claude/agents`, and the root line on how to change a plugin: filed from [Re-check Shared agent primitives once the skills source is public](https://git.rkdr.net/Mortis/Kamino/issues/194). - `rtk`: [#228](https://git.rkdr.net/Mortis/Kamino/issues/228). - `docs/agents/issue-tracker.md` still names the `gitea` skill this removes: [#267](https://git.rkdr.net/Mortis/Kamino/issues/267). ## Done when Lint and Build pass; `apm.yml` lists only the `git` and `mattpocock` plugins and `apm.lock.yaml` matches it; `apm-cli` is pinned at 0.36.1 or later in `requirements-dev.txt` and its lock; the pull request says what was verified and what was not.
Claude added the
Status
Ready for Agent
label 2026-11-15 21:38:06 +00:00
Claude added a new dependency 2026-11-15 22:20:53 +00:00
Claude added this to the Open to contributors milestone 2026-11-15 22:21:20 +00:00
Author
Owner

ci(images): assign image versions in CI (#165) now blocks this; once it lands CI assigns the image version, so skip the bump_image_versions.py step. (From Order of the implementation backlog, #198.) It also waits on the contributor-doc split (#189) and root AGENTS.md (#185): edit those files instead of CLAUDE.md/CONTRIBUTING.md.

ci(images): assign image versions in CI (#165) now blocks this; once it lands CI assigns the image version, so skip the `bump_image_versions.py` step. (From Order of the implementation backlog, #198.) It also waits on the contributor-doc split (#189) and root AGENTS.md (#185): edit those files instead of `CLAUDE.md`/`CONTRIBUTING.md`.
Author
Owner

Scope changed by Committed skills as agent instructions: ownership, updates and required tools (resolution comment, points 5, 7 and 8):

  • Out: committing the deployed .claude/skills and .claude/agents. That waits for the clean public skills source (#229), and #194 files it. .claude/skills and .claude/agents stay gitignored for now.
  • Out: the rtk setup and docs, which move to #228 (rtk-oss, installed by dev-setup.sh, guarded tracked hook; no rtk init -g).
  • Kept: trim apm.yml to the git and mattpocock plugins, and pin apm-cli in requirements-dev.txt and its lock. apm-cli reaching the ci image through those files is now accepted, because apm audit --ci will run in Lint.
Scope changed by [Committed skills as agent instructions: ownership, updates and required tools](https://git.rkdr.net/Mortis/Kamino/issues/208) (resolution comment, points 5, 7 and 8): - **Out:** committing the deployed `.claude/skills` and `.claude/agents`. That waits for the clean public skills source ([#229](https://git.rkdr.net/Mortis/Kamino/issues/229)), and [#194](https://git.rkdr.net/Mortis/Kamino/issues/194) files it. `.claude/skills` and `.claude/agents` stay gitignored for now. - **Out:** the `rtk` setup and docs, which move to [#228](https://git.rkdr.net/Mortis/Kamino/issues/228) (`rtk-oss`, installed by `dev-setup.sh`, guarded tracked hook; no `rtk init -g`). - **Kept:** trim `apm.yml` to the `git` and `mattpocock` plugins, and pin `apm-cli` in `requirements-dev.txt` and its lock. `apm-cli` reaching the `ci` image through those files is now accepted, because `apm audit --ci` will run in Lint.
Author
Owner

Review of the map (2026-11-17).

After Committed skills as agent instructions: ownership, updates and required tools this issue only trims apm.yml and pins apm-cli. The title, half the body and the done-condition still describe the parts that moved out.

  • Withdrawn sections: "Commit the deployed files" (all of it, the "Do not add .claude/ to CODEOWNERS" line included) and the rtk paragraph under Docs.
  • Docs. The triggered root line ("edit apm.yml, run apm install, and commit ... the deployed .claude/ files together") moves to the issue the re-check files for the skills commit; .claude/skills stays ignored until then.
  • Done when becomes: Lint and Build pass; apm.yml lists only the git and mattpocock plugins and apm.lock.yaml matches it; apm-cli is pinned in requirements-dev.txt and its lock; the pull request says what was verified and what was not.
  • Label. The trim needs apm install against the current skills source. An agent without access to it cannot do that part. Not certain whether the agent account can reach that source; if not, this is Status/Ready for Human, as the body says itself.
  • Removing the gitea plugin leaves docs/agents/issue-tracker.md pointing at a skill the repository no longer deploys: What a contributor's agent uses to reach the tracker when friends arrive.

Proposed, not done: title "chore: trim the apm plugins and pin apm-cli". Whether the trim stays in the gate, and its edge from the image-version issue, are in Which issues must land before the first friend: image versions in CI, the apm trim and the unfiled skills commit.

Review of the map (2026-11-17). After [Committed skills as agent instructions: ownership, updates and required tools](https://git.rkdr.net/Mortis/Kamino/issues/208) this issue only trims `apm.yml` and pins `apm-cli`. The title, half the body and the done-condition still describe the parts that moved out. - **Withdrawn sections:** "Commit the deployed files" (all of it, the "Do not add `.claude/` to CODEOWNERS" line included) and the `rtk` paragraph under Docs. - **Docs.** The triggered root line ("edit `apm.yml`, run `apm install`, and commit ... the deployed `.claude/` files together") moves to the issue the re-check files for the skills commit; `.claude/skills` stays ignored until then. - **Done when** becomes: Lint and Build pass; `apm.yml` lists only the `git` and `mattpocock` plugins and `apm.lock.yaml` matches it; `apm-cli` is pinned in `requirements-dev.txt` and its lock; the pull request says what was verified and what was not. - **Label.** The trim needs `apm install` against the current skills source. An agent without access to it cannot do that part. Not certain whether the agent account can reach that source; if not, this is `Status/Ready for Human`, as the body says itself. - Removing the `gitea` plugin leaves `docs/agents/issue-tracker.md` pointing at a skill the repository no longer deploys: [What a contributor's agent uses to reach the tracker when friends arrive](https://git.rkdr.net/Mortis/Kamino/issues/254). Proposed, not done: title "chore: trim the apm plugins and pin apm-cli". Whether the trim stays in the gate, and its edge from the image-version issue, are in [Which issues must land before the first friend: image versions in CI, the apm trim and the unfiled skills commit](https://git.rkdr.net/Mortis/Kamino/issues/259).
Author
Owner

Scope changed by The rtk hook if apm's audit keeps comparing the whole settings file (resolution, point 3): pin apm-cli at 0.36.1 or later. Reason: 0.28.0's apm audit --ci compares the whole .claude/settings.json and fails on any hand-added key; from 0.29.0 it compares only apm-owned hook entries (read from source, confirmed by the retest in #196).

Scope changed by [The rtk hook if apm's audit keeps comparing the whole settings file](https://git.rkdr.net/Mortis/Kamino/issues/252) (resolution, point 3): pin `apm-cli` at 0.36.1 or later. Reason: 0.28.0's `apm audit --ci` compares the whole `.claude/settings.json` and fails on any hand-added key; from 0.29.0 it compares only apm-owned hook entries (read from source, confirmed by the retest in [#196](https://git.rkdr.net/Mortis/Kamino/issues/196)).
Claude changed title from chore: commit the deployed agent skills, trim the apm plugins and pin apm-cli to chore: trim the apm plugins and pin apm-cli 2026-11-20 21:26:23 +00:00
Defame1297 was assigned by Claude 2026-11-22 17:17:41 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: Mortis/Kamino#193