Package boundaries and names #171

Closed
opened 2026-11-12 18:05:43 +00:00 by Claude · 2 comments
Owner

Part of #166

Question

How are the new apm packages cut and named? One infra package vs. per-tool packages (ansible, gitops/k8s, tofu) vs. a shared base plus per-tool packages; what the team package is called; each package's one-sentence domain boundary (ADR-0021); family prefixes for skill names; and which existing/external dependencies each declares.

Inputs (from #170)

  • The team package replaces mattpocock's delivery chain (to-spec, to-tickets, triage, implement, implement-spec, code-review, tdd) first-party (ADR-0031): a Lead skill + thin lead agent, and four Role agents (planner, implementer, reviewer, operator). Decide how mattpocock is trimmed to its thinking tools as the team lands, and how name collisions (code-review, tdd) are handled during the overlap.
  • The operator is tool-agnostic; infra packages supply the per-tool verify/apply skills it loads.
Part of #166 ## Question How are the new apm packages cut and named? One `infra` package vs. per-tool packages (`ansible`, `gitops`/`k8s`, `tofu`) vs. a shared base plus per-tool packages; what the team package is called; each package's one-sentence domain boundary (ADR-0021); family prefixes for skill names; and which existing/external dependencies each declares. ## Inputs (from #170) - The team package **replaces `mattpocock`'s delivery chain** (`to-spec`, `to-tickets`, `triage`, `implement`, `implement-spec`, `code-review`, `tdd`) first-party (ADR-0031): a **Lead** skill + thin `lead` agent, and four **Role agents** (planner, implementer, reviewer, operator). Decide how `mattpocock` is trimmed to its thinking tools as the team lands, and how name collisions (`code-review`, `tdd`) are handled during the overlap. - The operator is tool-agnostic; infra packages supply the per-tool verify/apply skills it loads.
Claude added this to the Map: Infra and agent-team packages milestone 2026-11-12 18:05:43 +00:00
Claude added the Wayfinder/Grilling label 2026-11-12 18:05:43 +00:00
Claude added a new dependency 2026-11-12 18:05:52 +00:00
Claude added a new dependency 2026-11-12 18:05:53 +00:00
Claude added a new dependency 2026-11-12 18:05:56 +00:00
Author
Owner

Update from the revised #170 resolution

The single Lead is gone. The team package now holds stage-lead agents planner, implement-lead, reviewer, operator and implement specialists test-author, implementer, qa; stage-lead bodies carry the stage flow, skills carry know-how (which package owns those skills is part of this ticket). Tested targets: Claude Code + Copilot CLI; others best effort.

## Update from the revised #170 resolution The single **Lead** is gone. The team package now holds stage-lead agents `planner`, `implement-lead`, `reviewer`, `operator` and implement specialists `test-author`, `implementer`, `qa`; stage-lead bodies carry the stage flow, skills carry know-how (which package owns those skills is part of this ticket). Tested targets: Claude Code + Copilot CLI; others best effort.
Defame1297 was assigned by Claude 2026-11-14 13:26:37 +00:00
Author
Owner

Resolution

Grilled with the map owner over three rounds. No ADR (the cut is cheap to change); GLOSSARY gains delivery- as a Family prefix example.

Packages

Package Boundary (published description, ADR-0021) Depends on
delivery Agents and skills for taking a change from spec to a verified merge through tracker-gated stages. git, gitea; mattpocock only if the inventory has an agent call grilling or domain-modeling
ansible Skills for authoring, testing and dry-running Ansible playbooks, roles and collections. none
gitops Skills for authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it. k8s; fluxcd/agent-skills gitops-knowledge and gitops-repo-audit, pinned at v0.4.0
k8s Skills for read-only diagnosis of workloads on a Kubernetes cluster. none
  • No umbrella infra package and no shared base. tofu is a reserved name, not created.
  • delivery and the tool packages do not depend on each other; the consuming repo lists what it needs. delivery declares exactly the packages its agents route to, which makes v1 Gitea-only (ADR-0007).
  • gitops is a hybrid package: it pins the two upstream skills and authors Sealed Secrets and live Flux diagnosis. Live Flux diagnosis hands off to the k8s troubleshooting skill for pod-level problems, hence the dependency.
  • All four start at 0.1.0, target claude, copilot and codex, and are installed by holocron's root apm.yml like every existing package (keeps ADR-0018's "this repo runs what it ships" without an exception and puts them under the install replay).

Names

  • Agents take the package prefix: delivery-planner, delivery-implement-lead, delivery-test-author, delivery-implementer, delivery-qa, delivery-reviewer, delivery-operator. The GLOSSARY role names stay bare. Reason: these packages drop into any repo, and apm never errors on a name collision.
  • Skill prefixes: delivery-, ansible-, k8s-, and in gitops flux- and sealed-secrets-. First-party skills never use gitops-, which upstream owns. No skill takes a bare package or prefix name.
  • No first-party skill or agent reuses an upstream chain name (to-spec, to-tickets, triage, implement, implement-spec, code-review, tdd).

