Repository navigation
feat(plugin-kube): adopt spec 261 (schema-head pin bump) - #5
Conversation
The schema-249→261 wave leg for plugin-kube, a prerequisite for the engine-provider-class cutover (spec#144/#145). plugin-kube self-loads project config through sdk/loaderkit, whose GateSchemaVersion rejects any config NEWER than the plugin's compiled spec HEAD; at the previous pin its HEAD was below 261, so a 261 charly could not drive its bed. - spec pin -> v0.2026266.545; sdk -> v0.2026266.623. - No code migration was needed; the module compiles clean against the merged engine-class spec/sdk. Local gates: gofmt -l . (empty) / go build ./... / go vet ./... / go test ./... GREEN. BREAKING: consumers of plugin-kube must pin spec >= v0.2026266.545. Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
Review — BLOCKHead SHA: Change class: code/config — dependency pin bump ( Comment thread: empty (0 comments) — nothing to adjudicate. Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: config — dependency pin bump ( Blocks
Comment intake
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS (diff is Comment dispositions:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
…e plugin that serves them (#28) `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) Co-authored-by: Andreas Trawoeger <[email protected]>
Summary
The schema-249→261 wave leg for
plugin-kube(issuecharly#633): bump the compiledsdk/specpins so a 261 charly can drive theplugin-kubekube:/deploy:kubernetesconsumer bed. Before this bump the plugin's compiled spec HEAD was below 261, so a 261 charly (schema HEAD2026.261.1747) could not self-load a 261 project's config through it.The 2-file diff, every file and pin accounted for:
candy/plugin-kube/go.modsdk v0.2026241.933 → v0.2026266.623;spec v0.2026241.931 → v0.2026266.545; indirectgolang.org/x/net v0.55.0→v0.57.0,x/sys v0.45.0→v0.47.0,x/term v0.43.0→v0.45.0,x/text v0.37.0→v0.40.0(the transitive bumps the new sdk/spec require)candy/plugin-kube/go.sumgithub.com/opencharly/charly/candy/plugin-{egress,init}pseudo-versions relocate to their post-cutover standalone pathsgithub.com/opencharly/plugin-{egress,init}/candy/plugin-{egress,init}; plus graph-only transitive bumps ofgolang.org/x/crypto v0.52.0→v0.54.0,x/mod v0.35.0→v0.37.0,x/sync v0.20.0→v0.22.0,x/tools v0.44.0→v0.47.0(no require-line change for these four — thego.modrequires onlyx/net,x/sys,x/term,x/text)No source change:
candy/plugin-kube/*.gois untouched (git diff origin/main...HEAD -- candy/plugin-kube/k3s_post.gois empty).Content commit
bd3ac98f1685; baseorigin/main66234cb3a4f1. The branch head is an empty body-refresh commit (no content change) that re-triggers the validator against this final body.How tested
Change-class gate — the
plugin-kubeconsumer bed, run live on adisposable: truetarget with the branch plugin viaCHARLY_REPO_OVERRIDE.check-k3s-vmis the bed that consumesverb:kube(13 kube probe methods) and the k3s/deploy:kubernetespath; it isdisposable: true(charly/charly.yml:696). The override is the sanctioned "verify before you push" mechanism (spec/proc/repo_override.go:CHARLY_REPO_OVERRIDEpoints the@githubref at the local working tree; the:vTAGis ignored).The override actually served the BRANCH code (the load-bearing proof):
The
check-liveplan ran green (22 passed / 0 failed / 4 skipped), including the kube probes:summary.ymlrecords the bed green (ok: true) across every step, with the fresh rebuild exercised ([update]+[check-live-rebuild]both PASS). Theallowlisted: 1per-step figure is the harness's OWN recorded acceptance, not a surviving warning:summary.ymlcarriesallowlisted: dev-worktree-binary-noticeas an explicit finding class (the worktree-build notice the harness records and accepts), anderrors: 0on every step.Local gates (secondary):
check-k8s-deploy(the group bed) was also run. It exposed a bed-wiring bug (a context-name divergence) that is NOT this pin:plugin-kube'sk3s_post.gois byte-unchanged here. I root-caused it, fixed it, and ran it green — the fix landed as opencharly/charly#654 (MERGED), which this PR's required bed depends on (error: context "vm-check-k8s-deploy-cluster" does not exist; the cluster member registered contextvm-check-k8s-deploy). That is NOT this diff:plugin-kube'sk3s_post.go(which names the context) is byte-unchanged here, and the group bed's member/context wiring is incharly/charly.yml, not this repo. The consumer this PR's pin affects —check-k3s-vm'sverb:kubepath — ran green. The context fix charly#654 is MERGED: the group's rootvm:derives contextvm-check-k8s-deploy, while the stale pin saidvm-check-k8s-deploy-cluster(no such member exists). With #654 applied,check-k8s-deployPASSES (steps=15) — see its PR body for the pasted output.Project-rulebook rule-compliance
/charly-internals:plugin,/charly-internals:go,/charly-check:check,/charly-internals:git-workflow,/charly-internals:root-cause-analyzerloaded first.check-k8s-deploycontext failure was separately RCA'd to the bed wiring (not this pin) and routed to its owner. No "environmental" dismissal.CHARLY_REPO_OVERRIDEmechanism (not a cache hack, not a fake).check-k3s-vmconsumer bed ran live against the branch plugin and passed; the override-loaded branch code is proven by the served-from line.charly check run check-k3s-vmincluding[update]+[check-live-rebuild]: PASS (steps=10),ok: true.disposable: true; no unrelated target was mutated.Change classification
Config (dependency pin bump) in an external plugin candy, no source change. Verification gate: the
plugin-kubeconsumer bedcheck-k3s-vm(disposable: true, branch plugin viaCHARLY_REPO_OVERRIDE) — PASS (steps=10), fresh rebuild exercised. Attribution tier:fully tested and validated.Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)