Skip to content

feat(skills)!: the kubernetes and check-k8s skills live beside the plugin that serves them - #28

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/kube-skills
Oct 23, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/kube-skills

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

layer-charly-kubernetes is a skills-only carrier — measured: 0 .go, 0 .cue, 0 candy
directories
. Under AGENTS.md Part II #5 a skill lives with the code, plugin or config
it describes, and both of these name surfaces this candy declares: verb:kube,
deploy:kubernetes and deploy:kindcluster.

The gate matters here: reading the family name instead of the prose would have sent
kubernetes to layer-kubernetes — the repo holding the kubectl/helm INSTALL layer,
a different entity from the deploy substrate this skill documents.

The gate, per skill (opencharly#606): the entity comes from the skill's own prose,
never from its name; then where that entity exists; then the negative control.

skill the entity its own prose names where it exists (measured)
check-k8s the kube: check verb — its own first line: "served out-of-process by candy/plugin-kube" plugin-kube/candy/plugin-kube/charly.yml → verb:kube
kubernetes the Kustomize/deploy-to-cluster surface — "the deploy:kubernetes provider beside deploy:kindcluster in candy/plugin-kube" same manifest → deploy:kubernetes + deploy:kindcluster

What is in this diff

  • 2 skill bodies, byte-identical to the carrier's (sha256 per skill below).
  • 2 routing-only skill: node(s) in candy/plugin-kube/charly.yml —
    name/family/owner, plus the triggers: the carrier carried, no inline description: and no
    content: (an inline body that disagrees with its file is a hard error in the
    marketplace generator).
  • family: is kept unchanged (kubernetes for both), so every existing
    address and cross-reference still resolves; owner: becomes plugin-kube, which is
    what makes the bodies readable at <repo root>/.agents/skills/<name>/SKILL.md.
  • Two claims the change falsifies are corrected in the same commit: README.md said
    "This candy carries no skill: entity of its own" and pointed at the closed
    opencharly#291; AGENTS.md had no .agents/skills/ entry.

Producer-first. No carrier loses a node here: those removals and retirements belong
to the session that claimed the carriers (opencharly/opencharly#600), and the
marketplace refs switchover is the leg that proves the relocation end to end.

How tested

Change class: documentation + candy-config (skill prose and skill: routing nodes;
no Go, no schema, no runtime path). The gate that owns it is charly box validate —
which reads the skill files through the same CollectSkills path the
ai.opencharly.skill OCI label and the marketplace corpus use, so a body that is not
found is a red gate, not a silent omission.

# head 98b17f61514c59b3f02aeaefda51b9f95e056374 (git rev-parse HEAD)
$ git rev-parse HEAD && git rev-parse HEAD^{tree}
98b17f61514c59b3f02aeaefda51b9f95e056374
c4798297ea6c638ad6ac3f118a2961989ab201fb

$ sha256sum <carrier copy> vs <this tree>, per moved skill
check-k8s     bc68fb6d50153aff bc68fb6d50153aff IDENTICAL
kubernetes    fa3fc6901570ef20 fa3fc6901570ef20 IDENTICAL

$ diff -r (per skill, no output each time)
  diff -r <carrier>/.agents/skills/check-k8s .agents/skills/check-k8s   -> rc=0
  diff -r <carrier>/.agents/skills/kubernetes .agents/skills/kubernetes   -> rc=0

$ charly box validate
charly box validate: OK — checked 1 candy, 7 distros, 7 builders; 0 warnings, 0 errors
rc=0

The gate CAN fail — negative control, run on this exact tree, with one moved body
removed:

$ rm .agents/skills/check-k8s/SKILL.md && charly box validate
charly: error: command "validate": validation error: skills: skill "check-k8s": no body — the node carries no in-line `content:` and no SKILL.md exists under .agents/skills at the repo root of the owning candy "plugin-kube"
rc=1

No R10 disposable bed: the diff changes no runtime path — no Go, no schema, no service,
no build step — so a bed would prove something this diff cannot break. The binary used
is the worktree-local build (charly version = 2026.295.1709, equal to
charly/charly's HEAD stamp).

Rulebook compliance

  • R0 — /charly-internals:skills, :git-workflow and :cutover-policy loaded
    before the first action; opencharly#611, #606 and #600 read in full first.
  • R1 — charly box validate is green with zero warnings, and the negative control
    above proves that green is not vacuous. No failure was observed or filed away.
  • R2 — one routing node per skill, no duplicated prose: the body stays the single
    file, the node carries routing only.
  • R3 — no workaround: no inline body, no hand-written corpus entry, no fixture.
  • R4/R5 — README.md's "no skill: entity" claim and its link to the closed opencharly#291
    are corrected, and AGENTS.md gains the .agents/skills/ tree. The moved bodies keep
    their /charly-kubernetes:* cross-references, which still resolve because the family
    is unchanged.
  • R6 — branch off origin/main, one commit, one push, no force-push, no direct push,
    no hook bypass.
  • R7 — the proof is a gate that fails without the change, not a compilation.
  • R9 — worktree-local binary, version equal to the source stamp; no Go changed.
  • R10 — the change class's gate ran on the committed tree (5 files changed, 491 insertions(+), 7 deletions(-)).
  • A3 — this session's delivered system message reads, verbatim:
    You are a coding agent powered by the deepseek-v4.1-flash model. — harness
    DeepSeek Harness, model deepseek-v4.1-flash, the pair the footer names; cited
    with The pr-validator's model allowlist rejects a real runtime: deepseek-v4.1-flash via ollama-cloud opencharly#538, the open record of this runtime being rejected
    by the validator's model allowlist although it is real and running.

Change classification

feat(skills)! — documentation + candy-config, documentation reviewed. No
runtime behaviour, no schema, no Go, no pins.

Filed issues

None — every destination was measured, and the two falsified claims are fixed here
rather than filed.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)

…e plugin that serves them

`layer-charly-kubernetes` is a skills-only carrier: 0 `.go`, 0 `.cue`, no candy
directory. Under `AGENTS.md` Part II #5 a skill lives with the code, plugin or config
it describes, and both of these name surfaces THIS candy declares:

- `check-k8s` — its own first line: "the `kube:` check verb … served out-of-process by
  `candy/plugin-kube`". `plugin-kube` declares `verb:kube`.
- `kubernetes` — the Kustomize/deploy-to-cluster surface; the skill's own text says the
  per-cluster template is "served by the `deploy:kubernetes` provider beside
  `deploy:kindcluster` in `candy/plugin-kube`". This candy declares both.

The gate is opencharly#606's: the entity from the skill's own prose, then where the
entity exists, then the negative control — not the family name, which would have sent
`check-k8s` to `plugin-kube` but `kubernetes` to `layer-kubernetes` (the kubectl/helm
INSTALL layer, a different entity).

Routing only: each `skill:` node carries `name`/`family`/`owner` plus the `triggers:`
the carrier had, and no inline `description:` or `content:`. `family: kubernetes` is
kept, so `/charly-kubernetes:kubernetes` and `/charly-kubernetes:check-k8s` — the
addresses this repo's own `AGENTS.md` R0 list and the umbrella dispatcher cite — still
resolve.

`README.md` said "This candy carries no `skill:` entity of its own", with a link to the
CLOSED opencharly#291. That claim is falsified by this change and is corrected here,
together with the `AGENTS.md` canonical-files entry for `.agents/skills/`.

Nothing is deleted from `layer-charly-kubernetes` here: its node removal and retirement
belong to the session that claimed the carriers (opencharly/opencharly#600).

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
@github-actions

Copy link
Copy Markdown

Review — PASS

The diff is internally consistent with the PR body:

  • 5 files / 491 insertions / 7 deletions matches the stated counts.
  • .agents/skills/check-k8s/SKILL.md and .agents/skills/kubernetes/SKILL.md are added at the repo-root Agent-Skills tree.
  • candy/plugin-kube/charly.yml adds exactly two routing-only skill: nodes, with name/family/owner and no inline description: or content:. The check-k8s node carries triggers:; the kubernetes node does not, which is consistent with the file comment that triggers are only present where needed.
  • README.md and AGENTS.md are updated to reflect the new skill location and ownership, and the stale “no skill: entity” claim / closed-issue reference is removed.
  • No Go, schema, runtime, dependency, secret, or injection changes are present. Security risk is negligible for this documentation/config-only diff.
  • The stated validation approach is appropriate for the change class: existing charly box validate reads the skill bodies, and the negative control demonstrates the gate can fail when a body is missing. No new test file is required for a prose/routing-only change.

Non-blocking notes:

  • The “byte-identical to the carrier” claim cannot be independently re-derived from this diff alone; the shown hashes are truncated and the carrier copy is outside the PR. This does not contradict the diff.
  • The carrier-node removals and marketplace switchover are explicitly out of scope and treated as a separate dependency; the PR is additive as described.
  • The check-k8s method table labels wait-nodes’ name: as (host) while the prose correctly describes it as a node name. This appears to be copied pre-existing content, not a regression introduced by this relocation.
  • Process claims such as R0–R10 and A3 are not independently verifiable from the diff; no contradiction with the changed files was found.

No comments or maintainer sign-off were present, so the change was assessed on its own evidence.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) October 23, 2026 08:50
@github-actions
github-actions Bot merged commit 5e87739 into main Oct 23, 2026
1 check passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants