Re-check Shared agent primitives once the skills source is public #194

Open
opened 2026-11-15 21:38:23 +00:00 by Claude · 8 comments
Owner

Part of #87

Question

Shared agent primitives through apm was decided against the planned public skills source. Once the source has moved to a public repository in this organisation, does each assumption hold, and if so, what implementation does that make buildable?

Starts when the public source exists. If an assumption fails, reopen the affected part of #104's decision with the maintainer instead of working around it.

Assumed until public: verify each

  • URL and reach: the public source's URL and host; a contributor with no account and the Renovate job both fetch it over HTTPS without credentials.
  • Tags: each plugin is released as an annotated per-plugin tag <plugin>-v<version> (Renovate's apm manager and apm outdated recognise this form), and tags follow each plugin's version.
  • Licence: the public repository has a licence that matches what each plugin declares (MIT today), and third-party content (the mattpocock plugin's skills) keeps its upstream notices; the REUSE.toml annotation for the third-party MIT skills is added (the commit step below must annotate them).
  • Clean content: the git and mattpocock skills carry no private names or source-internal ADR citations (the source issue filed on 2026-11-15 asks for this; rtk stays, by decision).
  • Renovate: the Renovate version renovate.yml runs has the apm manager, and its job can run apm install to regenerate apm.lock.yaml and .claude/.

Implementation owed (file as Status/Ready for Agent issues once verified)

  • apm.yml entries in the string form <host>/<org>/<repo>/plugins/<plugin>#<plugin>-v<version>, apm install re-run, deployed files committed.
  • renovate.json: enable the apm manager; each holocron-source bump (the mattpocock plugin included) waits for the maintainer's code-owner approval; apm available to the Renovate job for the artifact update.
  • scripts/check_bot_pr_diff.py: allow the apm.yml ref lines, apm.lock.yaml and .claude/ only when apm.yml changed in the same pull request; test both cases.
  • The root line on how to change a plugin (filed from this ticket, as chore: trim the apm plugins and pin apm-cli states).
  • The gitea plugin, rebuilt on the tea CLI, added back to apm.yml: a convenience only. The rewrite of docs/agents/issue-tracker.md and the contributor setup for tea are in docs(agents): make issue-tracker.md tool-neutral and name tea as the supported tool.
Part of #87 ## Question [Shared agent primitives through apm](https://git.rkdr.net/Mortis/Kamino/issues/104) was decided against the *planned* public skills source. Once the source has moved to a public repository in this organisation, does each assumption hold, and if so, what implementation does that make buildable? Starts when the public source exists. If an assumption fails, reopen the affected part of #104's decision with the maintainer instead of working around it. ## Assumed until public: verify each - [ ] **URL and reach:** the public source's URL and host; a contributor with no account and the Renovate job both fetch it over HTTPS without credentials. - [ ] **Tags:** each plugin is released as an annotated per-plugin tag `<plugin>-v<version>` (Renovate's `apm` manager and `apm outdated` recognise this form), and tags follow each plugin's version. - [ ] **Licence:** the public repository has a licence that matches what each plugin declares (MIT today), and third-party content (the `mattpocock` plugin's skills) keeps its upstream notices; the `REUSE.toml` annotation for the third-party MIT skills is added (the commit step below must annotate them). - [ ] **Clean content:** the `git` and `mattpocock` skills carry no private names or source-internal ADR citations (the source issue filed on 2026-11-15 asks for this; `rtk` stays, by decision). - [ ] **Renovate:** the Renovate version `renovate.yml` runs has the `apm` manager, and its job can run `apm install` to regenerate `apm.lock.yaml` and `.claude/`. ## Implementation owed (file as `Status/Ready for Agent` issues once verified) - `apm.yml` entries in the string form `<host>/<org>/<repo>/plugins/<plugin>#<plugin>-v<version>`, `apm install` re-run, deployed files committed. - `renovate.json`: enable the `apm` manager; each holocron-source bump (the `mattpocock` plugin included) waits for the maintainer's code-owner approval; apm available to the Renovate job for the artifact update. - `scripts/check_bot_pr_diff.py`: allow the `apm.yml` ref lines, `apm.lock.yaml` and `.claude/` only when `apm.yml` changed in the same pull request; test both cases. - The root line on how to change a plugin (filed from this ticket, as [chore: trim the apm plugins and pin apm-cli](https://git.rkdr.net/Mortis/Kamino/issues/193) states). - The `gitea` plugin, rebuilt on the `tea` CLI, added back to `apm.yml`: a convenience only. The rewrite of `docs/agents/issue-tracker.md` and the contributor setup for `tea` are in [docs(agents): make issue-tracker.md tool-neutral and name tea as the supported tool](https://git.rkdr.net/Mortis/Kamino/issues/267).
Claude added the
Wayfinder
Task
label 2026-11-15 21:38:23 +00:00
Author
Owner

Scope added by Committed skills as agent instructions: ownership, updates and required tools (resolution comment, points 5, 6, 8 and 9). This ticket now starts when #229 is done, and it blocks on that issue.

Verify, in addition:

  • Clean content also means that no skill contradicts a rule decided here. For example, no Co-authored-by: trailer for agents. (rtk git is fine: rtk is required.)

Implementation owed, in addition (file into Open to friends):

  • Commit the deployed .claude/skills and .claude/agents (moved here from #193): remove them from .gitignore, annotate the third-party MIT skills in REUSE.toml, and add lint and link-check exclusions.
  • apm audit --ci in Lint, only on pull requests that touch apm.yml, apm.lock.yaml or .claude/, outside the network-off fast path. Check whether the hash check runs offline; if it does, drop the fetch.
  • The bot-diff allowance for apm.yml, the lock and .claude/ must not bypass CODEOWNERS (.claude/, apm.yml and the lock are owned).
Scope added by [Committed skills as agent instructions: ownership, updates and required tools](https://git.rkdr.net/Mortis/Kamino/issues/208) (resolution comment, points 5, 6, 8 and 9). This ticket now starts when [#229](https://git.rkdr.net/Mortis/Kamino/issues/229) is done, and it blocks on that issue. **Verify, in addition:** - [ ] **Clean content** also means that no skill contradicts a rule decided here. For example, no `Co-authored-by:` trailer for agents. (`rtk git` is fine: `rtk` is required.) **Implementation owed, in addition (file into *Open to friends*):** - Commit the deployed `.claude/skills` and `.claude/agents` (moved here from [#193](https://git.rkdr.net/Mortis/Kamino/issues/193)): remove them from `.gitignore`, annotate the third-party MIT skills in `REUSE.toml`, and add lint and link-check exclusions. - `apm audit --ci` in Lint, only on pull requests that touch `apm.yml`, `apm.lock.yaml` or `.claude/`, outside the network-off fast path. Check whether the hash check runs offline; if it does, drop the fetch. - The bot-diff allowance for `apm.yml`, the lock and `.claude/` must not bypass CODEOWNERS (`.claude/`, `apm.yml` and the lock are owned).
Author
Owner

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

Review of the map (2026-11-17). - The body says skills-source bumps "automerge (the `mattpocock` plugin included)". It should say: Renovate proposes the bumps and each waits for the maintainer's code-owner approval, because `.claude/`, `apm.yml` and the lock are owned. Decision: [Committed skills as agent instructions: ownership, updates and required tools](https://git.rkdr.net/Mortis/Kamino/issues/208), point 2. - The issues this ticket files belong to *Open to friends*, but the ticket has no milestone, so the milestone does not show that the gate depends on work not yet filed. Proposed: this ticket joins the milestone as their placeholder. Not changed; the default is 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). - Three open questions touch what this ticket re-checks: the `rtk` hook under apm's audit ([The rtk hook if apm's audit keeps comparing the whole settings file](https://git.rkdr.net/Mortis/Kamino/issues/252)), the tool a contributor's agent uses for the tracker, which decides whether the `tea` items are owed before friends arrive ([What a contributor's agent uses to reach the tracker when friends arrive](https://git.rkdr.net/Mortis/Kamino/issues/254)), and whether the clean-content check must catch a skill that applies `ready-for-agent` itself ([Who counts as having set Status/Ready for Agent, and where that rule lives](https://git.rkdr.net/Mortis/Kamino/issues/251)). - Observation: the clean-content check looks for skills that contradict a rule here. A kept skill can also carry a rule of its own, which the map's Agent tooling note says a skill never does. Worth one line in the re-check's list.
Author
Owner

Scope added by The rtk hook if apm's audit keeps comparing the whole settings file (resolution, points 1 and 4): the rtk hook.

  • Precondition: the skills source ships a new rtk plugin whose hook primitive is the guarded PreToolUse hook (command -v rtk >/dev/null 2>&1 && exec rtk hook claude || exit 0, matcher Bash). That issue is filed in the skills source by the maintainer, outside this map.
  • In Kamino: add the plugin to apm.yml, allow it with apm approve (the executables.allow entry is committed, as decided for executables), run apm install, commit the deployed hook entry in .claude/settings.json and .claude/apm-hooks.json, and confirm apm audit --ci passes.
  • Acceptance moved here from #228: with rtk installed, a Claude Code Bash call of git status is rewritten by the deployed hook; with rtk removed from PATH it runs unchanged and the hook exits 0. If #228 has landed, test and write down what happens with a global rtk init -g hook as well, and have dev-setup.sh warn if the two double-wrap.
Scope added by [The rtk hook if apm's audit keeps comparing the whole settings file](https://git.rkdr.net/Mortis/Kamino/issues/252) (resolution, points 1 and 4): the `rtk` hook. - Precondition: the skills source ships a new `rtk` plugin whose hook primitive is the guarded PreToolUse hook (`command -v rtk >/dev/null 2>&1 && exec rtk hook claude || exit 0`, matcher `Bash`). That issue is filed in the skills source by the maintainer, outside this map. - In Kamino: add the plugin to `apm.yml`, allow it with `apm approve` (the `executables.allow` entry is committed, as decided for executables), run `apm install`, commit the deployed hook entry in `.claude/settings.json` and `.claude/apm-hooks.json`, and confirm `apm audit --ci` passes. - Acceptance moved here from [#228](https://git.rkdr.net/Mortis/Kamino/issues/228): with `rtk` installed, a Claude Code `Bash` call of `git status` is rewritten by the deployed hook; with `rtk` removed from `PATH` it runs unchanged and the hook exits 0. If #228 has landed, test and write down what happens with a global `rtk init -g` hook as well, and have `dev-setup.sh` warn if the two double-wrap.
Author
Owner
The `rtk` plugin precondition is filed in the skills source: [feat(rtk): add an rtk plugin whose Claude Code hook routes Bash calls through rtk when it is installed](https://git.rkdr.net/Defame1297/holocron/issues/179).
Author
Owner

Scope changed by What a contributor's agent uses to reach the tracker when contributors arrive (resolution, points 6 and 7).

  • Moved out: rewriting docs/agents/issue-tracker.md and the issue-tracker lines of the agent context, and documenting the contributor setup for tea. Both are now in docs(agents): make issue-tracker.md tool-neutral and name tea as the supported tool, which does not wait on the skills source.
  • Remaining here: the gitea plugin, rebuilt on tea, added back to apm.yml. It is a convenience: its issue is filed with no milestone, not into Open to contributors.
  • Verify, in addition (clean content): the plugin's skills follow the Conventions of docs/agents/issue-tracker.md and assume no tool beyond its supported one (tea).
Scope changed by [What a contributor's agent uses to reach the tracker when contributors arrive](https://git.rkdr.net/Mortis/Kamino/issues/254) (resolution, points 6 and 7). - **Moved out:** rewriting `docs/agents/issue-tracker.md` and the issue-tracker lines of the agent context, and documenting the contributor setup for `tea`. Both are now in [docs(agents): make issue-tracker.md tool-neutral and name tea as the supported tool](https://git.rkdr.net/Mortis/Kamino/issues/267), which does not wait on the skills source. - **Remaining here:** the `gitea` plugin, rebuilt on `tea`, added back to `apm.yml`. It is a convenience: its issue is filed with no milestone, not into *Open to contributors*. - **Verify, in addition (clean content):** the plugin's skills follow the Conventions of `docs/agents/issue-tracker.md` and assume no tool beyond its supported one (`tea`).
Claude added this to the Open to contributors milestone 2026-11-20 21:25:58 +00:00
Author
Owner

Milestone set by Which issues must land before the first friend (question 4): this ticket stands in the contributor milestone as the placeholder for the issues it files, and those issues go into that milestone too. The tea plugin convenience stays out of it, as #254 decided.

Milestone set by [Which issues must land before the first friend](https://git.rkdr.net/Mortis/Kamino/issues/259) (question 4): this ticket stands in the contributor milestone as the placeholder for the issues it files, and those issues go into that milestone too. The `tea` plugin convenience stays out of it, as #254 decided.
Author
Owner

Body edited on 2026-11-20 (final validation round of the map, #87 (comment)): source bumps no longer automerge (each waits for the maintainer's code-owner approval); the gitea plugin bullet keeps only the plugin convenience, the issue-tracker.md rewrite and tea setup being in #267; the root line on how to change a plugin, which #193 says is filed from this ticket, is added to the owed list.

Body edited on 2026-11-20 (final validation round of the map, https://git.rkdr.net/Mortis/Kamino/issues/87#issuecomment-12281): source bumps no longer automerge (each waits for the maintainer's code-owner approval); the `gitea` plugin bullet keeps only the plugin convenience, the `issue-tracker.md` rewrite and `tea` setup being in #267; the root line on how to change a plugin, which #193 says is filed from this ticket, is added to the owed list.
Author
Owner

Final validation round, second pass (2026-11-20): body edited.

  • Licence checklist item: "the .claude/** annotation in REUSE.toml still matches" became "the REUSE.toml annotation for the third-party MIT skills is added (the commit step must annotate them)". REUSE.toml has no .claude/** annotation today.
Final validation round, second pass (2026-11-20): body edited. - Licence checklist item: "the `.claude/**` annotation in `REUSE.toml` still matches" became "the `REUSE.toml` annotation for the third-party MIT skills is added (the commit step must annotate them)". `REUSE.toml` has no `.claude/**` annotation today.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: Mortis/Kamino#194