chore(onedev): remove the onedev wrapper and enable mattpocock for this repo #158

Merged
Defame1297 merged 1 commits from chore/remove-onedev into main 2026-11-11 17:21:17 +00:00
9 changed files with 908 additions and 428 deletions

No files matched your search

+1 -8
View File
@@ -1,7 +1,7 @@
{
"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.6.1",
"version": "0.7.0",
"owner": {
"name": "Defame1297",
"email": "[email protected]",
@@ -36,13 +36,6 @@
"category": "Version Control",
"source": "./plugins/gitea"
},
{
"name": "onedev",
"description": "Skills and agents for working with a OneDev forge through the TOD CLI — the forge's own objects, as distinct from the local git clone.",
"version": "0.1.1",
"category": "Version Control",
"source": "./plugins/onedev"
},
{
"name": "core",
"description": "Skills for authoring and auditing a repo's AGENTS.md and the provider adapter files that defer to it.",
+1 -1
View File
@@ -107,7 +107,7 @@ repos:
# deployed files to check. Running every plugin package is what
# makes lockfile-exists reachable for them at all -- the root-only
# invocation audits the root manifest and nothing else.
# THAT ARMING NOW HAPPENS: plugins/onedev declares a real dependency,
# THAT ARMING NOW HAPPENS: plugins/mattpocock declares real dependencies,
# and there is no green state for it -- without a package lockfile
# lockfile-exists fails, and with one it passes and arms the other
# nine, where drift then demands the dependency's skills be deployed
+885 -346
View File
File diff suppressed because it is too large. Load diff
+8 -17
View File
@@ -1,5 +1,5 @@
name: holocron
version: 0.6.1
version: 0.7.0
description: AI development skills for Claude Code, and for GitHub Copilot through apm — factory, design, implement, review, and cross-cutting workflows.
license: MIT
@@ -28,18 +28,13 @@ dependencies:
path: plugins/kyberforge
- git: [email protected]:Defame1297/holocron.git
path: plugins/lint
# TOD's skills arrive transitively through this wrapper rather than as a
# direct entry, so the marketplace and this repo consume onedev by the same
# path. The pin lives in plugins/onedev/apm.yml: third-party content is
# pinned, unlike the six first-party entries above, which stay unpinned for
# default-branch parity.
#
# Resolves only once plugins/onedev is on the remote's main — until then
# `apm install` fails, which includes the copy kyberforge's SessionStart
# hook runs on launch. Accepted deliberately: this branch is merging
# immediately.
# Third-party skills (Matt Pocock's) arrive transitively through this
# wrapper rather than as direct entries, so the marketplace and this repo
# consume them by the same path. The pins live in plugins/mattpocock/apm.yml:
# third-party content is pinned, unlike the first-party entries above,
# which stay unpinned for default-branch parity.
- git: [email protected]:Defame1297/holocron.git
path: plugins/onedev
path: plugins/mattpocock
mcp: []
# Turns apm's executable-trust gate ON. Without this block the gate is disabled
@@ -71,7 +66,7 @@ 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.6.1
version: 0.7.0
owner:
name: Defame1297
email: [email protected]
@@ -109,10 +104,6 @@ marketplace:
source: ./plugins/gitea
category: Version Control
- name: onedev
source: ./plugins/onedev
category: Version Control
- name: core
source: ./plugins/core
category: Productivity
@@ -58,3 +58,6 @@ than widening them.
This changes shared enforcement, which is why it is recorded here rather than left as a comment.
`docs/spec/gates.md`'s `apm-audit-ci` section carries the operative detail.
*(Note, 2026-11-11: `plugins/onedev` has since been removed. The decision stands: `plugins/mattpocock`
declares dependencies and no primitives of its own, so it is the package the waiver now covers.)*
+5 -4
View File
@@ -1174,13 +1174,14 @@ On the **root** manifest, **10 checks**: `lockfile-exists`, `ref-consistency`,
On each **plugin** manifest, **1 check**: `lockfile-exists`. Conditional, and vacuous while every
plugin `apm.yml` declared `dependencies: {apm: [], mcp: []}` — it reports `No dependencies declared
-- lockfile not required`. An earlier revision of this section said it would arm the moment one did
not. **It has armed.** `plugins/onedev` is the first plugin package to declare a real dependency — it
pins `code.onedev.io/onedev/tod#v4.3.4` so the marketplace can redistribute OneDev's TOD skills — and
the check now fires on it for real. Everything else in the list above is root-only, because it is the
not. **It has armed.** `plugins/onedev` was the first plugin package to declare a real dependency — it
pinned `code.onedev.io/onedev/tod#v4.3.4` — and was removed on 2026-11-11; `plugins/mattpocock`
carries the same shape (pinned third-party skills, no primitives of its own) and the check fires on
it for real. Everything else in the list above is root-only, because it is the
root install that has a lockfile, a deployment ledger and deployed files to check.
**A plugin package that declares dependencies has no green state, so the hook waives exactly one
failure.** Verified against apm 0.28.0 in `plugins/onedev/`:
failure.** Verified against apm 0.28.0 in `plugins/onedev/` (since removed; the behaviour is the same for any package that declares dependencies):
- **Without a package `apm.lock.yaml`**, `lockfile-exists` fails — `apm.yml declares dependencies but
apm.lock.yaml is absent` — reported as `1 of 1 check(s) failed`.
+1 -1
View File
@@ -32,7 +32,7 @@ includes: auto
# can redistribute upstream skills from github.com/mattpocock/skills (MIT). A
# `marketplace.packages` entry takes a local `source:` path, so a third-party
# repo cannot be listed directly (same constraint and mechanism as
# plugins/onedev, ADR-0026).
# the since-removed plugins/onedev, ADR-0026).
#
# Why these skills, not the whole upstream set:
# - `wayfinder` is hand-invoked upstream (`disable-model-invocation: true`) and
-47
View File
@@ -1,47 +0,0 @@
name: onedev
version: 0.1.1
description: Skills and agents for working with a OneDev forge through the TOD CLI — the forge's own objects, as distinct from the local git clone.
author:
name: Defame1297
email: [email protected]
url: https://git.rkdr.net/Defame1297/
license: MIT
homepage: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/onedev
repository: https://git.rkdr.net/Defame1297/holocron/src/branch/main/plugins/onedev
keywords:
- onedev
- tod
- issues
- pulls
- builds
- iterations
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
type: hybrid
targets:
- claude
- copilot
- codex
# "auto" publishes the authoritative local source layout, or list explicit
# repo paths to define the complete publication set.
includes: auto
# This package currently carries no primitives of its own — it exists so the
# marketplace can redistribute upstream TOD. `marketplace.packages` entries
# take `source: ./plugins/<name>` (a local path), so a third-party git repo
# cannot be listed directly; a consumer installing `onedev` from the holocron
# marketplace picks up TOD's eight skills transitively through this entry.
#
# Pinned on purpose, unlike the six first-party dependencies in the root
# apm.yml. Those are unpinned for default-branch parity because they are this
# repo's own published content; TOD is third-party, so tracking its `main`
# would import someone else's drift. Bump this tag deliberately.
dependencies:
apm:
- code.onedev.io/onedev/tod#v4.3.4
mcp: []
devDependencies:
apm: []
scripts: {}
+4 -4
View File
@@ -15,16 +15,16 @@
# never surfaced, because the plugin-level `lockfile-exists` check reported
# `No dependencies declared -- lockfile not required` and passed vacuously.
#
# plugins/onedev is the first package to declare a real dependency (it pins
# OneDev's TOD skills so the marketplace can redistribute them), which arms that
# check and leaves no green state:
# plugins/onedev was the first package to declare a real dependency (it pinned
# OneDev's TOD skills; removed 2026-11-11, plugins/mattpocock is the live case),
# which armed that check and left no green state:
#
# * no apm.lock.yaml in the package -> `lockfile-exists` fails with
# "apm.yml declares dependencies but apm.lock.yaml is absent"
# * an apm.lock.yaml in the package -> `lockfile-exists` passes and thereby
# arms the other nine checks, and `drift` then fails demanding the
# dependency's skills be DEPLOYED inside the package
# (plugins/onedev/.agents/skills/...), which is meaningless for a package
# (plugins/<pkg>/.agents/skills/...), which is meaningless for a package
# and additionally litters it with an apm_modules/ tree
#
# So this hook waives exactly one failure: a plugin package whose ONLY failing