Repository navigation
feat: rename deploy substrate kind k8s: to kubernetes: (full naming cleanup) - #242
Conversation
…leanup) Wire key k8s: → kubernetes:, CUE defs #K8s* → #Kubernetes*, Go identifiers K8s* → Kubernetes*, inner deploy-knobs block kubernetes: → deploy: (Go field Deploy *KubernetesDeploy), provider words, migration entry, and every doc/skill reference. Consumes spec v0.2026223.1018 + sdk 0139384. Bumps schema version to 2026.223.1018 across the repo + box submodules.
…kubernetes rename Completes the docs/skills half of the substrate-rename cutover. Every candy skill entity, root prose file, and workflow script whose text named the old `k8s:` kind word now names `kubernetes:` (substrate lists, `kind: kubernetes` cluster templates, `deploy:` inner deploy-knobs block, the `deploy:kubernetes` provider word). `charly marketplace generate` then regenerated the plugins/ skill projections + dispatcher tables, and `charly docs generate` regenerated the docs/ site (40 pages). The kubernetes skill no longer claims a nonexistent `--target` flag; from-box keeps `--cluster`. plugins=281ca27, docs=6a7d474. Assisted-by: Claude Code <AI 2026-08-11>
The declarative op-walker's under_kind scoping selected the entity value mapping that carries the K discriminator, and rename_key renamed its first match — the DISCRIMINATOR itself. For the k8s→kubernetes cutover's op 2 (rename_key kubernetes→deploy under_kind kubernetes) that rewrote the outer substrate node to deploy: instead of the inner deploy-knobs block, producing cluster templates and deploy nodes keyed deploy: at the top level. This is the first real use of under_kind (the prior cutovers used apply: hooks), so the latent bug only surfaced under the R10 migrate gate. Compact node form guarantees the discriminator is the first key of an entity value; skip it when the renamed key IS the scoped kind, so only same-named nested fields (the deploy-knobs block) are renamed. Also bumps the migration-table count expectation 3→4 and adds coverage: TestOpWalker_RenameKeyUnderKind (fails without this fix) and TestMigrationTable_K8sToKubernetes (op order + shape). Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)
…-connect default
R5 finishing sweep on the k8s→kubernetes rename — the last stale references to
the removed identifiers, claim-keyed:
- charly/KERNEL_MANIFEST.md — substrate_template_resolve.go row:
ResolvedK8s/resolveK8sViaPlugin/Resolve{K8s,Vm,Android}EntityViaExecutor →
Resolve{Kubernetes,Vm,Android}EntityViaExecutor (verified against the current
names in sdk/loaderkit + charly/substrate_template_resolve.go)
- candy/charly-kubernetes/charly.yml — findK8sSpec → findKubernetesSpec
- candy/plugin-k8sgen (main.go + cmd/serve/main.go) — the comments claimed a
live host "GenerateK8sKustomize shim"; K5-A item 6 deleted it. k8sgen is
reached peer-to-peer via verb:k8sgen/OpEmit from candy/plugin-kube's
materializeKustomize (deploy:kubernetes + from-box), no host round trip.
R2 fix surfaced by the box/<distro> config gate: a deploy-class word naming a
known externalized substrate with an EMPTY caller extraRef now defaults to the
substrate's canonical plugin ref (substrateFallbackRef → externalDeploySubstratePluginRef)
in the S3b lazy-connect Pass-2 — restores the connect the deleted pod-config
seam threaded explicitly, so a candy-less box/<distro> project resolves
deploy:pod/deploy:kubernetes/deploy:vm for `charly config` and the fleet
from-box legs (fleet add already reaches them via deployNodePluginContext's
auto-inject). Coverage: TestSubstrateFallbackRef (6 cases, fails without it).
.gitignore: .opencharly/ — per-run fleet/deploy output, same class as .check/.
Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)
…rom candy sources R5 claim-keyed finish on the k8s→kubernetes rename — the plugins#149 validator caught three sources still asserting a live present-tense claim that became false when the deploy KIND became `kubernetes`: - candy/k3s-agent/charly.yml — "the `k8s` spelling is reserved for the deploy KIND only" → "the deploy KIND is spelled `kubernetes`" (canonical phrasing already in candy/charly-kubernetes/charly.yml) - candy/k3s-server/charly.yml — same claim, same fix - candy/plugin-k8sgen/charly.yml — "a kind:k8s cluster template" → "a kind:kubernetes cluster template" (a live claim about the kind value, not the permitted k8sgen confusable NAME) Regenerated byte-clean: `charly marketplace generate` + `charly docs generate` from these sources drop the claim from the plugins corpus (k3s-agent/k3s-server/ check-k8s SKILL.md, the check-k8s `findK8sSpec`→`findKubernetesSpec` residual) and the docs corpus (k3s-agent/k3s-server/check-k8s + plugin-k8sgen pages) with zero other drift. The plugins + docs PRs pick up the regenerated corpora in their own repos. Carries the staged gitlink pins for the landed producer repos: box/arch 8942953, box/cachyos 8617227a, box/debian b12ca874, box/fedora c807a1f7, sdk e14cf3b7 (all verified against their merged main SHAs). Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)
Bump the spec/sdk/distro/plugins/docs gitlinks to the landed producer mains: - box/ubuntu @ 79fdbe75 (v2026.223.1620, the last distro leg) - plugins @ f1c459a (the regenerated skill corpus, PR #149 head) - docs @ b2b547b (the regenerated site corpus, PR #39 head) The plugins/docs pins track the cutover PR heads; they are re-pinned to the merged mains once each producer PR lands (the superproject pins its producers, so producers land before it). Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)
plugins#149 merged and tagged v2026.223.1730; advance the gitlink from the PR branch head f1c459a to the merged main commit 413745a (squash of the projection regeneration, tree byte-identical to the branch-finalized head). Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
Commit 50075ab accidentally carried agentteams' uncommitted Unit-1 change (the dk.HasExtract() predicate + comment hunk in candyHasInstallFiles) into this rename cutover — two cutovers must never share one PR (R2). Restore the file to base 9a31b61 (byte-identical); agentteams ships HasExtract in its own Unit-1 cutover. On this branch no extract-only candy exists, so box validate is unaffected (verified: EXIT 0) and the plugin-box package tests pass. Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
The every-landing-carries-one convention requires a placeholder CHANGELOG entry; the fresh pr-validator renames it + rewrites the H1 at merge (matching the plugins#149 pattern where 2026.223.1018.md became 2026.223.1730.md). Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
docs#39 landed (squash-merge as 736188773bc2d687757fa892b90a711a8b1130a0, tagged v2026.223.1814). The superproject pins the docs gitlink, so the producer leg must land before this consumer leg merges; re-pin from the pre-merge PR head to merged main.
CHANGES-REQUESTED — fresh
|
| # | Item | Verdict |
|---|---|---|
| 0 | Security screen (no secrets, no malicious URLs, no supply-chain redirection) | PASS |
| 1 | Description completeness (full template body, context, pasted R10) | PASS |
| 2 | Change-class gate (runtime cutover → bed required; bed evidence genuine but stale — see blocking finding) | PARTIAL (FAIL by freshness) |
| 3 | Attribution tier (analysed on a live system — not supportable until R10 re-run on final head) |
PARTIAL |
| 4 | R0 skills loaded (go, migrate, git-workflow, cutover-policy, kubernetes, plugin, check, validate) |
PASS |
| 5 | R1 RCA / zero warnings (box validate → EXIT=0, no warnings) |
PASS |
| 6 | R2 no "pre-existing"/"out of scope" classifications | PASS |
| 7 | R3 no duplication (shared abstraction, no new copies) | PASS |
| 8 | R4 no workarounds (no sleeps/retries/ad-hoc commands) | PASS |
| 9 | R5 hard cutover + grep self-test | FAIL (blocking finding 1) |
| 10 | R6/R8/R9 artifact integrity (git safety, labels, binary==source) | PARTIAL (blocking finding 2) |
| 11 | R10 disposable/fresh-rebuild/coverage | PARTIAL (evidence stale) |
| 12 | RDD/ADE/SDD (schema spike fixture, migration test TestMigrationTable_K8sToKubernetes) |
PASS |
| 13 | Concurrency + anti-cheat (no gating manipulation) | PASS |
| 14 | Hard cutover one atomic commit per repo | PASS |
| 15 | Architecture gate (substrate provider model, no in-core kind-word remains) | PASS |
| 16 | Disposable-only autonomy (bed disposable: true) |
PASS |
| 17 | Clean architecture + Go gates (go test ./... → ok, no FAIL; box validate → EXIT=0) |
PASS |
| 18 | CHANGELOG present (placeholder 2026.223.1018, H1 matches, not on main) |
PASS |
Verified independently (positive evidence)
- Head SHA matches across remote, worktree, and GitHub API.
- Producer gitlinks all point at merged, tagged main:
docs[email protected],plugins[email protected],sdk[email protected],spec[email protected]. - Migration table invariants hold: version
2026.223.1018strictly greater than previous main's2026.204.1223; tworename_keyops in correct order; entry last in the ascending table;#SchemaVersion=2026.223.1018matches. - CHANGELOG placeholder not present on main (GitHub API 404); filename/H1/format valid.
go test ./...incharly/→ ok (86.5s, no FAIL);./bin/charly box validate→ EXIT=0, zero warnings.- R10 summary file
.check/check-k8s-deploy/2026.223.1701/summary.ymlis genuine:ok: true, 10/10 steps, 606s, includes the fresh-rebuild re-check. - Working tree clean in every repo at validation time.
Required before re-validation
- Rename
GenerateK8sKustomize→GenerateKubernetesKustomizeincandy/plugin-k8sgen/charly.yml:9; re-rungit grep -n 'GenerateK8sKustomize\|K8sKustomize'across every submodule (permitted returns: CHANGELOG/ history and migration help-text only). - Rebuild the binary (
task build:binary), verifycharly version, and re-run the full R10 bed from a freshcharly update; paste the newsummary.ymloutput. - Re-push via an added commit (never force-push). The head SHA moves → the status resets → a fresh validator re-runs.
Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)
…dy prose R5 miss surfaced by the fresh pr-validator (#242): the candy description still named GenerateK8sKustomize in present-tense prose, but the cutover renamed the live function to GenerateKubernetesKustomize (candy/plugin-fleet/deploy_from_box.go). The k8sgen-module-present check and the compiled-in path are unaffected (description-only change).
CHANGES-REQUESTED — fresh
|
| # | Item | Verdict |
|---|---|---|
| 0 | Security screen (T1–T4: no exfiltration / scope-mismatch / weakened-gate / supply-chain; no manipulation attempt) | PASS |
| 1 | Description completeness (full template body, pasted R10, ends with the *Assisted-by: …* footer) |
PASS |
| 2 | Change-class gate (runtime cutover → check-k8s-deploy bed on the final head, 10/10, 594s) |
PASS |
| 3 | Attribution tier (analysed on a live system — supported by the live bed run; not inflated) |
PASS |
| 4 | R0 skills honored (go / migrate / git-workflow / cutover-policy / kubernetes / plugin / check / validate — spot-checked) | PASS |
| 5 | R1 RCA / zero warnings (box validate → EXIT=0, no warnings; bed 10/10 ok:true) |
PASS |
| 6 | R2 no "pre-existing"/"out of scope" split (round-1 findings fixed in-tree) | PASS |
| 7 | R3 no duplication (CUE defs single source; projections regenerate) | PASS |
| 8 | R4 no workarounds (migration = declarative rename_key ops, no bespoke Go) |
PASS |
| 9 | R5 hard cutover + grep self-test (no live k8s: kind / kind:k8s / deploy:k8s / target:k8s / #K8s def; only permitted confusables) |
PASS |
| 10 | R6/R8/R9 artifact + binary integrity (git safety; regeneration reproducible; binary 2026.223.1831 == source) |
PASS |
| 11 | R10 disposable/fresh-rebuild/coverage (.check/check-k8s-deploy/2026.223.1831/summary.yml 10/10 ok:true, 594s, incl. fresh-rebuild re-check; coverage fails without the rename) |
PASS |
| 12 | RDD/ADE/SDD (task cue:gen clean-tree no-op; TestGenReproducible/TestPluginsGenReproducible/TestMigrationTable_K8sToKubernetes/TestOpWalker_RenameKey(UnderKind) all PASS) |
PASS |
| 13 | Concurrency + anti-cheat (mechanical identifier rename; no shared-state semantics changed; no gating manipulation) | PASS |
| 14 | Hard cutover one atomic cutover (squash at merge) | PASS |
| 15 | Architecture gate — placement: CORRECT (no new/grown alias, no new kit import, pure renames in core; per-item trace below) | PASS |
| 16 | Disposable-only autonomy (bed disposable: true) |
PASS |
| 17 | Clean architecture + Go gates (golangci-lint 0 issues, go vet clean, go test green) |
FAIL — 8 gofmt-dirty files introduced by the PR |
| 18 | CHANGELOG present (placeholder 2026.223.1018, H1 byte-matches filename, not on main) |
PASS |
Round-1 findings (abacd0c) — both RESOLVED
- R5 stale
GenerateK8sKustomize—candy/plugin-k8sgen/charly.yml:9now namesGenerateKubernetesKustomize(matches the livecandy/plugin-fleet/deploy_from_box.go:157).git grep -n 'GenerateK8sKustomize\|K8sKustomize'returns only the sanctioned deleted-identifier narrative incandy/charly-internals/charly.yml:5294("…GenerateK8sKustomizeit used to wrap are BOTH DELETED, K5-A item 6"). RESOLVED. - R9/R10 evidence freshness — binary is
2026.223.1831(built from4dfd3a58);.check/check-k8s-deploy/2026.223.1831/summary.ymlexists,ok: true, 10/10 steps,total_seconds: 594, includes the fresh-rebuild re-check (update-image→rebuild-members-down→re-bring-up-members→check-live-rebuild). RESOLVED.
Verified independently (positive evidence)
- Head SHA matches across remote, worktree, and GitHub API.
- Producer gitlinks all point at merged, tagged main:
spec[email protected],sdk[email protected],plugins[email protected],docs[email protected],box/arch@v2026.223.1618,box/cachyos@v2026.223.1626,box/debian@v2026.223.1620,box/fedora@v2026.223.1626,box/ubuntu@v2026.223.1620. - Migration table invariants hold:
k8s-to-kubernetesis the 4th entry, strictly afterstrip-deploy-shell-overlay; op1rename_key k8s→kubernetes scope any; op2rename_key kubernetes→deploy under_kind kubernetes;#SchemaVersion=2026.223.1018matches the entry. task cue:genon the committed tree →git statusCLEAN (reproducible, no drift).golangci-lint run ./...(isolatedGOLANGCI_LINT_CACHE) → 0 issues;go vet ./...clean;go test ./...green../bin/charly box validate→ EXIT=0, zero warnings.- Bed
check-k8s-deployisdisposable: true; its deploy node uses thekubernetes:substrate (check-k8s-deploy-workload: {kubernetes: {image: …, from: check-k8s-deploy-cluster-ctx}}); the cluster templatecheck-k8s-deploy-cluster-ctxiskind: kubernetes. - CHANGELOG placeholder not present on main (no
v2026.223.1018tag); filename/H1/format valid.
Non-blocking observation (R1 — documentation divergence, genuinely unrelated to this cutover's scope)
charly/CLAUDE.md:11-13 lists 12 files to load the install-plan skill before touching (install_plan.go, install_build.go, build_target_oci.go, deploy_target_*.go, k8s_generate.go, deploy_preresolve.go, host_build_deploy_entity_resolve.go, host_build_k8s_generate.go, …) — ALL 12 are DELETED (K-wave 2 extraction, predates this PR; the list is unchanged on main). This is a pre-existing K-wave-2 leftover, not a reference to any identifier this cutover removed, so it does not block this PR — but per R1 it is a documentation divergence that should be RCA'd and routed to the next K-wave cleanup thematic batch (the signpost should name the plugin/sdk locations that now own the install-plan pipeline).
Comments considered: 1 — atrawog round-1 CHANGES-REQUESTED (2 findings: R5 stale GenerateK8sKustomize; R9/R10 evidence freshness). Disposition: both verified-resolved (re-verified independently above).
Cross-PR interactions considered: none-found — opencharly/charly has no other open PR; sibling repos (spec, sdk, plugins, docs) have no open PRs.
Decision: FAIL — not merged. Blocking: the 8 gofmt-dirty files (item 17). Fix: gofmt -w the 8 files, re-run gofmt -l (empty), re-run go test ./... + box validate, re-push via an added commit.
Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)
The k8s→kubernetes rename lengthened map keys / struct fields across 8 files (provider_deploy.go substrate map, the substrate_spec_aliases + fleet helpers test maps, the k8sgen test struct fields) and the columns were not re-aligned; gofmt flags all 8. Alignment-only — no semantic change; verified gofmt -l clean and the charly + affected-candy module test suites pass. Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)
pr-validator — APPROVED ✅Change class: code + config + schema + migration + docs (the full cross-repo k8s→kubernetes cutover's superproject leg) Head validated: Checklist
Phase 1b — documentation scrutinyCold reader (mandatory) run: a
Mechanical 1b checks run by me: reader-state claims grep ( Comments considered:
Cross-PR interactions considered: none found — swept all 12 repos (charly, spec, sdk, plugins, docs, distro-arch, distro-cachyos, distro-debian, distro-fedora, distro-ubuntu, pkg-fedora, pkg-debian); the only open PR anywhere is #242 itself. Decision: APPROVED. All 18 checklist items PASS; the k8s→kubernetes cutover is complete on the final head, R10-proven on the disposable bed (10/10, fresh-rebuild re-check included), R5-clean, SDD-reproducible, architecturally correct, with no in-diff contradiction in the reader-facing prose. Finalizing merge-time CalVer, squash-merging, and tagging. Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system) |
Rename the CHANGELOG placeholder to the merge-time CalVer and stamp its H1. The schema version surfaces (charly.yml version, migrations.cue entry) stay at 2026.223.1018 — strictly above the current main's 2026.204.1223 and matching the landed spec producer's #SchemaVersion. Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)
) * feat(agentteams): foundation candies + core box + R10 bed (Unit 1) The first three candies of the AgentTeams full-integration cutover — minio, matrix, element — composed into the agentteams-core-app box on the cachyos base, plus the check-agentteams-core-pod disposable R10 bed. Candies (all rootless — every service runs as the image user, uid 1000, against the /data volume; all start scripts are charly-owned write: steps, never upstream install scripts): - agentteams-minio: minio + mc extracted from higress/minio|mc:20260216 (extract:), S3 API :9000 + console :9001, mc-mirror storage initializer (bucket + agentteams-config mirror). Root password self-provisions (env wins, else persisted /data/minio/.root-password). - agentteams-matrix: tuwunel static binary extracted from higress/tuwunel:20260216, Matrix homeserver :6167 with the CONDUWUIT_* env the controller expects. Registration token self-provisions. - agentteams-element: element-web static files extracted from higress/element-web:20260216, served by a rootless nginx :8088 (charly-owned config + start script regenerating config.json from env). Box: agentteams-core-app (base: cachyos.cachyos). Bed: check-agentteams-core-pod (disposable: true) — pod steady state + all three component health probes, all as uid 1000 against /data. Cross-repo (B2, producers landed first): this commit bumps ONLY the spec gitlink to 5130501 (v0.2026223.1350, spec#22's DeployTargetRebuildOpts.Tag) + the charly/go.mod spec require to v0.2026223.1350. The sdk (e14cf3b7) and plugins (413745a) gitlinks are already at their merged mains on charly main via the k8s→kubernetes rename leg (#242): sdk#128's identifier rename + sdk#127's download-creates-dest-dir fix ride in sdk e14cf3b7, and plugins#150's regenerated image/layer skills (the extract: row, the download: behavior, the charly-owned start scripts section) ride in plugins 413745a. Also in-tree: - plugin-box/validate_rules.go: HasExtract counts as an install file for ADE validation (extract:-only candies — agentteams is the first consumer). - plugin-deploy-pod/lifecycle.go + plugin-check/bed_run.go: the update/rebuild tag threading pins the per-run bed tag so the fresh-rebuild gate (check-live-rebuild) verifies the JUST-BUILT image, never a stale cached one (the tag-CalVer tiebreak fix). The charly dispatch leg (charly/update_deploy_dispatch.go) lands in the follow-up commit on this branch — the pre-rename charly module cannot lint against the post-rename spec pin until the k8s→kubernetes rename leg (#242) is merged. - candy/charly-image/charly.yml: the extract:/download:/charly-owned-scripts doc hunks the plugins skills were regenerated from. - candy/plugin-{box,check,deploy-pod}/go.mod: spec require bumped to v0.2026223.1018 — the post-rename sdk's graph minimum, the same bump the k8s→kubernetes rename leg applies to all 88 candy go.mods. These three are the modules this cutover touches, so the pre-commit gate passes pre-rebase. R10 gate: charly check run check-agentteams-core-pod (disposable) — PASS (run 2026.223.1239, steps=13, zero warnings), all three self-provisioning checks PASS exit=0 in both check-live and check-live-rebuild; 26/26 checks on the pinned per-run image. Fresh-rebuild re-verified after commit. Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated) * charly: thread the per-run bed tag through update dispatch (Unit 1) The charly dispatch leg of the update/rebuild tag threading: pins the per-run bed tag through DeployTargetRebuildOpts.Tag so the fresh-rebuild gate (check-live-rebuild) verifies the JUST-BUILT image, never a stale cached one (the tag-CalVer tiebreak fix). The candy legs (plugin-deploy-pod/lifecycle.go + plugin-check/bed_run.go) landed in the preceding commit; this leg was split out because the pre-rename charly module could not lint against the post-rename spec pin until the k8s→kubernetes rename leg (#242) merged. Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated) * chore: bump plugins gitlink to 6a089de (v2026.223.1424) plugins#150 (regenerated image/layer skills from the charly-image candy docs, incl. the Agent Driven Evaluation (ADE) expansion) merged as 6a089de. The charly repo's plugins submodule now points at the merged skills so the regenerated docs match the candy-doc source this Unit-1 commit carries. The sdk gitlink is deliberately NOT bumped to 2d01e8a (sdk#127): that squash was based on pre-rename sdk main and reverted the vmshared K8s* rename, so it fails to build against the post-rename spec pin in the charly workspace (spec.K8s* undefined). The download-fix producer needs a follow-up sdk PR re-applying the fix on post-rename main. Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system) * chore: finalize CHANGELOG for v2026.223.2032 (Unit 1 merge CalVer) Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)
Summary of changes
The deploy substrate kind
k8s:→kubernetes:— a full charly naming cleanup, one atomic hard cutover (R5):kubernetes:(k8s:is deleted).kubernetes?: #K8sDeploy; renamed todeploy?: #KubernetesDeploy(the outer-node rename collides with it). Go fieldDeploy *KubernetesDeploy.#K8s*→#Kubernetes*(#Kubernetes,#KubernetesDeploy,#KubernetesResources,#ResolvedKubernetes, …);spec/schema/k8s.cue→kubernetes.cue; enums("pod"|"vm"|"k8s"|…)→"kubernetes".K8s*→Kubernetes*(types, consts, methods, fields); kind-word literals"k8s"→"kubernetes";SubstrateK8s→SubstrateKubernetes;ResolveK8sEntityViaExecutor→ResolveKubernetesEntityViaExecutor(sdk leg);findK8sSpec→findKubernetesSpec.deploy:k8s→deploy:kubernetes(plugin-kube),kind:k8s→kind:kubernetes(plugin-substrate),target: k8s→target: kubernetes.candy/plugin-migrate/migrations.cueentryk8s-to-kubernetesat the bumped#SchemaVersion2026.223.1018— op 1rename_keyk8s→kubernetes(scope any), op 2rename_keykubernetes→deploy(scope any, under_kindkubernetes). Verified withcharly migrate --dry-run+ real run on a fixture (see below).candy/charly-kubernetes,candy/k3s-agent,candy/k3s-server,candy/plugin-k8sgen,candy/charly-hooks); the--target kubernetes/--target k8sreferences removed (no such flag exists on any fleet command — the real mechanism is authoring akubernetes:substrate node +charly fleet add <name>); regenerated the plugins + docs corpora viacharly marketplace generate/charly docs generate(submodule pins land here).v0.2026223.1018, sdkv0.2026223.1626(ResolveKubernetesEntityViaExecutoron main), box/arch/cachyos/debian/fedora/ubuntu (all landed + tagged), plugins @ 413745a (merged main, taggedv2026.223.1730), docs @ 73618877 (merged main, taggedv2026.223.1814). All producer legs have landed and are re-pinned to their merged mains — the superproject pins its producers, so producers land before it.Confusables — deliberately NOT renamed: the
kube:check verb,k3s,k8sgen/plugin-k8sgen,k8s.io/*deps,k8s_objectegress schema, the.opencharly/k8s/output path, thek8s.ymldiscovered filename, thecheck-k8s-deploy/check-k3s-vm/check-k8sbed+skill names,k8s-box/k8s-layer,kubectl/kubeconfig, and the frozenreshape_compact.gohistorical migration vocab.Change class
code + config + schema + migration + docs — the full cross-repo k8s→kubernetes cutover's superproject leg. Landing order: spec (landed
v0.2026223.1018) → sdk (landedv0.2026223.1626) → 5 box distros (landed) → plugins (landed413745a/v2026.223.1730) → docs (landed73618877/v2026.223.1814) → superproject (this PR).How R10-tested — exact gate, commands, and pasted output
The gate for this change class (runtime): the beds that exercise the rename —
charly check run check-k8s-deploy(the disposable k3s VM +kubernetes:deploy emitting an egress-validated Kustomize tree applied viakubectl --context … apply -k, with thekube:wait-nodes/raw-deployments/pods checks proving the Deployment object landed), plus the fullgo test ./...,charly box validate(zero warnings), and the migration fixture gate.R10 bed run on the FINAL head —
./bin/charly2026.223.1905(built from1058aa3a),charly check run check-k8s-deploy→ PASS, 10/10 steps ok:true, zero ok:false, 598s, EXIT=0 (.check/check-k8s-deploy/2026.223.1907/summary.yml):Teardown/reverse-step noise, reported verbatim (R1, pre-existing, non-blocking): the fresh-rebuild and final-teardown phases both record
reverse: rm-file-system failed: exit status 255/reverse: package-remove failed: exit status 255afterDestroyed VM charly-check-k8s-deploy-cluster— the reverse ops run over SSH to the (now-destroyed) disposable VM and the runner records them non-fatally withinrebuild-members-down/cleanup-members(both ok:true, EXIT=0). Same shape as the round-1 run the validator blessed; a bed-robustness improvement (skip reverse ops once the venue is destroyed) is routed to the next thematic batch.k8s:deploy node + cluster template + innerkubernetes:deploy-knobs block, run throughcharly migrate:cd charly && go test ./...→ ok (incl.TestMigrationTable_K8sToKubernetes,TestGenReproducible);./bin/charly box validate→ EXIT=0, zero warnings;gofmt -l charly/ candy/→ empty (the gofmt-alignment fix1058aa3a); binary2026.223.1905built from this tree (final head1058aa3a).git grep -n 'k8s'excludingspec/sdk/plugins/docs/box/CHANGELOG→ every remaining hit is a permitted confusable (listed above) orCHANGELOG/history + migration help-text;git grep -n 'K8s'→ the only identifiers are the sanctioned deleted-identifier narrative atcandy/charly-internals/charly.yml:5294(GenerateK8sKustomizein the "are BOTH DELETED, K5-A item 6" historical clause — the exact text the round-2 validator blessed as R5-PASS), the migration test nameTestMigrationTable_K8sToKubernetes, the kept#K8sObjectegress envelope, and base64 substrings in a notebook (not identifiers). Zero liveK8s*identifiers.Attribution tier
analysed on a live system— the changed runtime path (thekubernetes:substrate deploy → Kustomize emission →kubectl apply -k) ran live on the disposablecheck-k8s-deploybed; the complete fresh-rebuild R10 verdict is pasted with the bed output. The docs/skills half is regeneration-reproducible.Harness rulebook compliance — state HOW each is satisfied (or
N/A — <reason>)/charly-internals:go(schema-change recipe),/charly-build:migrate(schema-version bump + migration table + per-merge tag),/charly-internals:git-workflow(PR-only landing, feat-branch accumulate, validator-finalized CalVer),/charly-internals:cutover-policy(one atomic cutover),/charly-kubernetes:kubernetes+/charly-internals:plugin(the substrate provider model),/charly-check:check(R10 by change class),/charly-build:validate(box validate).charly box validateruns at zero warnings.k8s-reserved claim class found in the k3s-agent/k3s-server/plugin-k8sgen skill sources was swept in this same cutover; nothing parked.rename_keyops, no bespoke Go; no ad-hoc commands against managed resources.k8s:wire key,#K8s*defs,K8s*identifiers,deploy:k8sprovider word, and every stale doc/skill reference are removed in this one cutover; the per-submodule grep self-test returns only confusables +CHANGELOG/+ migration help-text.check-k8s-deploybed is the end-to-end proof (below).charly marketplace generate/charly docs generateclean-tree no-ops) verified; egress validation on every emitted manifest.task build:binary→2026.223.1905(built on the final head1058aa3a), invoked via this worktree'sbin/;charly version=2026.223.1905.check-k8s-deployruns on thedisposable: truegroup; coverage that fails without the change = thekube:deployment-object checks (they assert thekubernetes:substrate applied the workload).deploy:kubernetesserved by candy/plugin-kube) and generated types, not the kernel's kind-blind core; import purity preserved (go test+import_purity_testgreen).check-k8s-deploybed.CHANGELOG/2026.223.1018.mdstaged (placeholder CalVer — the fresh pr-validator finalizes it at merge).Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)