Compare commits
29
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2815574a31 | ||
|
|
aa30861cc9 | ||
|
|
d8c6604f17 | ||
|
|
7defdb5d2a | ||
|
|
cabdc6e500 | ||
|
|
ac1a63d5f3 | ||
|
|
0c775805d2 | ||
|
|
dfb762ada9 | ||
|
|
d890f345a4 | ||
|
|
f69fc15d7a | ||
|
|
6862a1541b | ||
|
|
884a5ab55b | ||
|
|
2b6dc55d1a | ||
|
|
67803f84f2 | ||
|
|
d792c9020f | ||
|
|
b293d46398 | ||
|
|
422385489d | ||
|
|
5fb6bec887 | ||
|
|
77f356949a | ||
|
|
864b43d364 | ||
|
|
5181fea473 | ||
|
|
c3d0ab31a3 | ||
|
|
89a6ee21ef | ||
|
|
00b382b623 | ||
|
|
9b20628813 | ||
|
|
a927cff75e | ||
|
|
ff128df074 | ||
|
|
010acfa82b | ||
|
|
9a2a3efd8e |
No files matched your search
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -9,7 +9,7 @@
|
||||
"timeout": 380
|
||||
}
|
||||
],
|
||||
"_apm_source": "Defame1297/holocron/plugins/kyberforge"
|
||||
"_apm_source": "Mortis/Holocron/plugins/kyberforge"
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -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
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -141,3 +141,7 @@ 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.
|
||||
@@ -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.
|
||||
@@ -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:
|
||||
|
||||
|
||||
+567
-567
File diff suppressed because it is too large.
Load diff
@@ -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,24 +16,24 @@ 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: git@git.rkdr.net:Defame1297/holocron.git
|
||||
- git: https://git.rkdr.net/Mortis/Holocron.git
|
||||
path: plugins/mattpocock
|
||||
mcp: []
|
||||
|
||||
@@ -66,11 +66,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 +114,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,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
|
||||
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
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: {}
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -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).
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: {}
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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: {}
|
||||
@@ -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).
|
||||
|
||||
|
||||
@@ -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.
|
||||
+5
-1147
File diff suppressed because it is too large.
Load diff
@@ -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.
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Submodule tests/test_helper/bats-assert updated: 697471b7a8...dc1aa63fbc.
Submodule tests/test_helper/bats-support updated: 0954abb992...787ac476d4.
Reference in new issue
Block a user