Repository navigation
feat(kind): the kindcluster R10 bed, the merged plugin pins, and the package deps - #669
Conversation
…package deps The consumer leg of the kind-integration cutover. The producer chain is already merged and tagged: spec (kindcluster schema), plugin-kube (deploy:kindcluster), plugin-egress (kind_cluster egress), plugin-substrate (kind:kindcluster). Charly core's registration of the `kindcluster` deploy substrate landed in #668; this change completes the consumer side: - `charly/go.mod`/`go.sum` — bump the two compiled-in plugin pins to the merged tags that actually serve this cutover: plugin-substrate v0.2026268.2319 -> v0.2026269.14 (adds the kindcluster word) and plugin-egress v0.2026250.951 -> v0.2026269.4 (adds the `kind_cluster` egress schema the deploy:kindcluster preresolve gates on). spec stays at v0.2026268.2214. - `charly.yml` — NEW `check-kindcluster` (`disposable: true`) + its `check-kindcluster-cluster` template: a local Kubernetes-in-Docker cluster (kind v0.33.0, digest-pinned node image) on podman, probed with the `kube:` verb against the context kind writes (`kind-check-kindcluster`). Uses nodes/wait-nodes/storageclass/raw — NOT `addons`, which is k3s-only (kind ships kindnet, no Traefik/ServiceLB). - `packaging/charly.yml` — the kind tool + its containerd nerdctl-engine prerequisite as archlinux depends (the `kind` package is in Arch extra); `kind` as a `suggest` on rpm/deb/apk (no native package exists there — the layer-kind candy downloads the pinned binary). - `charly/packaging_test.go` — TestPackagingDeclaresTheKindClusterTool (fails without the dependency change). Proven live: `charly check run check-kindcluster` PASS (6 steps) on this exact tree — deploy-add provisioned a real cluster, check-live asserted 5 live cluster facts, the fresh `charly update` re-verified, teardown left zero residue.
Review — BLOCKHead SHA: Change class: charly Go/config — a new R10 bed ( Security screen: finding (T2) — see block 1. Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS (T1–T4 clean — no spec/rulebook edits, no embedded directives, no secrets/egress, no guardrail weakening; the new target is explicitly Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary of changes
The consumer leg of the kind-integration cutover: the R10 bed, the merged
plugin pin bumps, and the native-package dependencies that make the
kindclustersubstrate usable end to end.
The producer chain is already merged and tagged:
spec(#Kindcluster/#KindclusterValue/#ProjectTemplates.kindcluster) →plugin-kube(deploy:kindcluster, tagcandy/plugin-kube/v0.2026268.2341) →plugin-egress(kind_clusteregress, tagcandy/plugin-egress/v0.2026269.4) →plugin-substrate(kind:kindcluster, tagcandy/plugin-substrate/v0.2026269.14).Charly core's registration of the
kindclusterdeploy substrate landed in #668(which also carried the
kindclustermap line); this change completes the rest.Every file in the diff:
charly/go.mod,charly/go.sumv0.2026268.2319 → v0.2026269.14; plugin-egressv0.2026250.951 → v0.2026269.4; spec staysv0.2026268.2214charly.ymlcheck-kindcluster(disposable: true) +check-kindcluster-clustertemplatepackaging/charly.ymlkind+containerdas archlinux depends;kindas a rpm/deb/apk suggestcharly/packaging_test.goTestPackagingDeclaresTheKindClusterToolWhy the pin bumps
Charly core compiles
plugin-substrateandplugin-egressin. The pins inheritedfrom main predate this cutover:
[email protected]has nokindclusterword, and[email protected]has nokind_clusterschema. Without bumping them the substrate would never resolve and the
deploy:kindcluster preresolve would fail its egress gate with "no egress schema
registered". Both target tags are merged;
plugin-kube(thedeploy:kindclusterprovider) is loaded out-of-process via the
check-kindclusterbed'sadd_candy:at its merged tag.
The bed uses
nodes/wait-nodes/storageclass/raw— notaddonskube: addonswaits on the k3s addon stack (Traefik / ServiceLB / local-path inkube-system). kind ships kindnet and no Traefik/ServiceLB, and itslocal-path provisioner lives in the
local-path-storagenamespace with theStorageClass named
standard. The bed asserts the kind-appropriate facts.Packaging
kindis packaged in Archextra(so it is a harddependsthere, plus itscontainerdrootless-nerdctl prerequisite); no native package exists forrpm/deb/apk, where it is a
suggestand thelayer-kindcandy downloads thepinned binary. This is the operator's explicit "add the tools to the charly
package dependencies" requirement.
How R10-tested — the live bed, run on this exact tree
The bed is a
disposable: truedeploy (check-kindcluster). It ran against theMERGED producer tags (built from this tree; the
add_candy:plugin at its mergedtag, no local overrides):
The live
check-liveassertions (5 real cluster facts):Teardown left zero residue:
The
[allowlisted=1]markers are NOT suppressed warningsEach marked step carries exactly one allowlisted finding, and it is the
dev-worktree-binary notice — the harness telling you
charlyis a worktreebuild rather than an installed package. From
.check/check-kindcluster/2026.269.0058/summary.yml:There are zero non-allowlisted warnings;
errors: 0 / warnings: 0per step.An installed-package run (the release path) produces no such notice.
Module gate
Project-rulebook rule compliance
/charly-check:check(the change-class matrix),/charly-internals:plugin,/charly-internals:git-workflow.cutover). The
[allowlisted=1]markers are the dev-worktree-binary notice —allowlisted, zero real warnings (shown above). A separate, unrelated
charly box validatefailure exists oncharlymain: two compiled-in plugin@githubcandy refs (layer-agentteams→plugin-agentteams,plugin-dsh) resolve to manifests whose shape predates a schema change(
plugin:no longerfield not allowed;source: builtinrejected). It isowned by the named spec-adoption batch
opencharly/charly#632(
#633) — "adopt spec main in charly — fan out the behind plugins" — whichcarries the producer→consumer pin fan-out for exactly these plugins. It is not
touched by this change (it reproduces at
origin/mainwith no local edits) andis not this PR's gate:
ci.ymlrunsgo test ./charly/..., notbox validate.the core registration is the sibling feat(deploy): register the kubevirt external deploy substrate #668 (already merged).
kube:surface; thepackaging follows the nerdctl-stack precedent (hard dep where packaged, suggest
elsewhere).
kindcalls is the correctmechanism, not a retry. No sleeps.
N/A — no documentation routes around a defect.TestPackagingDeclaresTheKindClusterToolfailswithout the dependency change; the bed's checks fail without the substrate.
it is written (the producer plugin-egress schema).
scripts/bootstrap-charly.shin this worktree;bin/charly version→2026.269.0028.charly check run check-kindclusterPASS onthe final tree, pasted above.
Change classification
native-package dependency surface). Additive.
charly check run check-kindcluster(disposable R10 bedon the final tree) +
go build ./...+go test ./...— all green.fully tested and validated— the disposable R10 bedprovisioned a real cluster, re-verified on a fresh rebuild, and tore down with
zero residue; charly's module gate is green on the final tree.
Attribution evidence (A3)
The authoring runtime's own model registry reports this model as provider
ollama-cloud, idollama-cloud/deepseek-v4.1-flash, nameDeepSeek V4.1 Flash, status active (amodelsregistry query, not a config-file read).Harness:
OpenCode.Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)