Compare commits
9
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2815574a31 | ||
|
|
aa30861cc9 | ||
|
|
d8c6604f17 | ||
|
|
7defdb5d2a | ||
|
|
cabdc6e500 | ||
|
|
ac1a63d5f3 | ||
|
|
0c775805d2 | ||
|
|
dfb762ada9 | ||
|
|
d890f345a4 |
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "holocron",
|
"name": "holocron",
|
||||||
"description": "AI development skills for Claude Code, and for GitHub Copilot through apm — factory, design, implement, review, and cross-cutting workflows.",
|
"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": {
|
"owner": {
|
||||||
"name": "Mortis",
|
"name": "Mortis",
|
||||||
"url": "https://git.rkdr.net/Mortis/"
|
"url": "https://git.rkdr.net/Mortis/"
|
||||||
@@ -55,6 +55,34 @@
|
|||||||
"version": "1.1.9",
|
"version": "1.1.9",
|
||||||
"category": "Developer Tools",
|
"category": "Developer Tools",
|
||||||
"source": "./plugins/lint"
|
"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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -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`.
|
- **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.
|
- **`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").
|
- **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.
|
- **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.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -79,7 +79,7 @@ backend, registry, or SaaS — the Git repo is the marketplace.
|
|||||||
_Avoid_: registry, store, catalogue
|
_Avoid_: registry, store, catalogue
|
||||||
|
|
||||||
**holocron**:
|
**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.
|
resolve against.
|
||||||
_Avoid_: the marketplace, upstream
|
_Avoid_: the marketplace, upstream
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
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
|
## Repo layout
|
||||||
|
|
||||||
| Path | What it holds |
|
| 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` |
|
| `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/` |
|
| `core/` | Provider-agnostic always-on content — `core/AGENTS.md` and `core/instructions/` |
|
||||||
| `docs/` | Specs (`docs/spec/`), architectural decisions (`docs/adr/`), governance, research, and notes |
|
| `docs/` | Specs (`docs/spec/`), architectural decisions (`docs/adr/`), governance, research, and notes |
|
||||||
| `scripts/` | Install and check scripts used by the git hooks |
|
| `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 |
|
| `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)
|
- **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`)
|
- **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`)
|
- **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
|
- **core** — authoring and auditing a repo's `AGENTS.md` and the provider adapter files that defer to it
|
||||||
- **lint** — configuring and running linters
|
- **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`)
|
- **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
|
## Prerequisites
|
||||||
@@ -52,13 +57,13 @@ apm install
|
|||||||
pre-commit install -t pre-commit -t commit-msg -t pre-push
|
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.
|
**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
|
## 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:
|
Note the difference between the two commands:
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: holocron
|
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.
|
description: AI development skills for Claude Code, and for GitHub Copilot through apm — factory, design, implement, review, and cross-cutting workflows.
|
||||||
license: MIT
|
license: MIT
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ marketplace:
|
|||||||
# top-level apm.yml description:/version: above are NOT inherited into the
|
# top-level apm.yml description:/version: above are NOT inherited into the
|
||||||
# compiled output despite being used elsewhere (e.g. by `apm audit`).
|
# 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.
|
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:
|
owner:
|
||||||
name: Mortis
|
name: Mortis
|
||||||
url: https://git.rkdr.net/Mortis/
|
url: https://git.rkdr.net/Mortis/
|
||||||
@@ -114,3 +114,19 @@ marketplace:
|
|||||||
- name: lint
|
- name: lint
|
||||||
source: ./plugins/lint
|
source: ./plugins/lint
|
||||||
category: Developer Tools
|
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
|
||||||
@@ -35,6 +35,9 @@ approved) are human-set tracker state. `mattpocock`'s thinking tools (`wayfinder
|
|||||||
- *Amended 2026-11-22 (holocron#173): QA ran on the pushed branch before the PR opened, and CI was
|
- *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
|
required on branch push as well as PR; both moved to the draft PR, and acceptance checks were
|
||||||
added.*
|
added.*
|
||||||
- Claude Code and Copilot CLI are the tested targets; other runtimes are best effort.
|
- 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
|
- 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.
|
apply gate; the operator verifies and opens revert PRs, never reverting on its own.
|
||||||
@@ -11,8 +11,10 @@ Code and Copilot CLI. Decided in holocron#172.
|
|||||||
|
|
||||||
Every package skill classifies each command it drives into one tier:
|
Every package skill classifies each command it drives into one tier:
|
||||||
|
|
||||||
- **Read** — lint, syntax check, dry run, diff, `kubectl get/describe/logs`, `flux get`, `flux diff`,
|
- **Read** — lint, syntax check, dry run, diff, `kubectl get/describe/logs`, `flux get`, an offline
|
||||||
`kubectl diff`. Free.
|
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.
|
- **Propose** — branch, commit, push, open a PR, comment. Free.
|
||||||
- **Apply-by-merge** — every change to infrastructure. Happens only through an approved merge; the
|
- **Apply-by-merge** — every change to infrastructure. Happens only through an approved merge; the
|
||||||
agent never runs it.
|
agent never runs it.
|
||||||
@@ -30,8 +32,11 @@ Every package skill classifies each command it drives into one tier:
|
|||||||
Agents never decrypt Ansible Vault or Sealed Secrets and never read the material that would. Stage
|
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
|
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
|
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
|
a placeholder vault password (`--syntax-check`, `ansible-lint`, inventory reads). A real
|
||||||
`--check --diff` runs in CI, which holds the password.
|
`--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
|
## Enforcement layers
|
||||||
|
|
||||||
@@ -42,13 +47,19 @@ a placeholder vault password (`--syntax-check`, `ansible-lint`, inventory reads)
|
|||||||
4. **Credential boundary** in each consuming repo — the real control:
|
4. **Credential boundary** in each consuming repo — the real control:
|
||||||
- agents act as a dedicated Gitea bot user;
|
- agents act as a dedicated Gitea bot user;
|
||||||
- branch protection: approvals allowlist of humans only, dismiss stale approvals, bot off the
|
- branch protection: approvals allowlist of humans only, dismiss stale approvals, bot off the
|
||||||
merge allowlist, protected file patterns for agent config, AGENTS.md, CI workflows and tests;
|
merge allowlist, protected file patterns for agent config, AGENTS.md and CI workflows; test
|
||||||
- every PR carries the dry run (`--check --diff`, `flux diff`, later `tofu plan`) as a required
|
paths stay out, because protecting them would block the test author's own commits;
|
||||||
status and a PR comment; apply happens after merge;
|
- 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
|
- 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;
|
gate label, checked against the issue timeline;
|
||||||
- a CI check fails if test paths changed after the test author's commit; the implementer hands
|
- a CI test-path check, run from `main`'s copy, fails if a commit after the test author's
|
||||||
disputed tests back instead of editing them.
|
(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.
|
5. Pre-commit and CI in the consuming repo are the deterministic backstop.
|
||||||
|
|
||||||
## Considered Options
|
## Considered Options
|
||||||
@@ -73,3 +84,16 @@ a placeholder vault password (`--syntax-check`, `ansible-lint`, inventory reads)
|
|||||||
starting it, keeping untrusted text out of it, and answering each ask.
|
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
|
- Headless sessions running repo-controlled config are not addressed here; launching from pinned
|
||||||
config is part of run mode.
|
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.*
|
||||||
@@ -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 |
|
| `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 |
|
| `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 |
|
| `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 |
|
| `bin` | Unsorted skills that have not earned a home yet |
|
||||||
|
|
||||||
One compiler produces the generated content in the tree:
|
One compiler produces the generated content in the tree:
|
||||||
|
|||||||
+2
-2
@@ -72,7 +72,7 @@ version-blind, so a stale key deploys fine (see [apm gates](#apm-gates)).
|
|||||||
|
|
||||||
| Hook | Guards |
|
| 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 |
|
| `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)
|
**Host validators** (needs the `claude` CLI on PATH)
|
||||||
@@ -1157,7 +1157,7 @@ exclusion landed.
|
|||||||
### `apm-audit-ci`
|
### `apm-audit-ci`
|
||||||
|
|
||||||
`scripts/apm-audit-ci.sh` runs `apm audit --ci` **once per manifest** — the root one and each of the
|
`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.
|
**nothing else**, and `apm-pack-check-clean` does not parse plugin `dependencies:` blocks either.
|
||||||
Verified: a malformed dependency entry passes
|
Verified: a malformed dependency entry passes
|
||||||
`apm pack --check-versions --check-clean --dry-run` and fails `apm audit --ci` in that package's
|
`apm pack --check-versions --check-clean --dry-run` and fails `apm audit --ci` in that package's
|
||||||
|
|||||||
Whitespace-only changes.
@@ -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: {}
|
||||||
@@ -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: {}
|
||||||
@@ -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: {}
|
||||||
Whitespace-only changes.
@@ -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: {}
|
||||||
Reference in new issue
Block a user