Files
Holocron/apm.yml
T
Defame1297andClaude Opus 5.5 e1a99a7291 fix(apm): key executables.allow on the full 0.39 package identity
apm 0.39.3 matches executable grants on the package identity
<host>/<owner>/<repo>/<path>. The bare kyberforge#<version> and
delivery#<version> keys that 0.28.0 matched no longer match, so the first
0.39 install parks both hooks and rewrites .claude/settings.json without
them, while root apm audit --ci stays green (spike #269, on #268).

Rename both keys to git.rkdr.net/Mortis/Holocron/plugins/<name>#<version>
with type-level grants, as `apm approve --list` names them on 0.39.3. Keep
the version suffix convention; apm strips it before matching. Do not use
`apm approve`, which would content-pin, strip the block's comments and
park the hook on every script edit.

check-executables-allow-sync now derives each expected key from root
apm.yml's git + path dependency entry for the plugin, fails a bare key with
a message saying why, and fails a shipping plugin with no such entry. Both
readers carry the change, and the test covers URL and path spellings.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 08:46:38 +00:00

166 lines
6.4 KiB
YAML

name: holocron
version: 0.9.1
description: AI development skills for Claude Code, and for GitHub Copilot through apm — factory, design, implement, review, and cross-cutting workflows.
license: MIT
# Consumer side: this repo installs its own published plugins from the holocron
# remote, so the working copy runs the same released content every other
# consumer gets. Addressed as git+path objects rather than <name>@holocron
# marketplace aliases — an alias needs a `apm marketplace add` registration in
# ~/.apm/marketplaces.json (user scope, outside this repo), the object form
# needs nothing beyond this manifest.
# Unpinned (default branch) on purpose: parity with the Claude Code plugin
# install this replaced, which ran autoUpdate against main. Add `ref: <tag>`
# per entry to pin.
targets:
- claude
dependencies:
apm:
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/bin
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/core
- 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/kyberforge
- 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
# and, for the planning skills, plugins/plan/apm.yml:
# third-party content is pinned, unlike the first-party entries above,
# 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
# Ticket and idea planning, up to an agent-ready spec and breakdown.
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/plan
mcp: []
# Turns apm's executable-trust gate ON. Without this block the gate is disabled
# and every hook, bin and MCP primitive a dependency ships deploys silently —
# verified: `apm approve --list` reports "Executable-trust gate disabled -- all
# executables deploy" until an `executables:` block exists.
#
# Keys are the FULL package identity apm 0.39 matches on,
# <host>/<owner>/<repo>/<path>#<version>, as `apm approve --list` prints it.
# The bare `kyberforge#<version>` form 0.28 accepted no longer matches: under
# 0.39.3 it parks both hooks, writes `.claude/settings.json` back to `{}`, and
# root `apm audit --ci` still passes (spike #269, on #268). The `#<version>`
# suffix is stripped before matching, so the grant is version-blind and a
# plugin bump alone does not park the hook; the suffix is a repo convention
# that `scripts/check-executables-allow-sync.sh`, a pre-push hook, holds level
# with each plugin's apm.yml `version:`.
#
# The grants are type-level (`hooks: true`), not content-pinned. Every install
# warns that they are not pinned to content; that is accepted, because a
# content pin parks the hook on every edit to its scripts until someone re-runs
# `apm approve`. Do not run `apm approve` here: it rewrites this block, adds
# content pins and strips these comments.
#
# kyberforge ships the SessionStart hook that keeps this install level with the
# remote (ADR-0019).
executables:
allow:
git.rkdr.net/Mortis/Holocron/plugins/kyberforge#2.3.0:
hooks: true
bin: true
# delivery ships the guard hook (ADR-0032 enforcement layer 2). Same
# full-identity, version-in-key convention as above, kept by the same check.
git.rkdr.net/Mortis/Holocron/plugins/delivery#0.8.0:
hooks: true
marketplace:
# apm's Claude marketplace mapper only emits description:/version: into the
# compiled marketplace.json when set explicitly here (an override) — the
# 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.9.1
owner:
name: Mortis
url: https://git.rkdr.net/Mortis/
# Default tag pattern used to resolve version ranges for each package.
# Per-plugin tags, <plugin>-v<version> (ADR-0033). Every entry below has a
# local source:, which apm resolves without consulting tags, so this does
# not change the compiled marketplace.json; it applies to remote entries.
build:
tagPattern: "{name}-v{version}"
# Output targets (map form). Each output writes to its profile default
# path; add 'path:' under a key to override.
outputs:
claude: {}
# CI tip: build a machine-readable manifest:
# apm pack --marketplace=claude --json | jq -r '.marketplace.outputs[].path'
versioning:
strategy: per_package
packages:
- name: kyberforge
source: ./plugins/kyberforge
category: Developer Tools
- name: bin
source: ./plugins/bin
category: Utilities
- name: git
source: ./plugins/git
category: Version Control
- name: gitea
source: ./plugins/gitea
category: Version Control
- name: core
source: ./plugins/core
category: Productivity
- name: mattpocock
source: ./plugins/mattpocock
category: Productivity
- 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
- name: plan
source: ./plugins/plan
category: Productivity