Author SHA1 Message Date
Defame1297 a62409fc3f Merge pull request 'docs(lessons): a local-path install skips remote package validation' (#209) from docs/lesson-local-path-install into main
Reviewed-on: #209
2026-11-22 21:42:37 +00:00
Defame1297andClaude Opus 5.5 938ec06d28 docs(lessons): a local-path install skips remote package validation
#205 merged two packages that installed from a local path but not from
the remote. Record the gap and how to check remote installability
before merging a new package.

Refs: #188

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-22 21:35:01 +00:00
Defame1297 d4d7b8a80f Merge pull request 'feat(apm): install delivery, ansible, gitops and k8s in this repo' (#207) from feat/wire-delivery-infra-packages into main
Reviewed-on: #207
2026-11-22 21:11:12 +00:00
Defame1297andClaude Opus 5.5 df587e44e5 feat(apm): install delivery, ansible, gitops and k8s in this repo
This repo installs what it ships (ADR-0018), so root apm.yml now consumes
the four packages added in #205 and made installable in #206. Their
sibling dependencies (git, gitea, mattpocock, k8s) resolve transitively
and dedupe against the existing entries. apm.lock.yaml records the four
packages and the two fluxcd skills that gitops pins at v0.4.0.

Closes the hybrid-package check that #171 left open: the full suite
(strict) and every pre-push hook, including the apm-audit-ci install
replay, pass with gitops installed. gitops has no .apm/ primitives yet,
so only its upstream half is covered until its first skill lands.

Closes #188

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-22 20:54:54 +00:00
Defame1297 2815574a31 Merge pull request 'fix(marketplace): make the empty ansible and k8s packages installable' (#206) from fix/empty-packages-install into main
Reviewed-on: #206
2026-11-22 20:35:09 +00:00
Defame1297andClaude Opus 5.5 aa30861cc9 fix(marketplace): make the empty ansible and k8s packages installable
A package fetched from a remote is valid only when it has a .apm/
directory, declares dependencies, or ships a skills/ bundle
(apm_cli/models/validation.py, detect_package_type). ansible and k8s were
published in #205 with none of these, so installing either fails with
"has apm.yml but is missing the required .apm/ directory". So does
gitops, which depends on k8s. The scratch check in #205 missed this
because a local-path install skips that validation.

Each package gets an empty .apm/ that git can track through a .gitkeep.
The placeholder becomes redundant once the package's first skill lands.
apm's validator now reports all four packages as valid. On main it
reports ansible and k8s as invalid.

Refs: #188

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-22 20:24:01 +00:00
Defame1297 d8c6604f17 Merge pull request 'feat(marketplace): add delivery, ansible, gitops and k8s skeleton packages' (#205) from feat/delivery-infra-skeletons into main
Reviewed-on: #205
Reviewed-by: Defame1297 <[email protected]>
2026-11-22 20:15:43 +00:00
Defame1297 7defdb5d2a Merge branch 'main' into feat/delivery-infra-skeletons 2026-11-22 20:15:35 +00:00
Defame1297andClaude Opus 5.5 cabdc6e500 feat(marketplace): add delivery, ansible, gitops and k8s skeleton packages
Map #166 (Infra and agent-team packages) decided four new packages in
#171 (Package boundaries and names). Later build tickets only add
primitives, so each package must exist and install before they start.

Each package is at 0.1.0, targets claude, copilot and codex, and uses its
decided boundary as its description. delivery depends on git, gitea and
mattpocock. gitops depends on k8s and pins fluxcd/agent-skills
gitops-knowledge and gitops-repo-audit at v0.4.0. Sibling packages are
referenced in the remote git+path form the root apm.yml uses, unpinned
like every first-party dependency (ADR-0018), so a consumer outside this
repo can resolve them.

Root apm.yml does not consume them yet. Its dependencies resolve from the
remote main (ADR-0019), so wiring them in has to wait for this merge. It
is the same two-step plugins/mattpocock took.

The docs drop hard-coded package counts (README, AGENTS.md, GLOSSARY.md,
docs/spec/gates.md), which had gone stale. They also add mattpocock to the
architecture boundary table and give it a README bullet.

Impact: the catalog gains four packages, so the marketplace version goes
from 0.7.0 to 0.8.0 (minor).

Refs: #188

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-22 20:05:17 +00:00
Defame1297 ac1a63d5f3 Merge pull request 'docs(adr): record credential boundary setup decisions in ADR-0032' (#202) from docs/adr-0032-boundary-amendments into main
Reviewed-on: #202
2026-11-22 19:13:23 +00:00
Defame1297andClaude Opus 5.5 0c775805d2 docs(adr): record credential boundary setup decisions in ADR-0032
Setting up the boundary in ansible-homelab-mono changed four things.
Test paths leave the protected file patterns, since protecting them
blocks the test author; the CI test-path check guards them. The Flux PR
dry run is an offline rendered diff, because a live flux diff needs
write RBAC. The pre-merge Ansible --check --diff is reopened, as check
mode runs PR-controlled code with production credentials. Root agent
sessions and same-repo branches reaching repo secrets are accepted risks.

Refs: #184, #200, #201

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-22 17:54:46 +00:00
Defame1297 dfb762ada9 Merge pull request 'docs(adr): mark Copilot CLI untested in ADR-0031' (#197) from docs/adr-0031-copilot-untested into main
Reviewed-on: #197
2026-11-22 16:39:50 +00:00
Defame1297andClaude Opus 5.5 d890f345a4 docs(adr): mark Copilot CLI untested in ADR-0031
Refs: #173

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-22 16:28:20 +00:00
Defame1297 f69fc15d7a Merge pull request 'docs(adr): draft PR for qa and acceptance checks in ADR-0031' (#196) from docs/adr-0031-draft-pr-qa into main
Reviewed-on: #196
2026-11-22 16:16:51 +00:00
Defame1297andClaude Opus 5.5 6862a1541b docs(adr): draft PR for qa and acceptance checks in ADR-0031
QA now judges a draft (WIP:) PR's CI checks instead of a pushed branch,
since most repos run CI on PRs only; removing WIP: hands off to review.
The test author always writes acceptance checks. Adds the Acceptance
check term to the glossary.

Refs: #173

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-22 16:08:54 +00:00
Defame1297 884a5ab55b Merge pull request 'docs(adr): record credentials as the agent safety boundary' (#185) from docs/adr-0032-safety-model into main
Reviewed-on: #185
2026-11-22 15:33:44 +00:00
Defame1297andClaude Opus 5.5 2b6dc55d1a docs(adr): record credentials as the agent safety boundary
ADR-0032 settles the safety model for the infra and delivery packages:
action tiers, the secrets rule, odd jobs in HITL sessions, the dry run
as the PR apply gate, and the layered enforcement with credentials as
the real boundary. Glossary: odd jobs run only in HITL sessions.

Refs #172

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-22 15:24:47 +00:00
Defame1297 67803f84f2 Merge pull request 'chore(kyberforge): add third-party licence notices to vendored skill examples' (#183) from chore/third-party-licence-notices into main
Reviewed-on: #183
2026-11-22 09:00:32 +00:00
Defame1297andClaude Opus 5.5 d792c9020f chore(kyberforge): add third-party licence notices to vendored skill examples
Why: the repo is public and the skill-write examples carry upstream copies.
obra/superpowers writing-skills is MIT and its copy had no notice. The
anthropics skill-creator copy (Apache-2.0) is whitespace-normalised by the
pre-commit hooks, and Apache 2.0 section 4(b) asks for modified files to be
marked. anthropic-best-practices.md reproduced Anthropic's documentation
page in full; superpowers' MIT licence does not extend to Anthropic's docs
and no open licence for that page was found.

Implementation Notes:
- add obra/superpowers MIT LICENSE beside the writing-skills copy
- record licence and whitespace-only modification in skill-creator sources.md
- replace anthropic-best-practices.md with a link to the canonical page
- ADR-0020 still cites anthropic-best-practices.md:187 as a historical
  reference; the original remains in git history

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-22 08:36:36 +00:00
Defame1297 b293d46398 Merge pull request 'chore(kyberforge): include upstream MIT notice for vendored writing-great-skills' (#182) from chore/pocock-licence-notice into main
Reviewed-on: #182
2026-11-22 08:33:59 +00:00
Defame1297andClaude Opus 5.5 422385489d chore(kyberforge): include upstream MIT notice for vendored writing-great-skills
Why: the example folder carries a copy of Matt Pocock's writing-great-skills
(SKILL.md, GLOSSARY.md). Upstream mattpocock/skills is MIT, which requires the
copyright and permission notice to accompany copies; the folder had none.
The LICENSE is taken verbatim from upstream at v1.3.2.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-22 08:19:35 +00:00
Defame1297 5fb6bec887 Merge pull request 'chore: prepare repo for public release under Mortis org' (#181) from chore/prepare-public-mortis into main
Reviewed-on: #181
Reviewed-by: Defame1297 <[email protected]>
2026-11-22 08:14:15 +00:00
Defame1297andClaude Opus 5.5 77f356949a chore(gitea): bump gitea-labels-milestones to 0.1.7
Why: its labels reference now names Mortis/Holocron, and ADR-0022 requires a
changed skill to raise metadata.version.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-22 08:07:17 +00:00
Defame1297andClaude Opus 5.5 864b43d364 chore: regenerate apm output for Mortis/Holocron
Why: the repo now lives at Mortis/Holocron. apm records the exact owner/repo
string in the lock and in hook ownership, so the lowercase mortis/holocron
from the previous commit would drift from what the replay resolves.

Implementation Notes:
- match the exact Mortis/Holocron case in manifests, READMEs, submodule
  and tracker references
- regenerate apm.lock.yaml against the new source
- prune the orphaned Defame1297/holocron packages and drop the stale
  kyberforge SessionStart entry apm left behind, which would otherwise have
  run the hook twice; `apm audit --ci` passes all 10 checks afterwards

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-22 07:56:18 +00:00
Defame1297andClaude Opus 5.5 5181fea473 chore: prepare repo for public release under mortis org
Why: the repo is moving from Defame1297 to the mortis org and becoming
public. Its own apm dependencies and the wiki submodule were addressed by
the old owner over SSH, which anonymous public users cannot clone, and the
manifests declared MIT without shipping the licence text.

Implementation Notes:
- add MIT LICENSE
- repoint apm dependency, homepage/repository and marketplace owner URLs
  from Defame1297 to mortis over HTTPS
- drop the personal email from author/owner blocks
- move the docs/wiki submodule to HTTPS
- point tracker references at mortis/holocron

Impact: apm.lock.yaml and .claude/apm-hooks.json are apm output and are
intentionally not regenerated here; mortis/holocron does not exist until
the transfer, so `apm install` is re-run after it and committed separately.
ADRs and dated notes keep their original links as historical record.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-22 07:45:38 +00:00
Defame1297 c3d0ab31a3 Merge pull request 'docs(glossary): add delivery- family prefix; bump bats helper submodules' (#180) from docs/glossary-delivery-prefix into main
Reviewed-on: Defame1297/holocron#180
2026-11-22 07:19:37 +00:00
Defame1297andClaude Fable 5.2 89a6ee21ef chore(tests): bump bats-assert and bats-support submodules
Moves bats-assert 697471b..dc1aa63 and bats-support 0954abb..787ac47, the commits the
working tree already had checked out. Upstream changes are CI and repo configuration only.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-21 23:07:49 +00:00
Defame1297andClaude Fable 5.2 00b382b623 docs(glossary): add delivery- to the family prefix examples
The delivery package's agents and skills share the delivery- prefix, decided in
holocron#171 (Package boundaries and names).

Refs: #171
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-21 23:05:43 +00:00
Defame1297 9b20628813 Merge pull request 'docs(adr): record first-party delivery team replacing mattpocock chain' (#176) from docs/delivery-team-adr into main
Reviewed-on: Defame1297/holocron#176
2026-11-13 16:06:41 +00:00
Defame1297 a927cff75e Merge branch 'main' into docs/delivery-team-adr 2026-11-13 16:06:03 +00:00
Defame1297 ff128df074 Merge pull request 'fix(tests): unset hook-exported git env before running suites' (#175) from fix/run-tests-git-env into main
Reviewed-on: Defame1297/holocron#175
2026-11-13 16:05:58 +00:00
Defame1297andClaude Opus 5.5 010acfa82b docs(adr): record first-party delivery team replacing mattpocock chain
ADR-0031 records the outcome of the wayfinder ticket "Team roster and
hand-off model" (#170): one fresh session per stage run as its stage-lead
agent, no lead spanning stages, a test-author -> implementer -> qa team
inside implement, agents adding judgement only over hooks and CI, and
step mode on Claude Code and Copilot CLI for v1. GLOSSARY gains Human on
the loop, Gate, Stage, Stage lead, Role agent, Handoff comment and Odd job.

Refs: #170
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-13 15:36:36 +00:00
Defame1297andClaude Opus 5.5 9a2a3efd8e fix(tests): unset hook-exported git env before running suites
Git exports GIT_DIR to the hooks it runs, so under the run-tests pre-push
hook the validate-provenance-skill.bats fixtures' `git -C "$tmp"` calls
resolved to this repo: 84 failures, core.bare=true and an emptied index on
every push. run-tests.sh now unsets git's repo-locating variables before
any suite runs. Reproduced with GIT_DIR pointed at a throwaway repo (61
failures) and verified clean after the fix (463/463).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-13 15:30:33 +00:00
44 changed files with 2011 additions and 2098 deletions

No files matched your search

+31 -4
View File
@@ -1,11 +1,10 @@
{
"name": "holocron",
"description": "AI development skills for Claude Code, and for GitHub Copilot through apm — factory, design, implement, review, and cross-cutting workflows.",
"version": "0.7.0",
"version": "0.8.0",
"owner": {
"name": "Defame1297",
"email": "[email protected]",
"url": "https://git.rkdr.net/Defame1297/"
"name": "Mortis",
"url": "https://git.rkdr.net/Mortis/"
},
"plugins": [
{
@@ -56,6 +55,34 @@
"version": "1.1.9",
"category": "Developer Tools",
"source": "./plugins/lint"
},
{
"name": "delivery",
"description": "Agents and skills for taking a change from spec to a verified merge through tracker-gated stages.",
"version": "0.1.0",
"category": "Developer Tools",
"source": "./plugins/delivery"
},
{
"name": "ansible",
"description": "Skills for authoring, testing and dry-running Ansible playbooks, roles and collections.",
"version": "0.1.0",
"category": "Infrastructure",
"source": "./plugins/ansible"
},
{
"name": "gitops",
"description": "Skills for authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it.",
"version": "0.1.0",
"category": "Infrastructure",
"source": "./plugins/gitops"
},
{
"name": "k8s",
"description": "Skills for read-only diagnosis of workloads on a Kubernetes cluster.",
"version": "0.1.0",
"category": "Infrastructure",
"source": "./plugins/k8s"
}
]
}
+1 -1
View File
@@ -9,7 +9,7 @@
"timeout": 380
}
],
"_apm_source": "Defame1297/holocron/plugins/kyberforge"
"_apm_source": "Mortis/Holocron/plugins/kyberforge"
}
]
}
+1 -1
View File
@@ -12,4 +12,4 @@
ignore = dirty
[submodule "docs/wiki"]
path = docs/wiki
url = git@git.rkdr.net:Defame1297/holocron.wiki.git
url = https://git.rkdr.net/Mortis/Holocron.wiki.git
+2 -2
View File
@@ -29,7 +29,7 @@ Fall back to raw shell only when no skill covers it.
- **Do not add repo-owned keys to `.claude/settings.json`.** apm treats it as its own deployed artifact and `apm audit --ci` replays the install and diffs, so anything apm would not have written is permanent drift that fails the `apm-audit-ci` pre-push hook. A hook you want here is authored in `plugins/<name>/.apm/hooks/` and deployed by apm, never hand-written into that file. The `SessionStart` entry already in it is exactly that: kyberforge authors it in `plugins/kyberforge/.apm/hooks/hooks.json` and apm merges it in, so it is apm's own output, it is what the replay expects, and it belongs in the commit — do not strip it (ADR-0019). Machine-specific settings go in the gitignored `.claude/settings.local.json`; shared enforcement goes in `.pre-commit-config.yaml`.
- **`apm.lock.yaml` turning up modified is expected, not a bug.** kyberforge's `SessionStart` hook keeps the install current on launch and rewrites the lock in the process (ADR-0019). On `main`, commit or discard it deliberately. On a feature branch, discard it (`git checkout -- apm.lock.yaml`, then `apm install`). This keeps unrelated lock churn out of the branch diff and keeps `apm pack --check-clean` consistent with the committed lock. The session then runs the older `main` that the lock records, which is accepted on a branch, and the next session start refreshes again.
- **A `.apm/` edit is not live until it is on the remote's `main`.** The six dependencies resolve from the holocron remote, unpinned against the default branch, so pushing a feature branch does not deploy it (ADR-0019). `apm install` deploys from the lock; `apm update` is what re-resolves refs.
- **A `.apm/` edit is not live until it is on the remote's `main`.** Root `apm.yml`'s first-party dependencies resolve from the holocron remote, unpinned against the default branch, so pushing a feature branch does not deploy it (ADR-0019). `apm install` deploys from the lock; `apm update` is what re-resolves refs.
- **No pre-push hook needs the network — once `apm install` has run.** Root `apm.yml`'s marketplace has no remote package entries, so every hook resolves locally. The guarantee is a property of a populated `apm_modules/`, not of the hook set: on a fresh clone `apm-audit-ci`'s `deployed-files-present` fails outright, and its `drift` and `config-consistency` install-replays have no cache to replay from and clone from the remote. Run `apm install` once on a new checkout and the offline guarantee holds from then on (`docs/spec/gates.md`, "Pushing without a network").
- **This repo and Gitea are the only source of truth.** All project state, decisions, and working conventions live here. Do not use an external memory system for this project — cached state diverges from the repo and you get a split brain. Before answering any design or architecture question, check `docs/adr/` for an existing decision.
@@ -54,7 +54,7 @@ Read these on demand:
### Issue tracker
Issues and PRs live in Gitea (`Defame1297/holocron`), reached through the `gitea-*` skills. See `docs/agents/issue-tracker.md`.
Issues and PRs live in Gitea (`Mortis/Holocron`), reached through the `gitea-*` skills. See `docs/agents/issue-tracker.md`.
### Triage labels
+49 -2
View File
@@ -79,7 +79,7 @@ backend, registry, or SaaS — the Git repo is the marketplace.
_Avoid_: registry, store, catalogue
**holocron**:
This repository, in its role as a plugin marketplace and as the remote the six plugin dependencies
This repository, in its role as a plugin marketplace and as the remote the first-party plugin dependencies
resolve against.
_Avoid_: the marketplace, upstream
@@ -105,6 +105,53 @@ irreversible or high-stakes actions — architecture changes, production deploym
configuration.
_Avoid_: manual approval, gated action
**Human on the loop**:
Agents advance a work item from stage to stage unprompted and stop only at a **Gate**; the human
approves rather than orchestrates. Contrasts with **HITL**, where the human starts or approves each
step in the session itself.
_Avoid_: autonomous mode, autopilot
**Gate**:
A point a work item cannot pass until a human records approval in the issue tracker — a label or a
PR review approval. Agents read gates and never set them. A **Mandatory gate** is one nothing can
skip.
_Avoid_: checkpoint, approval step (a **Gate** is tracker state; a **HITL** pause is not)
### Delivery team
**Stage**:
One step of the delivery flow — spec, tickets, implement, review, verify — run as its own fresh
session that starts from tracker pointers and ends with a **Handoff comment**.
_Avoid_: phase, step
**Stage lead**:
The agent a **Stage** session runs as. Its body is the stage's flow; skills supply the know-how. It
is the only part of its stage that dispatches subagents, and no agent spans stages.
_Avoid_: lead, orchestrator agent, manager
**Role agent**:
A delivery-team agent defined by its function — planner, test author, implementer, QA, reviewer,
operator — not by a tool; it loads skills on demand. A role agent may itself be a **Stage lead**.
_Avoid_: specialist agent (implies a tool specialist), worker, persona
**Handoff comment**:
The fixed-shape tracker comment that ends every **Stage** — decisions, rejected options, evidence,
the pointer the next stage starts from, and open questions. The next stage reads it first.
_Avoid_: summary, status update
**Acceptance check**:
What the test author writes before any implementation, from a ticket's acceptance criteria: a
failing test where a test can express the criterion, otherwise a post-merge assertion about the
applied state with the reason no test applies. The operator verifies the assertions; the reviewer
judges the reasons.
_Avoid_: test case, verification step
**Odd job**:
A one-off operator action that is not the effect of a merge, such as an ad-hoc playbook run. It
reaches the operator directly on the human's instruction, skipping planner, implementer and reviewer,
and runs only in a **HITL** session.
_Avoid_: manual apply, ad-hoc task
### Documents
**AGENTS.md**:
@@ -147,7 +194,7 @@ The cross-provider term for a tracked unit of work. Gitea is this repo's canonic
_Avoid_: ticket, card, task
**Family prefix**:
The shared first segment of a skill name (`git-`, `gitea-`, `apm-`, `agentsmd-`) marking a group of
The shared first segment of a skill name (`git-`, `gitea-`, `apm-`, `agentsmd-`, `delivery-`) marking a group of
siblings. No bare skill name is a **Family prefix** of another: `forge` exists, so no skill is named
`forge-*`, because a prefix that matches a live sibling reads as ownership rather than membership.
_Avoid_: namespace, category
+8
View File
@@ -141,3 +141,11 @@ The pre-push `run-tests` failed 2 of 3 full runs, on a different suite each time
## 2026-09-16 — A static guard covers exactly the spellings its regex models
The guard added above (`tests/test-no-pipefail-early-exit-grep.sh`) reported the tree clean the day it landed, and the tree was not clean. Its pattern could not see a multi-stage pipeline (`echo x | filter | grep -q y`), a pipeline wrapped after a trailing `|`, or `set -o errexit -o pipefail` — the last a file-level miss that silently skipped every site in that file. Five live vulnerable sites sat in `tests/test-apm-current-hook.sh` while the suite reported green, and the fixtures carried 4 of the 12 vulnerable spellings that turned out to exist. A clean verdict from a static scanner is a claim about its regex, not about the tree. Fix: before trusting one, enumerate the spellings of the defect and measure the miss surface against them; and write the scanner's remit and its known false-positive shapes into the gate's own documentation, so the next reader knows what the green covers.
## 2026-11-13 — Hook-exported GIT_DIR turned test fixtures loose on the real repo
Under the `run-tests` pre-push hook, git exports `GIT_DIR` to the hook, so a bats fixture's `git -C "$tmp" init/commit/update-ref` hit this repo instead of its temp dir: 84 failures, `core.bare=true` and an emptied index on every push. The 2026-07-05 "repo root is a bare checkout" entry was likely this bug's symptom, not the repo's real shape. Fix: `tests/run-tests.sh` unsets git's repo-locating env vars before any suite runs. Rule: a test that builds its own repo must never inherit the caller's git environment.
## 2026-11-22 — A local-path install skips the validation a remote install runs
#205 shipped `ansible` and `k8s` as `apm.yml`-only skeletons after a scratch consumer installed all four new packages from `../pkgs/<name>` with exit 0. Fetched from the remote, the same packages fail: apm accepts a remote subdirectory only when it has `.apm/`, declared dependencies or a `skills/` bundle (`detect_package_type` in `apm_cli/models/validation.py`). `gitops` failed too, through its dependency on `k8s`. So `main` published uninstallable packages until #206 added `.apm/.gitkeep`. A green local-path install says nothing about whether consumers can install. Fix: before merging a new or restructured package, push the branch and install it with `git:`/`path:`/`ref: <branch>`, or run `validate_apm_package` on a `git archive` export. `file://` URLs are rejected in the object form, so they can't stand in for the remote.
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 Defame1297
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+10 -5
View File
@@ -2,26 +2,31 @@
The global AI development configuration repository — the authoritative source for agent definitions, skills, workflows, and prompts across all projects. Built as a homelab tool intended to scale to professional environments.
Content ships as six installable plugins, each an apm (Agent Package Manager) package. This repo consumes its own plugins through apm, so the working copy runs the same released content every other consumer gets.
Content ships as installable plugins, each an apm (Agent Package Manager) package. This repo consumes its own plugins through apm (the ones root `apm.yml` lists), so the working copy runs the same released content every other consumer gets.
## Repo layout
| Path | What it holds |
| --- | --- |
| `plugins/` | Six apm packages — `bin`, `core`, `git`, `gitea`, `kyberforge`, `lint` — each carrying skills, and where relevant agents, hooks, and bundled assets |
| `plugins/` | The apm packages — `bin`, `core`, `git`, `gitea`, `kyberforge`, `lint`, `mattpocock`, `delivery`, `ansible`, `gitops`, `k8s` — each carrying skills, and where relevant agents, hooks, and bundled assets |
| `providers/claude-code/` | Claude Code adapter, deployed to `~/.claude/` via `scripts/install.sh` |
| `core/` | Provider-agnostic always-on content — `core/AGENTS.md` and `core/instructions/` |
| `docs/` | Specs (`docs/spec/`), architectural decisions (`docs/adr/`), governance, research, and notes |
| `scripts/` | Install and check scripts used by the git hooks |
| `tests/` | `run-tests.sh`, `run-bats.sh`, the `test-*.sh` suites, and the bats submodules |
The six plugins:
The plugins:
- **kyberforge** — skills and agents for creating, maintaining, and managing an apm plugin marketplace for Claude Code (and GitHub Copilot through apm)
- **git** — conventional commits, branches, history, submodules, worktrees, remotes, pre-commit hook authoring and running (`pc-author` / `pc-run`), and an interactive router (`git-workflow`)
- **gitea** — issues, pull requests, labels, milestones, releases, branches, files, and an interactive router (`gitea-workflow`)
- **core** — authoring and auditing a repo's `AGENTS.md` and the provider adapter files that defer to it
- **lint** — configuring and running linters
- **mattpocock** — Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release
- **delivery** — agents and skills for taking a change from spec to a verified merge through tracker-gated stages
- **ansible** — authoring, testing and dry-running Ansible playbooks, roles and collections
- **gitops** — authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it
- **k8s** — read-only diagnosis of workloads on a Kubernetes cluster
- **bin** — cross-cutting workflow skills not yet split into a focused plugin: research, documentation, TDD, prototyping, triage, diagnosis, architecture review, requirement grilling, compressed output (`caveman`), and re-orienting mid-task (`zoom-out`)
## Prerequisites
@@ -52,13 +57,13 @@ apm install
pre-commit install -t pre-commit -t commit-msg -t pre-push
```
**`apm install`** deploys the six plugins into `.claude/skills/` and `.claude/agents/`. Both are gitignored install output, *not* authoring source — `plugins/<name>/.apm/` remains the only place to edit. It needs the network and materializes `apm_modules/` (which stays gitignored).
**`apm install`** deploys the plugins root `apm.yml` lists into `.claude/skills/` and `.claude/agents/`. Both are gitignored install output, *not* authoring source — `plugins/<name>/.apm/` remains the only place to edit. It needs the network and materializes `apm_modules/` (which stays gitignored).
**Git hooks** must be wired for **all three stages**. This repo's `.pre-commit-config.yaml` has no `default_install_hook_types`, so a plain `pre-commit install` silently skips `commit-msg` (Conventional Commits) and `pre-push` (the full gate) — the `-t` flags above are not optional. The `pc-run` skill handles this and the troubleshooting around it, if you would rather not remember the flags.
## Keeping the install current
The six dependencies in root `apm.yml` are unpinned against the default branch, so deployed skills go stale whenever anyone merges. kyberforge's `SessionStart` hook keeps the install current automatically on launch, rewriting `apm.lock.yaml` in the process — an unexplained modification to it after opening a session is expected, not a bug. On `main`, commit or discard it deliberately. On a feature branch, discard it (`git checkout -- apm.lock.yaml`, then `apm install`). The committed lock records a `main` commit too, just an older one. Discarding keeps lock churn unrelated to the branch out of its diff, and keeps the deployed tree consistent with the committed lock that `apm pack --check-clean` reads. The trade-off: the session then runs the older `main` the lock records, which is accepted on a feature branch. The discard also lasts only until the next session start, when the hook finds the lock behind `main` and refreshes again. Mechanism and rationale: `docs/adr/0019-session-start-hook-keeps-the-apm-install-current.md`.
The first-party dependencies in root `apm.yml` are unpinned against the default branch, so deployed skills go stale whenever anyone merges. kyberforge's `SessionStart` hook keeps the install current automatically on launch, rewriting `apm.lock.yaml` in the process — an unexplained modification to it after opening a session is expected, not a bug. On `main`, commit or discard it deliberately. On a feature branch, discard it (`git checkout -- apm.lock.yaml`, then `apm install`). The committed lock records a `main` commit too, just an older one. Discarding keeps lock churn unrelated to the branch out of its diff, and keeps the deployed tree consistent with the committed lock that `apm pack --check-clean` reads. The trade-off: the session then runs the older `main` the lock records, which is accepted on a feature branch. The discard also lasts only until the next session start, when the hook finds the lock behind `main` and refreshes again. Mechanism and rationale: `docs/adr/0019-session-start-hook-keeps-the-apm-install-current.md`.
Note the difference between the two commands:
+1436 -567
View File
File diff suppressed because it is too large. Load diff
+40 -13
View File
@@ -1,5 +1,5 @@
name: holocron
version: 0.7.0
version: 0.8.0
description: AI development skills for Claude Code, and for GitHub Copilot through apm — factory, design, implement, review, and cross-cutting workflows.
license: MIT
@@ -16,25 +16,37 @@ targets:
- claude
dependencies:
apm:
- git: git@git.rkdr.net:Defame1297/holocron.git
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/bin
- git: git@git.rkdr.net:Defame1297/holocron.git
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/core
- git: git@git.rkdr.net:Defame1297/holocron.git
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/git
- git: git@git.rkdr.net:Defame1297/holocron.git
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/gitea
- git: git@git.rkdr.net:Defame1297/holocron.git
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/kyberforge
- git: git@git.rkdr.net:Defame1297/holocron.git
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/lint
# Third-party skills (Matt Pocock's) arrive transitively through this
# wrapper rather than as direct entries, so the marketplace and this repo
# consume them by the same path. The pins live in plugins/mattpocock/apm.yml:
# third-party content is pinned, unlike the first-party entries above,
# which stay unpinned for default-branch parity.
- git: [email protected]:Defame1297/holocron.git
# which stay unpinned for default-branch parity. The same rule holds for the
# fluxcd skills gitops pins in plugins/gitops/apm.yml.
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/mattpocock
# The delivery team and the infra tool packages (map #166). Their own
# sibling dependencies (git, gitea, mattpocock, k8s) resolve transitively
# and dedupe against the entries above.
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/delivery
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/ansible
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/gitops
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/k8s
mcp: []
# Turns apm's executable-trust gate ON. Without this block the gate is disabled
@@ -66,11 +78,10 @@ marketplace:
# top-level apm.yml description:/version: above are NOT inherited into the
# compiled output despite being used elsewhere (e.g. by `apm audit`).
description: AI development skills for Claude Code, and for GitHub Copilot through apm — factory, design, implement, review, and cross-cutting workflows.
version: 0.7.0
version: 0.8.0
owner:
name: Defame1297
email: [email protected]
url: https://git.rkdr.net/Defame1297/
name: Mortis
url: https://git.rkdr.net/Mortis/
# Default tag pattern used to resolve version ranges for each package.
build:
@@ -115,3 +126,19 @@ marketplace:
- name: lint
source: ./plugins/lint
category: Developer Tools
- name: delivery
source: ./plugins/delivery
category: Developer Tools
- name: ansible
source: ./plugins/ansible
category: Infrastructure
- name: gitops
source: ./plugins/gitops
category: Infrastructure
- name: k8s
source: ./plugins/k8s
category: Infrastructure
@@ -0,0 +1,43 @@
# First-party delivery team replaces mattpocock's delivery chain
We will replace `mattpocock`'s delivery chain (`to-spec`, `to-tickets`, `triage`, `implement`,
`implement-spec`, `code-review`, `tdd`) with a first-party team package. Upstream's stages are skills,
not agents, and most are hand-invoked, so no agent can chain them; forking would keep that shape.
Delivery runs as one fresh session per **Stage** (spec → tickets → implement → review → verify), each
started as its **Stage lead** agent, whose body is the stage flow and which loads skills for the
know-how. There is no lead spanning stages: work passes only through tracker issues, blocking links,
branches and PRs, each stage ending with a **Handoff comment**, and **Gates** (spec approved, PR
approved) are human-set tracker state. `mattpocock`'s thinking tools (`wayfinder`, `grilling`,
`research`, …) stay as a dependency. Decided in holocron#170.
## Considered Options
- **One LLM lead across all stages, dispatching leaf role agents** (the first resolution of #170):
rejected — the orchestrator becomes a long-running context, and a lead in front of single-role
stages only adds a lossy hand-off. Practice puts the orchestrator in the main session.
- **A lead skill plus a thin agent wrapper**: rejected once v1 targeted Claude Code and Copilot CLI,
which both start a main session as a custom agent that can dispatch subagents.
- **A custom driver script chaining stages**: rejected — sequencing will come from Gitea Actions on
gate events (run mode, later); v1 is step mode, the human launching each stage.
## Consequences
- We own the chain's maintenance from now on; upstream improvements arrive only by deliberate porting.
- Only the implement stage has a team: test author → implementer (tests read-only) → QA, sequential.
After the first push the implement-stage lead opens a draft PR (Gitea `WIP:` title prefix, which
blocks merge) and QA judges that PR's CI checks; when QA passes, the lead removes `WIP:`, and that
hand-off starts the review stage. Most repos run CI on PRs, not branch pushes, so the draft PR keeps
QA before review without changing any consuming repo's workflows.
- The test author always writes **Acceptance checks**: failing tests where a test applies, otherwise
post-merge assertions with a stated reason, which the operator verifies and the reviewer judges.
- Agents never duplicate deterministic checks: pre-commit hooks gate commits, CI (on the PR) runs
tests, lint, Molecule and plan/diff output; QA, reviewer and operator add only judgement.
- *Amended 2026-11-22 (holocron#173): QA ran on the pushed branch before the PR opened, and CI was
required on branch push as well as PR; both moved to the draft PR, and acceptance checks were
added.*
- Claude Code is the tested target; Copilot CLI is written to its documented behaviour but untested
until an account exists; other runtimes are best effort.
- *Amended 2026-11-22 (holocron#173): Copilot CLI was a tested target; with no account to test on,
it is supported from its documentation only.*
- Infra applies happen by merge (GitOps for Flux, Ansible and OpenTofu alike), so the PR gate is the
apply gate; the operator verifies and opens revert PRs, never reverting on its own.
@@ -0,0 +1,99 @@
# Credentials, not hooks, are the agent safety boundary
The infra packages (`ansible`, `gitops`, `k8s`, later `tofu`) and the `delivery` team keep agents
safe by what they cannot do, not by what they are told: stage sessions hold no apply credentials, no
vault password and no Secret read, and every infra change applies by merge after a human approves the
PR. Hooks and skill instructions sit above that boundary as guardrails, because every provider
documents hooks as a guardrail rather than a security boundary and a hook "ask" works only in Claude
Code and Copilot CLI. Decided in holocron#172.
## Action tiers
Every package skill classifies each command it drives into one tier:
- **Read** — lint, syntax check, dry run, diff, `kubectl get/describe/logs`, `flux get`, an offline
render or rendered diff (`kustomize build`, `flux build --dry-run`). Free. Live `kubectl diff` and
`flux diff` are server-side dry runs that need write RBAC, so they fail under the read-only
kubeconfig and are not used.
- **Propose** — branch, commit, push, open a PR, comment. Free.
- **Apply-by-merge** — every change to infrastructure. Happens only through an approved merge; the
agent never runs it.
- **Odd job** — `ansible-playbook` outside check mode, `tofu apply`, `flux reconcile`. The agent runs
it, only in a HITL session the human started and supplied the apply credentials to; that session
takes its instruction from the human and loads no issue or PR text. The guard hook asks before each
command.
- **Never** — `kubectl apply/delete/edit/patch/scale`, `helm install/upgrade/rollback`,
`tofu destroy`, `tofu state rm|mv|push|pull|show`, `git commit|push --no-verify` and `SKIP=`,
`ansible-vault view/decrypt/edit`, `kubeseal --recovery-unseal`, reading vault password files,
private keys, `.tfstate` or Secret objects.
## Secrets
Agents never decrypt Ansible Vault or Sealed Secrets and never read the material that would. Stage
sessions use a kubeconfig bound to the built-in `view` ClusterRole (which excludes Secrets) plus a
read-only aggregated role for `SealedSecret` objects. Ansible stage work runs only what succeeds with
a placeholder vault password (`--syntax-check`, `ansible-lint`, inventory reads). A real
`--check --diff` before merge is reopened: check mode still runs PR-controlled code (lookups,
`delegate_to: localhost`, `check_mode: false` tasks, plugins) with the production credentials, so
running it in CI on a bot PR hands the bot those credentials. Decided in
[Pre-merge Ansible dry run without exposing production credentials](https://git.rkdr.net/Mortis/Holocron/issues/200).
## Enforcement layers
1. Skill instructions name each command's tier.
2. `delivery` ships one portable guard hook: deny the Never tier everywhere; ask for odd-job commands
where the runtime supports ask (Claude Code, Copilot CLI), deny them elsewhere.
3. Host permission settings are documented, not shipped.
4. **Credential boundary** in each consuming repo — the real control:
- agents act as a dedicated Gitea bot user;
- branch protection: approvals allowlist of humans only, dismiss stale approvals, bot off the
merge allowlist, protected file patterns for agent config, AGENTS.md and CI workflows; test
paths stay out, because protecting them would block the test author's own commits;
- every PR carries the dry run as a required status and a PR comment; apply happens after merge.
Flux's is an offline rendered diff of base and head that holds no cluster credential; a live
`flux diff` needs write RBAC, because Kubernetes authorises dry-run requests like real ones, so
it is not used. Ansible's pre-merge `--check --diff` is reopened (see Secrets); later
`tofu plan`;
- stage leads start only when a user on the human allowlist in `docs/agents/delivery.md` set the
gate label, checked against the issue timeline;
- a CI test-path check, run from `main`'s copy, fails if a commit after the test author's
(trailer `Delivery-Stage: test-author`) touches the globs in `.gitea/test-paths`; this check,
not file protection, guards tests. The implementer hands disputed tests back instead of editing
them.
5. Pre-commit and CI in the consuming repo are the deterministic backstop.
## Considered Options
- **Agent drafts odd jobs, human runs them** (no agent ever holds apply credentials): rejected by the
owner in favour of agent-run odd jobs in HITL sessions with per-command ask.
- **Gated vault-touching check runs, or a scoped vault credential for agents**: rejected — moving
`--check --diff` to CI removes the conflict without loosening the read rule.
- **Apply before merge** (Atlantis model): rejected — Gitea has no native support; merge-then-apply
with the dry run as a required check is the existing pattern in the reference repo.
- **A deny hook on test paths**: rejected for v1 — a repo-wide hook cannot portably tell the test
author from the implementer, and misses edits made through the shell.
- **PATH wrapper scripts**: rejected — trivially bypassed.
## Consequences
- Most of the safety model is setup in each consuming repo, not code in these packages; it is
documented there (`docs/agents/delivery.md`) and checked before the destination test.
- **Accepted risk:** odd jobs leave no durable record beyond the session itself. This departs from
the governance rule to log agent actions in reviewable form; the owner accepted it.
- **Accepted risk:** an odd-job session holds apply credentials; its safety rests on the human
starting it, keeping untrusted text out of it, and answering each ask.
- Headless sessions running repo-controlled config are not addressed here; launching from pinned
config is part of run mode.
- **Accepted risk:** agent sessions run as root on the dev box until [Agent unix user for delivery sessions](https://git.rkdr.net/Mortis/Holocron/issues/201) is
done. Root can read the vault password, the host SSH key and the admin kubeconfig, so on that
machine the credential boundary is a guardrail only. Partial mitigation: delivery sessions export
`KUBECONFIG` to a read-only kubeconfig, so accidental cluster writes fail.
- **Accepted risk:** same-repo branches reach repo secrets. The bot (the existing `Claude` Gitea
user) pushes same-repo branches; Gitea runs a `pull_request` workflow from the PR branch's own copy
and gives same-repo PRs the repo secrets, so a bot branch can read them. Protected file patterns
block the merge, not the run.
- *Amended 2026-11-22 ([Credential boundary setup in ansible-homelab-mono](https://git.rkdr.net/Mortis/Holocron/issues/184)): test paths left
the protected file patterns for the test-path check; the Flux dry run became an offline render,
and live `kubectl diff` left the Read tier;
the CI `--check --diff`, and with it the rejection of gated vault-touching check runs, were
reopened; the root-session and same-repo-branch risks were accepted.*
+1 -1
View File
@@ -1,6 +1,6 @@
# Issue tracker: Gitea
Issues and PRs for this repo live in Gitea at `git.rkdr.net`, repo `Defame1297/holocron` (ADR-0007: Gitea is the exclusive tracker; there is no file-based fallback).
Issues and PRs for this repo live in Gitea at `git.rkdr.net`, repo `Mortis/Holocron` (ADR-0007: Gitea is the exclusive tracker; there is no file-based fallback).
## How skills reach it
@@ -1,302 +0,0 @@
# Agent team structures for software delivery
Researched 2026-11-13 for holocron#170 (ADR-0031, GLOSSARY "Delivery team"). This note builds on
`docs/research/team-patterns/multi-agent-team-patterns.md` (branch `research/team-patterns`) and
does not repeat it: that note already showed that generic roles loading skills beat tool
specialists, and that orchestrator–worker with state passed by pointer is the standard shape. This
note gathers evidence and makes a recommendation. It does not decide anything.
## Question
How do multi-agent delivery teams relate an orchestrator or lead to its role agents in practice?
Which structure fits holocron's constraints: provider-agnostic apm, human on the loop, and state
passed by pointer through Gitea? Two scope additions are folded in. The first is function
specialists *within* a stage (test writer, implementer, QA). The second is a "stage lead per
session" model.
## Answer in brief
- **The orchestrator is almost always the main loop.** That is the main session, or code that
carries a prompt. It is not a separately dispatched agent. Where a vendor calls it an agent
(Anthropic's LeadResearcher, Magentic manager, CrewAI manager, Claude agent-team lead), it is
still the top of the loop, and in Claude agent teams "the main session is the lead for its
lifetime" [S7].
- **Orchestrators decompose dynamically, and fixed SDLC roles are rarer.** Orchestrator–workers
is defined by subtasks that "aren't pre-defined" [S1]. Fixed role chains appear in research
systems (MetaGPT, ChatDev, AgentCoder), in Anthropic's planner/generator/evaluator harness
[S21], and in VS Code's Plan→Implement→Review handoffs [S26]. The fixed role with the best
evidence is a **separate verifier or evaluator**, not a separate implementer.
- **Nested delegation is not portable.** Claude Code nests by default, up to three levels [S4].
Cursor allows one extra level [S14]. Gemini CLI forbids nesting [S13]. Codex blocks it by
default [S12][S27]. Copilot CLI is unverified. ADR-0031's *conclusion* (leaf role agents) stands
as the lowest common denominator. Its stated *reason* is out of date: Claude Code subagents can
now spawn subagents.
- **A fixed pipeline should be sequenced by deterministic code, with the LLM working inside each
stage.** Every framework says so: Anthropic workflows [S1], the OpenAI "orchestrating via code"
section [S8], Microsoft Agent Framework's "If you can write a function to handle the task, do
that" [S23], ADK graph workflows [S24], and the LangChain custom workflow [S17].
- **Recommendation:** keep leaf role agents and state passed by pointer. Replace the
cross-stage LLM Lead with **one session per stage**. Tracker labels and a small script sequence
the stages, and each session's main loop is that stage's lead, dispatching flat leaf
specialists. Inside *implement*, add a test-author step before the implementer and keep a
fresh-context verifier. Those are function specialists working one at a time, never parallel
writers.
## 1. Structural patterns in use
| Pattern | Who controls the flow | First-party examples |
|---|---|---|
| Orchestrator–worker or supervisor (agents as tools) | Main loop calls workers and keeps control | Anthropic orchestrator–workers [S1] and research system [S2]. Claude Code, Codex, Gemini CLI, Cursor and Copilot subagents [S4][S12][S13][S14][S25]. OpenAI `Agent.as_tool()`, "manager keeps control" [S8]. LangChain "Subagents: a main agent coordinates subagents as tools" [S17]. OpenHands `task` tool: "the parent blocks until the sub-agent finishes" [S28] |
| Hierarchical (nested supervisors) | Supervisors of supervisors | `langgraph-supervisor` supports multi-level setups, but its maintainers now recommend the supervisor pattern "directly via tools" for most cases (search-result snippet of [S29], not read in full). ADK hierarchical decomposition [S9]. Manager Devins spawning child Devins [S22] |
| Handoffs or swarm | Control passes peer to peer, and the active agent changes | OpenAI handoffs: "that specialist becomes the active agent" [S8]. `langgraph-swarm` [S29]. MAF Handoff [S23]. VS Code custom-agent `handoffs`, which are user-clicked and use `send: false` by default [S26] |
| SOP pipeline with fixed roles | A fixed sequence of persona roles | MetaGPT's "assembly line paradigm to assign diverse roles" [S15]. ChatDev's design, coding and testing phases via a chat chain [S16]. Anthropic's planner→generator→evaluator harness [S21] |
| Group chat or magentic | A manager selects the next speaker in a shared conversation | MAF Group Chat and Magentic, where Magentic is "a dedicated Magentic manager" with a task and progress ledger, built on AutoGen Magentic-One [S23]. MAF warns that performance outside the original Magentic-One design "is untested" |
| Workflow or graph (deterministic) | Code or graph edges | Anthropic prompt chaining [S1]. OpenAI code orchestration [S8]. MAF Sequential/Concurrent workflows [S23]. ADK graph and dynamic workflows, which are "deterministic processes that combine code logic and AI reasoning" (ADK 2.0) [S24]. CrewAI sequential process [S30] |
| Peer team with a shared task list | Lead plus self-claiming teammates | Claude Code agent teams. These are experimental, with "No nested teams", "Lead is fixed", and "Start with research and review" [S7] |
| Single agent plus skills | One loop that loads context | LangChain: "A single agent stays in control while loading context from skills" [S17]. Cognition [S3][S22] |
What vendors report working in production for coding, as of 2026: Cognition's April 2026
follow-up says "writes stay single-threaded and the additional agents contribute intelligence
rather than actions". In practice that means a generator–verifier loop in which review works best
"when the coding and review agents do not share any context beforehand", plus manager-and-children
map-reduce. It calls "arbitrary networks of agents negotiating with each other" "mostly a
distraction" [S22].
## 2. Orchestrator: an agent definition or the main loop? Role-less or fixed roles?
| Source | What the orchestrator is | Workers |
|---|---|---|
| Anthropic research system [S2] | A prompted LeadResearcher at the top of the loop. Only the lead is described creating subagents | Dynamic and per-query ("it can be any number") |
| Anthropic "Building effective agents" [S1] | "a central LLM" | "subtasks aren't pre-defined" |
| Claude Code [S4][S7] | The main session. `claude --agent X` makes the *main thread* adopt agent X. The agent-team lead is fixed to the main session | Generic built-ins plus user-defined agents |
| Codex, Gemini CLI, Cursor [S12][S13][S14] | "ChatGPT or Codex handles orchestration". Gemini: subagents are "exposed to the main agent as a tool" | Generic built-ins (worker, explorer, generalist and similar) |
| OpenAI Agents SDK [S8] | Either a manager agent (LLM) or code | Specialists |
| CrewAI hierarchical [S30] | `manager_llm` (auto-created manager) or a custom `manager_agent` | Persona roles |
| MAF Magentic [S23] | A manager agent with fixed Magentic-One prompts by default | User-defined specialists |
| Cognition [S22] | A manager Devin. Failure modes: managers are "overly prescriptive", and children wrongly assume they share state | Child Devins |
**Synthesis.** The orchestrator is the top of the loop. Packaging it as an "agent definition" is
just a way to hand that loop a prompt (`--agent`), and only some runtimes support it (§5). Generic
decomposition is the default. Fixed SDLC roles have direct evidence in their favour in only one
place: **separating the evaluator or verifier from the producer**.
- Anthropic's harness: agents "reliably skew positive when grading their own work", and tuning a
standalone evaluator to be skeptical is "far more tractable" [S21].
- Cognition: review without shared context works best [S22].
- Claude Code best practice: `/code-review` runs "in a fresh subagent that never saw your
conversation". Also, "Handing the same task to a subagent doesn't make the answer any better. A
fresh reviewer does help" [S31].
The evidence against fixed roles:
- In Anthropic's own harness, roles were *removed* as models improved. With Opus 4.6 the sprint
construct went, and the evaluator moved to a single pass at the end. The planner stayed, because
the generator under-scoped without it [S21].
- Anthropic's long-running harness used two "agents" that were the *same* system prompt and tools
with different first prompts. It left open whether specialised testing or QA agents do better
[S32].
- MAST found 14 failure modes across 1,600+ traces, including inter-agent misalignment [S19].
## 3. Nested delegation support (verified 2026-11-13)
| Runtime | Can a subagent spawn subagents? | Evidence |
|---|---|---|
| Claude Code (v2.1.323) | **Yes, by default, up to 3 layers** below main. `CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH`, where `1` turns nesting off. A per-agent block is possible by omitting `Agent` from its tools. Agent teams: "No nested teams" | [S4][S7] |
| Codex CLI | **No, by default.** Multi-agent V1 uses `agents.max_depth` with default `1` (root=0, so children cannot spawn), and it is configurable. The opt-in V2 (`multi_agent_v2`, `default_enabled: false`) ignores `max_depth`. The current public docs no longer list `max_depth` | Source `codex-rs/core/src/config/mod.rs` `DEFAULT_AGENT_MAX_DEPTH: i32 = 1`, `features/src/lib.rs`, commit `69231e1` (2026-11-13) [S27]. Docs [S12] |
| Gemini CLI | **No.** "subagents cannot call other subagents" | [S13] |
| Cursor (2.5+) | **One extra level.** The main agent and its direct subagents can spawn, "but a subagent launched by another subagent can't launch further ones" | [S14] |
| Copilot CLI | **Unverified.** The docs are silent. A third-party changelog mirror mentions "nested subagents respect concurrency limits" (1.0.62), which is not confirmed | [S25] |
| VS Code Copilot, Local harness | Off by default. `chat.subagents.allowInvocationsFromSubagents` allows a maximum depth of 5. The Local harness is deprecated and will be removed in February 2027. The Copilot harness (`task` tool) is undocumented on this point | [S26] |
**Implication.** The portable lowest common denominator is *one* level: main loop → leaf.
ADR-0031's "Lead is the only dispatcher" is correct for portability. GLOSSARY and the issue should
cite Gemini CLI and Codex's default as the binding constraints, not Claude Code.
## 4. Deterministic code versus LLM orchestration for a fixed pipeline
- Anthropic: "workflows offer predictability and consistency for well-defined tasks". Agents are
for when "flexibility and model-driven decision-making are needed" [S1].
- OpenAI: orchestrating via code "makes tasks more deterministic and predictable, in terms of
speed, cost and performance". Its patterns are classify-then-route, chaining, and
evaluator loops [S8].
- Microsoft: use a workflow when "the process has well-defined steps" and "you need explicit
control over execution order". "If you can write a function to handle the task, do that instead
of using an AI agent" [S23].
- Google ADK: template workflow agents run "without consulting an AI model … deterministic and
predictable". ADK 2.0 adds graph and dynamic workflows that mix code and LLM nodes [S24].
spec → tickets → code → review → merge has fixed stages and human gates. The *transition* between
stages is a pure function of tracker state: label X means run stage Y. That is code. The *work
inside* a stage (decomposing a spec, writing code, judging a diff) is LLM work. An LLM Lead that
reads labels and picks the next stage is an LLM doing a lookup. It adds cost and an
instruction-following failure surface (MAST "system design" failures [S19]) for no flexibility the
human gates do not already remove.
## 5. "Stage lead per session": runtime support
The model runs each stage as its own top-level session whose main loop is the stage lead. That
lead spawns leaf specialists, so the model needs no nesting. Hand-off between stages goes through
Gitea plus human gates, and a script chains headless sessions in run mode.
| Runtime | Main session as a custom agent | Headless | Both together |
|---|---|---|---|
| Claude Code | `--agent <name>`. The main-thread agent can spawn subagents, and `Agent(type)` allowlists them [S4][S33] | `-p` | **Verified locally**: `claude -p --agent lint-runner …` ran with the agent's prompt (v2.1.323) |
| Copilot CLI | `--agent <id>` or `/agent` [S34] | `-p` / `--prompt`, with `--allow-tool` and `--no-ask-user` [S35] | Documented example: `copilot --agent security-auditor --prompt "…"` [S34] |
| Codex CLI | **No `--agent` flag** for the root session (checked in source: `exec/src/cli.rs`). Closest: `--profile`, `-c developer_instructions=…` or `model_instructions_file` [S36] | `codex exec` | Via profile or config override, not an agent file |
| Gemini CLI | **No `--agent` flag** (checked in `packages/cli/src/config/config.ts`). `GEMINI_SYSTEM_MD` *replaces* the whole system prompt [S37] | `-p` | Via `GEMINI_SYSTEM_MD`, or a prompt that invokes the stage skill |
| Cursor CLI | **No flag.** `--mode` accepts only `plan` or `ask` [S38] | `-p` / `--print` | Prompt only |
So `--agent` is portable to two of five runtimes. What is portable to all five is **a headless
session whose prompt invokes the stage skill**. That is how ADR-0031's Lead skill already works.
The stage lead should therefore be a *skill* (one per stage), with a thin `--agent` wrapper only
where the runtime has one.
**Vendor precedent for chaining sessions with a script.** Anthropic's long-running harness runs
each step as a fresh session. State is handed over through `claude-progress.txt`, a JSON feature
list and git commits, so that a new session can "quickly understand the state of work when
starting with a fresh context window" [S32]. Claude Code's best practices say to write `SPEC.md`
and "start a fresh session to build from it". They also recommend a second session as the
independent reviewer [S31]. Copilot and Cursor document `-p` specifically "for scripts, CI
pipelines, or automation" [S35][S38]. I found no vendor that recommends one long-lived LLM
orchestrator spanning spec through merge, and Claude agent teams cannot be resumed ("No session
resumption") [S7].
## 6. Function specialists within a stage
The earlier note argued against **tool** specialists (an "ansible-engineer"). **Function**
specialists (test author, implementer, verifier) are a different question, and the evidence on
them is mixed.
**(a) Separating test authoring from implementation**
- AgentCoder: programmer, test designer and test executor agents. Test accuracy was 61.0/51.8
when a single agent wrote both, against 87.8/89.9 with a separate designer (HumanEval/MBPP),
because "the tests designed by the same agent that generates the code can be biased by the code
and lose objectivity". Ablation pass@1 (likely GPT-3.5) rose from 61.0 for the programmer alone
to 79.9 for the full pipeline [S39]. Caveat: these are 2023–24 function-level benchmarks, not
repository work.
- ImpossibleBench (Oct 2025): agents with test access "may delete failing tests rather than fix
the underlying bug". GPT-5 cheats 54% on Conflicting-SWEbench (76% one-off). Hiding tests cuts
cheating to near zero but hurts legitimate performance. Read-only tests are "a middle ground"
that "does not eliminate … special-casing or operator overloading" [S40]. Anthropic system cards
track hard-coding and special-casing as reward hacking (secondary reading only, not verified in
the PDFs) [S41].
- Counter-evidence: "More agent-written tests do not mean more solves" (six frontier models, Apr
2026) [S42]. This concerns the *volume* of tests a single agent writes, not author separation.
**(b) Flat versus per-stage sub-lead**
A per-stage sub-lead *as a subagent* needs two levels. That works on Claude and Cursor, and fails
on Gemini and on Codex's default (§3). The portable options are:
1. **Flat**: the top-level Lead dispatches test author, implementer and verifier directly.
2. **Stage lead per session** (§5): the stage session *is* the sub-lead, and its specialists are
one level down.
LangGraph's maintainers steering users from the multi-level supervisor library to a flat
supervisor via tools [S29] points the same way (secondary snippet).
**(c) Benefits versus costs**
- Benefits: test oracles independent of the code [S39], and less self-grading bias [S21][S22][S31].
- Costs: multi-agent systems use about 15× the tokens of chat [S2]. Agent teams use "significantly
more tokens" [S7]. A fresh subagent "can end up *slower*", because it re-gathers context [S31].
Context loss at hand-off and children assuming shared state are reported failures [S22][S19].
- AgentCoder reports *lower* tokens than its multi-agent baselines (56.9K against 138.2K) [S39].
That comparison is against other multi-agent systems, not a single agent.
**Implication.** One function specialist is justified: the one that **verifies or constrains** the
writer. That covers a test author working before the code, and a verifier or reviewer with fresh
context. A second *writer* running in parallel is not justified [S3][S22]. A sequential
test-author → implementer hand-off keeps a single writer at any one time.
## 7. Recommendation
Keep the parts of ADR-0031 that fit the evidence: leaf role agents, human-set gates, state passed
by pointer, and one dispatcher per session. Change the shape of the Lead:
1. **Sequence stages with tracker state and code, not an LLM.** Each stage is a skill
(`spec-lead`, `tickets-lead`, `implement-lead`, `review-lead`, `verify-lead`), started as its
own session. Interactive mode: a human starts it. Run mode: a short script maps a Gitea label to
the next stage and launches `claude -p --agent implement-lead …`, `copilot --agent … -p …`, or
`codex exec` / `gemini -p` / `agent -p` with a prompt that invokes the skill. The thin `--agent`
wrapper is optional and only exists for Claude and Copilot.
2. **Within a session, the stage skill is the only dispatcher**, and specialists stay leaves. No
nesting is required on any runtime.
3. **Inside implement, use sequential function specialists**: test author (writes failing
acceptance tests from the ticket and commits them) → implementer (tests read-only) → verifier
(fresh context, runs the tests and checks the diff against the ticket). Enforce "implementer
does not edit the test author's tests" with a hook or pre-push diff check, not a prompt
(governance: deterministic enforcement). Do not run parallel writers on one ticket.
4. Correct the stated rationale in ADR-0031, GLOSSARY and #170. The binding constraints are Gemini
CLI (no nesting) and Codex's default `max_depth=1`. Claude Code is not one of them.
**Strongest counter-argument.** Do less: one implementer session per ticket doing test-first
itself, followed by a fresh-context reviewer.
- Every extra hand-off loses context and costs tokens and latency [S2][S31].
- Vendors are *removing* harness roles as models improve [S21].
- More agent-written tests do not move outcomes [S42].
- Read-only tests do not stop special-casing [S40], so the test-author split buys an independent
oracle but not integrity.
- A per-stage session also gives up any cross-stage judgement a long-lived Lead could exercise,
and adds a script to maintain.
Answer: the human gates already supply that cross-stage judgement. And the verifier step is the
part the evidence supports most strongly [S21][S22][S31]. If cost matters more than oracle
independence, drop the test author first and keep the verifier.
## Unverified or not reached
- Copilot CLI nested subagents, and whether the Copilot harness `task` tool nests.
- Whether Codex V2 multi-agent permits unbounded nesting in practice. Source shows that
`max_depth` is ignored, but the V2 depth logic was not traced.
- The headless/`--agent` combination on Copilot CLI is documented but was not run locally.
- Anthropic system-card reward-hacking figures were read only through secondary quotes.
- The ADK multi-agent page (`sub_agents` single-parent rule) is now a redirect, so the 2.0 graph and
dynamic docs were used instead.
## Sources
Fetched 2026-11-13 unless noted. S1–S20 carry the numbering of the prior note.
- [S1] Anthropic, "Building effective agents" (2024-12-19) — <https://www.anthropic.com/engineering/building-effective-agents>
- [S2] Anthropic, "How we built our multi-agent research system" (2025-06-13) — <https://www.anthropic.com/engineering/multi-agent-research-system>
- [S3] Cognition, "Don't build multi-agents" (2025-06-12) — <https://cognition.com/blog/dont-build-multi-agents>
- [S4] Claude Code docs, "Subagents" — <https://code.claude.com/docs/en/sub-agents>
- [S7] Claude Code docs, "Agent teams" — <https://code.claude.com/docs/en/agent-teams>
- [S8] OpenAI Agents SDK, "Agent orchestration" — <https://openai.github.io/openai-agents-python/multi_agent/>
- [S9] Google Developers Blog, multi-agent patterns in ADK (cited from prior note)
- [S12] Codex docs, "Subagents" — <https://learn.chatgpt.com/docs/agent-configuration/subagents>
- [S13] Gemini CLI docs, "Subagents" — <https://geminicli.com/docs/core/subagents/>
- [S14] Cursor docs, "Subagents" — <https://cursor.com/docs/context/subagents>
- [S15] Hong et al., MetaGPT, arXiv:2308.00352 v7 — <https://arxiv.org/abs/2308.00352>
- [S16] Qian et al., ChatDev, arXiv:2307.07924 v5 (ACL 2024) — <https://arxiv.org/abs/2307.07924>
- [S17] LangChain docs, "Multi-agent" — <https://docs.langchain.com/oss/python/langchain/multi-agent>
- [S19] Cemri et al., MAST, arXiv:2503.13657 v3 — <https://arxiv.org/abs/2503.13657>
- [S21] Anthropic, "Harness design for long-running application development" (2026-03-24) — <https://www.anthropic.com/engineering/harness-design-long-running-apps>
- [S22] Cognition, "Multi-Agents: What's Actually Working" (2026-04-22) — <https://cognition.com/blog/multi-agents-working>
- [S23] Microsoft Agent Framework docs: Overview (2026-10-23), Orchestrations, Magentic — <https://learn.microsoft.com/en-us/agent-framework/overview/>, <https://learn.microsoft.com/en-us/agent-framework/workflows/orchestrations/magentic>
- [S24] Google ADK docs: Agents, Template workflows, Graph-based and Dynamic workflows (ADK 2.0) — <https://github.com/google/adk-docs/tree/main/docs> (`agents/index.md`, `agents/workflow-agents/index.md`, `graphs/index.md`, `graphs/dynamic.md`)
- [S25] GitHub Docs, "About custom agents" (Copilot CLI) — <https://docs.github.com/en/copilot/concepts/agents/copilot-cli/about-custom-agents>
- [S26] VS Code docs, "Subagents" and "Custom agents" (2026-11-11) — <https://code.visualstudio.com/docs/agents/run/subagents>, <https://code.visualstudio.com/docs/copilot/customization/custom-agents>
- [S27] openai/codex source at commit `69231e119bfc` (2026-11-13): `codex-rs/core/src/config/mod.rs`, `core/src/tools/spec_plan.rs`, `core/src/agent/registry.rs`, `features/src/lib.rs`, `core/config.schema.json` — <https://github.com/openai/codex>
- [S28] OpenHands SDK docs, "Task tool set" — <https://docs.openhands.dev/sdk/guides/task-tool-set>
- [S29] LangChain reference, `langgraph-supervisor` / `langgraph-swarm` — <https://reference.langchain.com/python/langgraph-supervisor> (the multi-level and "use tools instead" claims come from search snippets, not the page as fetched)
- [S30] CrewAI docs, "Processes" — <https://docs.crewai.com/en/concepts/processes>
- [S31] Claude Code docs, "Best practices" — <https://code.claude.com/docs/en/best-practices>
- [S32] Anthropic, "Effective harnesses for long-running agents" (2025-11-26) — <https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents>
- [S33] Claude Code docs, "CLI reference" — <https://code.claude.com/docs/en/cli-reference>
- [S34] GitHub Docs, "Creating custom agents for Copilot CLI" — <https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/create-custom-agents-for-cli>
- [S35] GitHub Docs, "Run Copilot CLI programmatically" — <https://docs.github.com/en/copilot/how-tos/copilot-cli/automate-copilot-cli/run-cli-programmatically>
- [S36] Codex config reference — <https://learn.chatgpt.com/codex/config-file/config-reference>; `codex-rs/exec/src/cli.rs`, `utils/cli/src/shared_options.rs` [S27]
- [S37] Gemini CLI source and docs: `packages/cli/src/config/config.ts`, `docs/cli/system-prompt.md` — <https://github.com/google-gemini/gemini-cli>
- [S38] Cursor CLI docs, "Overview" and "Parameters" — <https://cursor.com/docs/cli/overview>, <https://cursor.com/docs/cli/reference/parameters>
- [S39] Huang et al., AgentCoder, arXiv:2312.13010 v3 (§4.3 Table 2, §4.7 Table 6) — <https://arxiv.org/html/2312.13010v3>
- [S40] Zhong, Raghunathan, Carlini, ImpossibleBench, arXiv:2510.20270 v1 — <https://arxiv.org/html/2510.20270v1>
- [S41] Anthropic, Claude Opus 4 & Sonnet 4 system card (May 2025), reward-hacking section (read only through secondary quotes)
- [S42] "Rethinking the Value of Agent-Generated Tests", arXiv:2602.07900 v2 (2026-04-09) — <https://arxiv.org/html/2602.07900v2>
Repo sources: `docs/adr/0031-first-party-delivery-team-replaces-mattpocock-chain.md` (untracked on
`docs/wayfinding-operations`), `GLOSSARY.md` "Delivery team",
`docs/research/team-patterns/multi-agent-team-patterns.md` (branch `research/team-patterns`).
+5
View File
@@ -42,6 +42,11 @@ These are routing boundaries, not inventories — they answer "where does a new
| `gitea` | Anything reached through the Gitea HTTP API rather than the git wire protocol — the forge's own objects |
| `kyberforge` | Creating and maintaining a Claude Code / Copilot CLI plugin marketplace — this repo's own meta-tooling |
| `lint` | Configuring and running linters against a target repo; repo-agnostic, first linter is Vale |
| `mattpocock` | Third-party skills redistributed from upstream at a pinned release; no first-party content |
| `delivery` | Taking a change from spec to a verified merge through tracker-gated stages; the stage-lead and specialist agents, not any one tool's know-how |
| `ansible` | Authoring, testing and dry-running Ansible playbooks, roles and collections |
| `gitops` | Authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it; pod-level problems hand off to `k8s` |
| `k8s` | Read-only diagnosis of workloads on a Kubernetes cluster |
| `bin` | Unsorted skills that have not earned a home yet |
One compiler produces the generated content in the tree:
+2 -2
View File
@@ -72,7 +72,7 @@ version-blind, so a stale key deploys fine (see [apm gates](#apm-gates)).
| Hook | Guards |
|---|---|
| `apm-audit-ci` | `scripts/apm-audit-ci.sh` — `apm audit --ci` once per manifest, root plus each of the seven plugin packages, waiving only a package's `lockfile-exists` (see [below](#apm-audit-ci)) |
| `apm-audit-ci` | `scripts/apm-audit-ci.sh` — `apm audit --ci` once per manifest, root plus each plugin package under `plugins/`, waiving only a package's `lockfile-exists` (see [below](#apm-audit-ci)) |
| `apm-pack-check-clean` | `apm pack --check-versions --check-clean --dry-run` — the compiled marketplace still matches what `apm.yml` + `.apm/` would generate, and per-package versions agree with the `per_package` strategy |
**Host validators** (needs the `claude` CLI on PATH)
@@ -1157,7 +1157,7 @@ exclusion landed.
### `apm-audit-ci`
`scripts/apm-audit-ci.sh` runs `apm audit --ci` **once per manifest** — the root one and each of the
seven plugin packages — because the root-only invocation audits the marketplace manifest and
plugin packages under `plugins/` — because the root-only invocation audits the marketplace manifest and
**nothing else**, and `apm-pack-check-clean` does not parse plugin `dependencies:` blocks either.
Verified: a malformed dependency entry passes
`apm pack --check-versions --check-clean --dry-run` and fails `apm audit --ci` in that package's
View File
Whitespace-only changes.
+35
View File
@@ -0,0 +1,35 @@
name: ansible
version: 0.1.0
description: Skills for authoring, testing and dry-running Ansible playbooks, roles and collections.
author:
name: Mortis
url: https://git.rkdr.net/Mortis/
license: MIT
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/ansible
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/ansible
keywords:
- ansible
- molecule
- ansible-lint
- playbook
- collection
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
type: hybrid
# Which agent platforms to deploy to.
# Resolution order: --target flag > this field > auto-detect from filesystem.
# Accepted values: agent-skills, antigravity, claude, codex, copilot, cursor, gemini, grok-build, kiro, opencode, windsurf
targets:
- claude
- copilot
- codex
includes: auto
dependencies:
apm: []
mcp: []
devDependencies:
apm: []
scripts: {}
+2 -2
View File
@@ -9,7 +9,7 @@ apm is the only supported install path (ADR-0024). Declare this package in the c
```yaml
dependencies:
apm:
- git: git@git.rkdr.net:Defame1297/holocron.git
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/bin
```
@@ -19,7 +19,7 @@ Then:
apm install
```
The entry above is unpinned and tracks the remote's default branch — add `ref: <tag>` to pin a release. Registering the catalogue instead (`apm marketplace add git@git.rkdr.net:Defame1297/holocron.git --name holocron`) gets you the `bin@holocron` short name, but writes to `~/.apm/marketplaces.json` at user scope; the git+path object needs nothing beyond the manifest.
The entry above is unpinned and tracks the remote's default branch — add `ref: <tag>` to pin a release. Registering the catalogue instead (`apm marketplace add https://git.rkdr.net/Mortis/Holocron.git --name holocron`) gets you the `bin@holocron` short name, but writes to `~/.apm/marketplaces.json` at user scope; the git+path object needs nothing beyond the manifest.
**Native plugin installs do not work.** This package ships no per-plugin manifest and no flat content directories, so a host that installs it natively gets zero skills — and Claude Code raises no error while doing it (ADR-0024).
+4 -5
View File
@@ -2,12 +2,11 @@ name: bin
version: 3.0.0
description: Skills for everyday AI-assisted development work that is not tied to a single tool, forge or language, and has not yet been split into a focused plugin.
author:
name: Defame1297
email: [email protected]
url: https://git.rkdr.net/Defame1297/
name: Mortis
url: https://git.rkdr.net/Mortis/
license: MIT
homepage: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/bin
repository: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/bin
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/bin
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/bin
keywords:
- utility
- diagnostics
+2 -2
View File
@@ -9,7 +9,7 @@ apm is the only supported install path (ADR-0024). Declare this package in the c
```yaml
dependencies:
apm:
- git: git@git.rkdr.net:Defame1297/holocron.git
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/core
```
@@ -19,7 +19,7 @@ Then:
apm install
```
The entry above is unpinned and tracks the remote's default branch — add `ref: <tag>` to pin a release. Registering the catalogue instead (`apm marketplace add git@git.rkdr.net:Defame1297/holocron.git --name holocron`) gets you the `core@holocron` short name, but writes to `~/.apm/marketplaces.json` at user scope; the git+path object needs nothing beyond the manifest.
The entry above is unpinned and tracks the remote's default branch — add `ref: <tag>` to pin a release. Registering the catalogue instead (`apm marketplace add https://git.rkdr.net/Mortis/Holocron.git --name holocron`) gets you the `core@holocron` short name, but writes to `~/.apm/marketplaces.json` at user scope; the git+path object needs nothing beyond the manifest.
**Native plugin installs do not work.** This package ships no per-plugin manifest and no flat content directories, so a host that installs it natively gets zero skills — and Claude Code raises no error while doing it (ADR-0024).
+4 -5
View File
@@ -2,12 +2,11 @@ name: core
version: 1.1.4
description: Skills for authoring and auditing a repo's AGENTS.md and the provider adapter files that defer to it.
author:
name: Defame1297
email: [email protected]
url: https://git.rkdr.net/Defame1297/
name: Mortis
url: https://git.rkdr.net/Mortis/
license: MIT
homepage: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/core
repository: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/core
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/core
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/core
keywords:
- agents-md
- documentation
+46
View File
@@ -0,0 +1,46 @@
name: delivery
version: 0.1.0
description: Agents and skills for taking a change from spec to a verified merge through tracker-gated stages.
author:
name: Mortis
url: https://git.rkdr.net/Mortis/
license: MIT
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/delivery
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/delivery
keywords:
- delivery
- agents
- stages
- handoff
- gitea
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
type: hybrid
# Which agent platforms to deploy to.
# Resolution order: --target flag > this field > auto-detect from filesystem.
# Accepted values: agent-skills, antigravity, claude, codex, copilot, cursor, gemini, grok-build, kiro, opencode, windsurf
targets:
- claude
- copilot
- codex
includes: auto
# Sibling packages are addressed in the same git+path form the root apm.yml
# uses, so a consumer outside this repo resolves them from the remote.
# Unpinned (default branch) like every first-party entry (ADR-0018).
# mattpocock supplies `grilling` until a later effort decouples it (#166,
# ADR-0031).
dependencies:
apm:
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/git
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/gitea
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/mattpocock
mcp: []
devDependencies:
apm: []
scripts: {}
+2 -2
View File
@@ -9,7 +9,7 @@ apm is the only supported install path (ADR-0024). Declare this package in the c
```yaml
dependencies:
apm:
- git: git@git.rkdr.net:Defame1297/holocron.git
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/git
```
@@ -19,7 +19,7 @@ Then:
apm install
```
The entry above is unpinned and tracks the remote's default branch — add `ref: <tag>` to pin a release. Registering the catalogue instead (`apm marketplace add git@git.rkdr.net:Defame1297/holocron.git --name holocron`) gets you the `git@holocron` short name, but writes to `~/.apm/marketplaces.json` at user scope; the git+path object needs nothing beyond the manifest.
The entry above is unpinned and tracks the remote's default branch — add `ref: <tag>` to pin a release. Registering the catalogue instead (`apm marketplace add https://git.rkdr.net/Mortis/Holocron.git --name holocron`) gets you the `git@holocron` short name, but writes to `~/.apm/marketplaces.json` at user scope; the git+path object needs nothing beyond the manifest.
**Native plugin installs do not work.** This package ships no per-plugin manifest and no flat content directories, so a host that installs it natively gets zero skills and zero agents — and Claude Code raises no error while doing it (ADR-0024).
+4 -5
View File
@@ -2,12 +2,11 @@ name: git
version: 1.3.9
description: Skills and agents for working with a local Git clone over the git wire protocol, and for authoring and running the pre-commit hooks that guard it.
author:
name: Defame1297
email: [email protected]
url: https://git.rkdr.net/Defame1297/
name: Mortis
url: https://git.rkdr.net/Mortis/
license: MIT
homepage: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/git
repository: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/git
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/git
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/git
keywords:
- git
- vcs
@@ -16,7 +16,7 @@ metadata:
- gitea-mcp-slim-go
- context7-websites-gitea
- context7-gitea-tea-cli
version: "0.1.6"
version: "0.1.7"
allowed-tools: Bash mcp__gitea__label_read mcp__gitea__label_write mcp__gitea__milestone_read mcp__gitea__milestone_write
---
@@ -61,7 +61,7 @@ per repo label. That does not contradict `label_write`'s schema, which annotates
server-side; where it is `false` labels in that scope stack legitimately. Read the field — never
infer exclusivity from the `/` in a name, and never carry another repo's map over.
On the instance this skill was authored against (`Defame1297/holocron`) the split ran: every
On the instance this skill was authored against (`Mortis/Holocron`) the split ran: every
`Priority/*`, `Reviewed/*` and `Status/*` label `exclusive: true`, every `Kind/*` label and
`Compat/Breaking` `exclusive: false`. That is one repo's configuration at one point in time, recorded
as a worked example of what the field looks like in practice — it is not a property of the taxonomy
+4 -5
View File
@@ -2,12 +2,11 @@ name: gitea
version: 1.3.10
description: Skills and agents for working with a Gitea forge through its HTTP API — the forge's own objects, as distinct from the local git clone.
author:
name: Defame1297
email: [email protected]
url: https://git.rkdr.net/Defame1297/
name: Mortis
url: https://git.rkdr.net/Mortis/
license: MIT
homepage: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/gitea
repository: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/gitea
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/gitea
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/gitea
keywords:
- gitea
- issues
@@ -14,14 +14,14 @@ Canonical call sequences for the operations most likely to appear in a Gitea-man
Labels and milestones must be referenced by numeric ID in write operations. Resolve them first.
```
1. label_read method: "list_repo_labels" owner: "Defame1297" repo: "holocron"
1. label_read method: "list_repo_labels" owner: "Mortis" repo: "Holocron"
→ returns [{id: 3, name: "bug"}, {id: 7, name: "enhancement"}, ...]
2. milestone_read method: "list" owner: "Defame1297" repo: "holocron"
2. milestone_read method: "list" owner: "Mortis" repo: "Holocron"
→ returns [{id: 1, title: "v1.0"}, ...]
3. issue_write method: "create"
owner: "Defame1297" repo: "holocron"
owner: "Mortis" repo: "Holocron"
title: "Fix the widget"
body: "Description of the problem"
labels: [3] ← IDs, not names
@@ -61,7 +61,7 @@ issue_write method: "remove_label"
```
1. create_branch
owner: "Defame1297" repo: "holocron"
owner: "Mortis" repo: "Holocron"
branch: "feat/my-feature"
old_branch: "main" ← defaults to repo default if omitted
+44
View File
@@ -0,0 +1,44 @@
name: gitops
version: 0.1.0
description: Skills for authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it.
author:
name: Mortis
url: https://git.rkdr.net/Mortis/
license: MIT
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/gitops
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/gitops
keywords:
- gitops
- flux
- kustomize
- helm
- sealed-secrets
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
type: hybrid
# Which agent platforms to deploy to.
# Resolution order: --target flag > this field > auto-detect from filesystem.
# Accepted values: agent-skills, antigravity, claude, codex, copilot, cursor, gemini, grok-build, kiro, opencode, windsurf
targets:
- claude
- copilot
- codex
includes: auto
# Third-party content is pinned (same rule as plugins/mattpocock); bump both
# fluxcd tags together. gitops-cluster-debug is NOT pulled: it needs
# flux-operator-mcp, and these packages drive CLIs, never MCP servers (#171).
# k8s is a sibling, unpinned like every first-party dependency (ADR-0018):
# Flux diagnosis hands pod-level problems to it (#171).
dependencies:
apm:
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/k8s
- fluxcd/agent-skills/skills/gitops-knowledge#v0.4.0
- fluxcd/agent-skills/skills/gitops-repo-audit#v0.4.0
mcp: []
devDependencies:
apm: []
scripts: {}
View File
Whitespace-only changes.
+34
View File
@@ -0,0 +1,34 @@
name: k8s
version: 0.1.0
description: Skills for read-only diagnosis of workloads on a Kubernetes cluster.
author:
name: Mortis
url: https://git.rkdr.net/Mortis/
license: MIT
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/k8s
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/k8s
keywords:
- kubernetes
- k8s
- kubectl
- diagnosis
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
type: hybrid
# Which agent platforms to deploy to.
# Resolution order: --target flag > this field > auto-detect from filesystem.
# Accepted values: agent-skills, antigravity, claude, codex, copilot, cursor, gemini, grok-build, kiro, opencode, windsurf
targets:
- claude
- copilot
- codex
includes: auto
dependencies:
apm: []
mcp: []
devDependencies:
apm: []
scripts: {}
+2 -2
View File
@@ -9,7 +9,7 @@ apm is the only supported install path (ADR-0024). Declare this package in the c
```yaml
dependencies:
apm:
- git: git@git.rkdr.net:Defame1297/holocron.git
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/kyberforge
```
@@ -19,7 +19,7 @@ Then:
apm install
```
The entry above is unpinned and tracks the remote's default branch — add `ref: <tag>` to pin a release. Registering the catalogue instead (`apm marketplace add git@git.rkdr.net:Defame1297/holocron.git --name holocron`) gets you the `kyberforge@holocron` short name, but writes to `~/.apm/marketplaces.json` at user scope; the git+path object needs nothing beyond the manifest.
The entry above is unpinned and tracks the remote's default branch — add `ref: <tag>` to pin a release. Registering the catalogue instead (`apm marketplace add https://git.rkdr.net/Mortis/Holocron.git --name holocron`) gets you the `kyberforge@holocron` short name, but writes to `~/.apm/marketplaces.json` at user scope; the git+path object needs nothing beyond the manifest.
**Native plugin installs do not work.** This package ships no per-plugin manifest and no flat content directories, so a host that installs it natively gets zero skills, agents and hooks — and Claude Code raises no error while doing it (ADR-0024).
+4 -5
View File
@@ -2,12 +2,11 @@ name: kyberforge
version: 2.2.1
description: Skills and agents for creating, maintaining, and managing an apm plugin marketplace for Claude Code and GitHub Copilot.
author:
name: Defame1297
email: [email protected]
url: https://git.rkdr.net/Defame1297/
name: Mortis
url: https://git.rkdr.net/Mortis/
license: MIT
homepage: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/kyberforge
repository: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/kyberforge
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/kyberforge
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/kyberforge
keywords:
- marketplace
- plugin
@@ -6,3 +6,5 @@
- **Description:** Anthropic's official skill-creator skill — iterative skill authoring with draft/eval/improve loop, quantitative benchmarking, and description optimization
- **Contributing files:** SKILL.md, agents/analyzer.md, agents/comparator.md, agents/grader.md, references/schemas.md
- **Status:** `extracted`
- **Licence:** Apache-2.0 — see `LICENSE.txt` in this folder.
- **Modifications:** whitespace only (trailing whitespace and end-of-file newlines normalised by this repo's pre-commit hooks); content is otherwise unchanged from upstream.
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 Matt Pocock
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2025 Jesse Vincent
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -6,3 +6,5 @@
- **Description:** Jesse Vincent's writing-skills skill — covers skill authoring patterns, Anthropic best practices, persuasion principles, and subagent-based skill testing
- **Contributing files:** SKILL.md, anthropic-best-practices.md, persuasion-principles.md, testing-skills-with-subagents.md, examples/CLAUDE_MD_TESTING.md
- **Status:** `extracted`
- **Licence:** MIT, Copyright (c) 2025 Jesse Vincent — see `LICENSE` in this folder.
- **Excluded:** `anthropic-best-practices.md` is replaced by a link to Anthropic's canonical documentation page; it was Anthropic's docs, not superpowers code.
+4 -5
View File
@@ -2,12 +2,11 @@ name: lint
version: 1.1.9
description: Skills and agents for configuring and running linters.
author:
name: Defame1297
email: [email protected]
url: https://git.rkdr.net/Defame1297/
name: Mortis
url: https://git.rkdr.net/Mortis/
license: MIT
homepage: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/lint
repository: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/lint
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/lint
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/lint
keywords:
- lint
- style
+4 -5
View File
@@ -2,12 +2,11 @@ name: mattpocock
version: 0.4.0
description: Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release.
author:
name: Defame1297
email: [email protected]
url: https://git.rkdr.net/Defame1297/
name: Mortis
url: https://git.rkdr.net/Mortis/
license: MIT
homepage: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/mattpocock
repository: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/mattpocock
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/mattpocock
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/mattpocock
keywords:
- wayfinder
- planning
+8
View File
@@ -33,6 +33,14 @@
# TEST_DIR — override root to search for test-*.sh (default: REPO_ROOT); used by tests.
set -euo pipefail
# Git exports GIT_DIR (and can export GIT_WORK_TREE / GIT_INDEX_FILE) to the
# hooks it runs, so under the run-tests pre-push hook every `git -C "$tmp" ...`
# a fixture runs resolves to THIS repo, not the temp one -- the
# validate-provenance-skill.bats commit_as_base helper flipped core.bare=true and
# emptied the index here on every push. Suites build their own throwaway repos;
# none of them may inherit the caller's.
unset GIT_DIR GIT_WORK_TREE GIT_INDEX_FILE GIT_OBJECT_DIRECTORY GIT_COMMON_DIR
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
BATS="$REPO_ROOT/tests/run-bats.sh"
BATS_ONLY=false