MCP

  • CLI over MCP, always (owner's standing rule). No v1 package declares an MCP server. gitops-cluster-debug is not pulled: it needs flux-operator-mcp, which expects Flux Operator, and ansible-homelab-mono runs plain flux bootstrap. containers/kubernetes-mcp-server is not used either.

Trimming mattpocock

  • Both chains install side by side during the build. One PR after the destination test passes drops the seven chain skills and retargets the diagnose, write-docs and forge routes to tdd/triage. codebase-design stays (improve-codebase-architecture calls it).

Repo-level doc

  • Each consuming repo has one docs/agents/delivery.md, pointed to from its AGENTS.md, in a format delivery owns: what the repo contains and which tool skills apply, the CI check names delivery-qa reads, and repo conventions.

Evidence (subagent, apm 0.28.0, local-path experiments in a scratch directory; not committed):

  • A hybrid package (own .apm/ primitives plus a fluxcd/agent-skills/skills/<name>#v0.4.0 subpath dependency) delivers both to a consumer; v0.4.0 exists upstream. The repo's full test suite was not run against a hybrid package.
  • Name collisions never error: a hand-written agent or .apm/ skill in the consumer is kept and the package's skipped with a warning; between two packages the winner differs between the first install and later ones, and a later agent overwrite is silent.
  • The root executables: allow: block does not gate MCP servers; a self-defined server from a direct dependency deploys with no approval step.
  • /root/ansible uses plain flux bootstrap (gotk-components.yaml, no FluxInstance). flux-operator-mcp behaviour on such a cluster was read from source, not run.
## Resolution Grilled with the map owner over three rounds. No ADR (the cut is cheap to change); GLOSSARY gains `delivery-` as a Family prefix example. **Packages** | Package | Boundary (published description, ADR-0021) | Depends on | |---|---|---| | `delivery` | Agents and skills for taking a change from spec to a verified merge through tracker-gated stages. | `git`, `gitea`; `mattpocock` only if the inventory has an agent call `grilling` or `domain-modeling` | | `ansible` | Skills for authoring, testing and dry-running Ansible playbooks, roles and collections. | none | | `gitops` | Skills for authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it. | `k8s`; `fluxcd/agent-skills` `gitops-knowledge` and `gitops-repo-audit`, pinned at `v0.4.0` | | `k8s` | Skills for read-only diagnosis of workloads on a Kubernetes cluster. | none | - No umbrella `infra` package and no shared base. `tofu` is a reserved name, not created. - `delivery` and the tool packages do not depend on each other; the consuming repo lists what it needs. `delivery` declares exactly the packages its agents route to, which makes v1 Gitea-only (ADR-0007). - `gitops` is a hybrid package: it pins the two upstream skills and authors Sealed Secrets and live Flux diagnosis. Live Flux diagnosis hands off to the `k8s` troubleshooting skill for pod-level problems, hence the dependency. - All four start at `0.1.0`, target `claude`, `copilot` and `codex`, and are installed by holocron's root `apm.yml` like every existing package (keeps ADR-0018's "this repo runs what it ships" without an exception and puts them under the install replay). **Names** - Agents take the package prefix: `delivery-planner`, `delivery-implement-lead`, `delivery-test-author`, `delivery-implementer`, `delivery-qa`, `delivery-reviewer`, `delivery-operator`. The GLOSSARY role names stay bare. Reason: these packages drop into any repo, and apm never errors on a name collision. - Skill prefixes: `delivery-`, `ansible-`, `k8s-`, and in `gitops` `flux-` and `sealed-secrets-`. First-party skills never use `gitops-`, which upstream owns. No skill takes a bare package or prefix name. - No first-party skill or agent reuses an upstream chain name (`to-spec`, `to-tickets`, `triage`, `implement`, `implement-spec`, `code-review`, `tdd`). **MCP** - **CLI over MCP, always** (owner's standing rule). No v1 package declares an MCP server. `gitops-cluster-debug` is not pulled: it needs `flux-operator-mcp`, which expects Flux Operator, and `ansible-homelab-mono` runs plain `flux bootstrap`. `containers/kubernetes-mcp-server` is not used either. **Trimming `mattpocock`** - Both chains install side by side during the build. One PR after the destination test passes drops the seven chain skills and retargets the `diagnose`, `write-docs` and `forge` routes to `tdd`/`triage`. `codebase-design` stays (`improve-codebase-architecture` calls it). **Repo-level doc** - Each consuming repo has one `docs/agents/delivery.md`, pointed to from its AGENTS.md, in a format `delivery` owns: what the repo contains and which tool skills apply, the CI check names `delivery-qa` reads, and repo conventions. **Evidence** (subagent, apm 0.28.0, local-path experiments in a scratch directory; not committed): - A hybrid package (own `.apm/` primitives plus a `fluxcd/agent-skills/skills/<name>#v0.4.0` subpath dependency) delivers both to a consumer; `v0.4.0` exists upstream. The repo's full test suite was not run against a hybrid package. - Name collisions never error: a hand-written agent or `.apm/` skill in the consumer is kept and the package's skipped with a warning; between two packages the winner differs between the first install and later ones, and a later agent overwrite is silent. - The root `executables: allow:` block does not gate MCP servers; a self-defined server from a direct dependency deploys with no approval step. - `/root/ansible` uses plain `flux bootstrap` (`gotk-components.yaml`, no `FluxInstance`). `flux-operator-mcp` behaviour on such a cluster was read from source, not run.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: Mortis/Holocron#171