Skip to content

docs(schema): retire the C2 fleet vocabulary residue from the CUE contract - #199

Merged
github-actions[bot] merged 3 commits into
mainfrom
feat/fleet-residue-spec-fresh
Oct 5, 2026
Merged

github-actions[bot] merged 3 commits into
mainfrom
feat/fleet-residue-spec-fresh

Conversation

@aitrawog

@aitrawog aitrawog commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Cutover C2 (opencharly/charly#554, "retire the fleet vocabulary — FleetNode→DeployNode, fleet/→deploy/") retired the fleet verb, re-registered the command provider as command:deploy, and renamed the FleetConfig family to DeployConfig. The contract module still named all of it, and the shipped binary rejects the retired word:

$ charly fleet add >/tmp/fleet.log 2>&1; echo "exit=$?"
exit=80
$ tail -1 /tmp/fleet.log
charly: error: unexpected argument fleet

$ charly deploy --help | head -3
Usage: charly deploy [<args> ...] [flags]

deploy (out-of-process command plugin)
$ charly deploy add --help | head -1
Usage: deploy add <name> [<ref>] [flags]
$ charly deploy del --help | head -1
Usage: deploy del <name> [flags]

Four substitution classes, each with its live target read out of source rather than assumed:

substitution matching lines in schema/ changed lines in schema/ evidence it is current
charly fleet → charly deploy 7 7 charly deploy add / del / from-box are the shipped subcommands — help output above, and plugin-fleet/candy/plugin-fleet/command.go:150 names the "deploy-add/del/from-box dispatch"
command:fleet → command:deploy 8 8 plugin-fleet/candy/plugin-fleet/charly.yml:21 — the candy's providers: entry is - command:deploy; git grep 'command:fleet' plugin-fleet -- '*.go' → no match
FleetConfig → DeployConfig (and the Load/Save/save…NodeForm forms) 14 14 sdk/deploykit/deploy_file.go:88 func LoadDeployConfig(ctx context.Context) (*DeployConfig, error); :285 LoadDeployConfigForRead; :144 SaveDeployConfig; sdk/deploykit/secret_declare.go:9 saveDeployConfigNodeForm
[fleet, add|del|start|stop → [deploy, … in #PipelineClassRoutes 1 1 the sibling build row in the same table reads charly: [box, build|generate, <name>] — the first element is the command word (and the rest of that value was false too — corrected under 2b below)
total 30 29 one line carries two classes (schema/seam.cue:288 names both command:fleet and deploykit.SaveFleetConfig), so 30 matching lines give 29 changed lines

schema/pipeline.cue is the CUE source of spec.PipelineClassRoutes, which spec/vocab_gen.go exports and spec's own TestPipelineClassCoverage (spec/pipeline_test.go) gates — so the stale word was reaching the generated vocabulary, not just a comment. (The sentence you may have read in an earlier revision of this body, and in this branch's own first commit message, credited that gate to plugin-pipeline's TestWorkflowClassCoverage. That symbol exists nowhere; 2b below is the correction.)

A second correction, inside the one line this PR already touches

Renaming fleet→deploy in the #PipelineClassRoutes "deploy" row exposed two further false claims — on that same line and in its doc comment. Both are measured below and both are fixed here: R1/R2 leave no "pre-existing" or out-of-scope split, and the generated mirror was regenerated, never hand-edited.

2b.1 — the doc comment credited a test that does not exist. The comment (and spec/vocab_gen.go's generated mirror, and internal/schemagen/main.go's own writer string) read "plugin-pipeline's TestWorkflowClassCoverage iterates ProviderClasses and fails when a class has no row here". Measured:

$ git -C <spec-worktree> grep -n -F 'TestWorkflowClassCoverage' -- .
   exit=1   (no match in ANY tracked file of this module, CHANGELOG included)

$ git -C <umbrella>/plugin-pipeline grep -n -E 'PipelineClassRoutes|ProviderClasses|ClassCoverage' -- . ':(exclude)CHANGELOG'
   exit=1   (no match)              # checkout at 1c6a7aea
$ git -C <umbrella>/plugin-fleet grep -n -E 'PipelineClassRoutes|ProviderClasses|ClassCoverage' -- . ':(exclude)CHANGELOG'
   exit=1   (no match)              # checkout at bbf78534

The gate is real, it lives in spec, and it is stricter than the sentence claimed — it rejects a missing row and a row naming a class outside the vocabulary:

$ sed -n '245,265p' spec/pipeline_test.go
// class it describes. It lives in spec because the table IS spec data; plugin-pipeline
// re-runs it against its lowering in W5.
func TestPipelineClassCoverage(t *testing.T) {
	if len(ProviderClasses) == 0 {
		t.Fatal("ProviderClasses is empty — schemagen did not emit the vocabulary")
	}
	for _, class := range ProviderClasses {
		if PipelineClassRoutes[class] == "" {
			t.Errorf("provider class %q has no workflow route — adding a class MUST force the route decision (spec.PipelineClassRoutes)", class)
		}
	}
	inVocab := make(map[string]bool, len(ProviderClasses))
	for _, class := range ProviderClasses {
		inVocab[class] = true
	}
	for class := range PipelineClassRoutes {
		if !inVocab[class] {
			t.Errorf("PipelineClassRoutes names %q, which is not in ProviderClasses — the table has drifted from the vocabulary", class)
		}
	}
}

The comment and its generated mirror now name that test by file and describe both directions. (plugin-pipeline re-running it against its own lowering is that repo's W5 work — a planned consumer, not an existing one.)

2b.2 — the route value named two subcommands the deploy plugin does not have. It read charly: [deploy, add|del|start|stop, <name>]. The plugin's own help — and its own error — are the enumeration:

$ charly deploy | sed -n '5,40p'

Commands:
  add <name> [<ref>] [flags]
    Apply a deploy: 'host' targets the local system; any other name targets a
    container

  del <name> [flags]
    Tear down a deploy by name

  from-box <ref> [<name>] [flags]
    Source-less deploy from a built image's baked OCI labels (no charly.yml
    project). Pod by default; --cluster targets Kubernetes

  export [<boxes> ...] [flags]
    Export effective config as charly.yml

  import <files> ... [flags]
    Import charly.yml file(s) into config

  path
    Print charly.yml file path

  reset [<box>] [flags]
    Remove charly.yml overrides

  show [<box>] [flags]
    Show current charly.yml overrides

  status
    Show sync status between charly.yml and quadlet files

Run "deploy <command> --help" for more information on a command.

charly: error: command "deploy": expected one of "add", "del", "from-box", "export", "import", ...

start and stop are not among them — their --help falls through to the PARENT usage:

$ charly deploy start --help | head -1
Usage: deploy <command>
$ charly deploy stop --help | head -1
Usage: deploy <command>

They are top-level deploy-class command plugins, and each one's own usage names the deploy it acts on — stop pasted alongside start and remove, so every lifecycle word the value now names has its own output here:

$ charly start | sed -n '1,5p'
Usage: start <box> [flags]

Arguments:
  <box>    Box name or remote ref (github.com/org/repo/box[@version]) — the
           deploy of this box
$ charly stop | sed -n '1,5p'
Usage: stop <box> [flags]

Arguments:
  <box>    Box name or remote ref — the deploy of this box
$ charly remove | sed -n '1,4p'
Usage: remove <box> [flags]

Arguments:
  <box>    Box name or remote ref — the deploy of this box

So the row now names the words that exist — charly deploy add|del|show|status, and charly start|stop|remove <box> for the lifecycle words — and the CUE source and its generated mirror are byte-identical after charly task cue-gen:

$ grep -m1 '"deploy"' schema/pipeline.cue
	"deploy":        "entities: + charly: [deploy, add|del|show|status, <name>] / charly: [start|stop|remove, <box>] / charly: [check, run, <bed>]"
$ grep -m1 '"deploy"' spec/vocab_gen.go
	"deploy":        "entities: + charly: [deploy, add|del|show|status, <name>] / charly: [start|stop|remove, <box>] / charly: [check, run, <bed>]",

Why there is no consumer to run for the route value (the review's A3(b)). PipelineClassRoutes is a decided route recorded as data — a human-readable decision plus the vocabulary the gate iterates; no Go code branches on the value's text. Its complete referrer set, measured:

$ git -C <spec-worktree> grep -n -F 'PipelineClassRoutes' -- . ':(exclude)CHANGELOG' | wc -l
12
$ git -C <spec-worktree> grep -l -F 'PipelineClassRoutes' -- . ':(exclude)CHANGELOG'
internal/schemagen/main.go
schema/pipeline.cue
spec/pipeline_test.go
spec/vocab_gen.go

$ git -C <umbrella>/charly grep -n -F 'PipelineClassRoutes' -- .        → exit 1, no match
$ git -C <umbrella>/plugin-pipeline grep -n -F 'PipelineClassRoutes' -- . → exit 1, no match
$ git -C <umbrella>/plugin-fleet grep -n -F 'PipelineClassRoutes' -- .    → exit 1, no match

Every referrer is inside this module: the authoring CUE, the emitter, the generated map, the gate, and the CHANGELOG. So "run the changed value's consumer" has no target — and what can be proven about the text is proven above: every word the value now names is a shipped command with its own output pasted — deploy, add, del, show, status, and the lifecycle words start, stop, remove — and every word it dropped is not a command at all.

The names this PR deliberately does NOT rename

Three survivors are read and kept, not mechanically swept:

  • plugin-fleet — the repo, candy directory and plugin name. It is still the source: (github.com/opencharly/plugin-fleet/candy/plugin-fleet) of the live command:deploy provider. C2 renamed the word and the types, never the plugin.
  • Cua Fleet (schema/oci.cue:72, schema/vm.cue:191, schema/vm_container_disk_source_test.go:15,25) — the upstream product name of the Cua computer-use driver, used here for its KubeVirt containerDisk image. C2 retired charly's fleet; it did not rename a third party's product.
  • check-punktfunk-fleet (container/resolve_stale_cache_test.go:17,31,47,92,103) — a check-bed name, and the image tags derived from it. A bed name is an identifier, not the retired command word; renaming it would churn an unrelated bed and its tags inside a vocabulary-sweep PR.

How tested

All output is from the committed tree fef8071, git status --porcelain empty, using this session's fresh worktree build off current origin/main — not the installed /usr/bin/charly, which is a stale package build:

$ <worktree>/charly/bin/charly version
2026.278.0529
$ git status --porcelain
(no output)

Every command below is pasted exactly as it was run, with no environment variable prefix and no stream filtering. Two notes so nothing here is hidden:

  1. A dev-build notice prints on stderr. Because the binary is built in this worktree rather than installed, the plugin loader prints:

    WARNING: charly is a dev/worktree build (not installed at /usr/bin or /usr/local/bin); NOT loading the installed package's plugins from /usr/lib/charly/plugins (they may be built against a different charly version). Set CHARLY_PLUGIN_DIR to load plugins from a custom location.
    

    This is not a defect and not this module's: it was added by the fix that closes issue feat(loader): a kind gate carries its authored and wire shapes apart #328, now CLOSED — git log -1 -L 448,466:charly/plugin_loader.go → 0e0f73aa fix(loader): a dev/worktree charly must not load the installed package's plugins (#328) (#415). Issue feat(loader): a kind gate carries its authored and wire shapes apart #328's bug was the dev binary loading the host's installed plugins across six weeks of API drift; the shipped fix makes it skip them, and the notice makes that skip visible instead of silent. It announces a host condition, not a property of this module, and it changes no verdict below.

  2. It appears in this body only where stderr was captured. The commands here pipe stdout (| head, | sed -n), so the notice is not part of their displayed output; the one paste that merges the streams (charly fleet add >/tmp/fleet.log 2>&1) shows tail -1 of that log, whose last line is the error a user sees — the notice is one of the lines above it in the same file.

An earlier revision of this body instead prefixed every command with CHARLY_PLUGIN_ONLY=1. That was wrong framing: the variable is documented as "resolve as-if-unpackaged" (charly/CHANGELOG/2026.230.0937.md:6) — it drops the FHS path so the plugin search is exactly $CHARLY_PLUGIN_DIR, a resolution-semantics switch, not a log filter — so it neither suppressed nor explained anything here, and using it invited exactly the "masked run" reading this paragraph removes. No command below carries it.

1. The command-word gate — zero on the committed tree:

$ git grep -n -F 'charly fleet' -- . ':(exclude)CHANGELOG'
(no output — exit 1: no match)

2. The retired-identifier gate — zero:

$ git grep -n -E 'command:fleet|FleetConfig|\[fleet,' -- . ':(exclude)CHANGELOG'
(no output — exit 1: no match)

3. The residue census — complete, unfiltered, case-insensitive and path-bearing, so one run catches the lowercase command word and every camelCase compound:

$ git grep -o -n -i -E '[A-Za-z0-9_./:-]*fleet[A-Za-z0-9_./:-]*' -- . ':(exclude)CHANGELOG'
container/resolve_stale_cache_test.go:17:check-punktfunk-fleet:
container/resolve_stale_cache_test.go:31:ghcr.io/opencharly/punktfunk-host:check-punktfunk-fleet-2026.242.1217
container/resolve_stale_cache_test.go:47:punktfunk-host:check-punktfunk-fleet-2026.242.1217
container/resolve_stale_cache_test.go:92:ghcr.io/opencharly/punktfunk-client:check-punktfunk-fleet-2026.242.1217
container/resolve_stale_cache_test.go:103:punktfunk-client:check-punktfunk-fleet-2026.242.1217
deploy/deploy_ops.go:168:candy/plugin-fleet
exec/venue_descriptor.go:17:candy/plugin-fleet
exec/venue_descriptor.go:67:candy/plugin-fleet
exec/venue_descriptor.go:67:candy/plugin-fleet
ops/ops.go:180:candy/plugin-fleet
report/report.go:3:candy/plugin-fleet
schema/checkresult.cue:88:candy/plugin-fleet
schema/checkresult.cue:93:candy/plugin-fleet
schema/deploy.cue:873:plugin-fleet
schema/k8sgen.cue:6:candy/plugin-fleet
schema/oci.cue:72:Fleet
schema/resolvedproject.cue:333:candy/plugin-fleet
schema/seam.cue:130:candy/plugin-fleet
schema/seam.cue:138:plugin-fleet
schema/seam.cue:186:candy/plugin-fleet
schema/seam.cue:301:candy/plugin-fleet
schema/seam.cue:321:plugin-fleet
schema/seam.cue:327:candy/plugin-fleet
schema/seam.cue:346:candy/plugin-fleet/deploy_from_box.go
schema/seam.cue:854:candy/plugin-fleet
schema/seam.cue:1049:plugin-fleet
schema/seam.cue:1215:candy/plugin-fleet
schema/seam.cue:1377:plugin-fleet
schema/seam.cue:1434:candy/plugin-fleet
schema/seam.cue:1566:candy/plugin-fleet/secrets_artifacts.go
schema/vm.cue:191:Fleet
schema/vm_container_disk_source_test.go:15:Fleet
schema/vm_container_disk_source_test.go:25:Fleet
spec/builder_preresolved.go:6:candy/plugin-fleet
spec/builder_preresolved.go:11:candy/plugin-fleet
spec/cue_types_gen.go:3877:candy/plugin-fleet
spec/cue_types_gen.go:3882:candy/plugin-fleet
spec/cue_types_gen.go:5042:plugin-fleet
spec/cue_types_gen.go:7500:Fleet
spec/cue_types_gen.go:8020:candy/plugin-fleet
spec/cue_types_gen.go:8197:candy/plugin-fleet
spec/cue_types_gen.go:8205:plugin-fleet
spec/cue_types_gen.go:8385:candy/plugin-fleet
spec/cue_types_gen.go:8403:candy/plugin-fleet
spec/cue_types_gen.go:8425:candy/plugin-fleet/deploy_from_box.go
spec/cue_types_gen.go:9032:candy/plugin-fleet
spec/cue_types_gen.go:9261:plugin-fleet
spec/cue_types_gen.go:9569:plugin-fleet
spec/cue_types_gen.go:9643:candy/plugin-fleet
spec/deploy_key.go:37:candy/plugin-fleet
spec/deploy_key.go:40:candy/plugin-fleet
spec/deploy_methods.go:31:candy/plugin-fleet
spec/deploy_wire_test.go:55:candy/plugin-fleet
spec/hand_state_types.go:85:candy/plugin-fleet
spec/host_context.go:9:candy/plugin-fleet
spec/host_context.go:16:candy/plugin-fleet

3b. The word-level gate — the one C2 itself used. C2's own changelog (0.2026250.523) records the retirement as git grep -iw fleet, non-CHANGELOG = ZERO vocabulary matches, and enumerates the noun forms it renamed (fleet tree/member/form/del → deploy tree/member/form/del), so this sweep is gated the same way — the literal charly fleet search alone leaves the retired noun standing. The gate is clean of every unclassified hit:

$ git grep -n -iw fleet -- . ':(exclude)CHANGELOG' | grep -vc 'plugin-fleet\|punktfunk-fleet\|Cua'
0

Every one of the 55 word-level hits lies on a census token classified in the inventory below, so every survivor is a live plugin-fleet path or name, a check-bed name (and the image tags built from it), or a third party's product name (Cua Fleet) — never the retired word standing as vocabulary, and none mechanically deleted. The one non-survivor hit this branch carried, a synthetic registry path in a unit-test fixture (registry.example/fleet/workspace), was arbitrary by construction — the test asserts only that #VmSource PARSES the literal — so it is renamed to registry.example/deploy/workspace here.

4. The repo's own generation gate — spec/*_gen.go is GENERATED from schema/*.cue and never hand-edited; charly task cue-gen regenerated it and its own reproducibility check passed:

$ charly task cue-gen
task cue-gen: 2 step(s), 0 failed
  [pass] run — gengotypes + schemagen the generated Go
  [pass] check — regen is reproducible — TestGenReproducible passes on the committed tree

5. The repo's Go gates — every leg of this repo's own committed CI (.github/workflows/ci.yml: go build ./..., go test ./..., gofmt -l ., golangci-lint run ./...), executed on the committed tree:

$ GOWORK=off go build ./...; echo "build_exit=$?"
build_exit=0
$ GOWORK=off go test ./... >/tmp/spec-test.log 2>&1; echo "test_exit=$?"
test_exit=0
$ grep -c '^ok' /tmp/spec-test.log
21
$ grep -c '^FAIL' /tmp/spec-test.log
0
$ gofmt -l .
(no output)
$ go install github.com/golangci/golangci-lint/v2/cmd/[email protected]   # the version ci.yml pins
$ "$(go env GOPATH)/bin/golangci-lint" run ./...; echo "lint_exit=$?"
0 issues.
lint_exit=0

The lint leg is the pinned version this repo's CI runs, installed fresh for this run rather than left as "not on this host" — a validator PASS judges the checklist, never that step, so the head's own ci run is proven here, not assumed.

5b. The gate for the changed value, run by name:

$ GOWORK=off go test ./spec/ -run 'TestPipelineClassCoverage|TestGenReproducible' -count=1 -v
=== RUN   TestGenReproducible
--- PASS: TestGenReproducible (0.80s)
=== RUN   TestPipelineClassCoverage
--- PASS: TestPipelineClassCoverage (0.00s)
PASS
ok  	github.com/opencharly/spec/spec	0.808s

6. The diff reconciles to every changed line:

$ git diff --numstat e4bdc35 fef8071
1	1	internal/schemagen/main.go
6	5	schema/pipeline.cue
25	25	schema/seam.cue
3	3	schema/status.cue
1	1	schema/vm_container_disk_source_test.go
26	26	spec/cue_types_gen.go
2	2	spec/vocab_gen.go
$ git diff --shortstat e4bdc35 fef8071
 7 files changed, 64 insertions(+), 63 deletions(-)

Of those 64/63: 29 are the fleet sweep in schema/seam.cue (25), schema/status.cue (3) and schema/vm_container_disk_source_test.go (1); 26 are spec/cue_types_gen.go, regenerated; and the remaining 9/8 are the second correction — schema/pipeline.cue 6/5 (four doc-comment lines became five, plus the route-value line), spec/vocab_gen.go 2/2 (both mirrored), internal/schemagen/main.go 1/1 (the emitter's own string). 29+26+9 = 64 and 29+26+8 = 63.

Regeneration emits a Go doc comment only for CUE comments that reach an emitted def, which is why the generated count is lower than the source count for the sweep; TestGenReproducible proves the committed generated files are exactly what cue-gen produces from the committed CUE.

The residue inventory, UNFILTERED — and every survivor, read

survivor count why it stays
candy/plugin-fleet, candy/plugin-fleet/deploy_from_box.go, candy/plugin-fleet/secrets_artifacts.go, bare plugin-fleet 46 the plugin's own path and name — plugin-fleet is the repo and candy directory, and its candy is the source: of the live command:deploy provider. C2 renamed the verb and the types, never the plugin. Verified live: plugin-fleet/candy/plugin-fleet/charly.yml:21 - command:deploy, and the directory exists on origin/main.
Fleet (in schema/oci.cue:72, schema/vm.cue:191, spec/cue_types_gen.go:7500, schema/vm_container_disk_source_test.go:15,25) 5 a third party's product name — Cua Fleet, the upstream computer-use driver whose KubeVirt containerDisk image this code consumes.
check-punktfunk-fleet (and the image tags built from it) 5 a check-bed name — an identifier, not the retired command word. Renaming a bed is a separate change with its own bed-coverage questions, and it is not what C2 retired.

So this repo's acceptance gate is: zero command-word residue, zero retired-identifier residue, and zero unclassified word-level matches — with every remaining fleet token a read, justified live plugin-fleet path, a check-bed name, or a third party's product name.

Change classification

Change class: contract-source (CUE) — and, for R10's gate-by-change-class matrix, a contract/library module: this repo declares no charly.yml project, no deployable target, so no disposable: true entity exists here and the class's gate is the repo's own committed module CI. schema/*.cue is the single source of truth for the charly.yml ingress schema and the wire shapes; the diff edits doc comments and one route-table value there, and spec/cue_types_gen.go / spec/vocab_gen.go moved only through charly task cue-gen.

Not a FORMAT change: no authored wire key moves (the YAML users write) and no @go() name changes, so per /charly-internals:go's schema-change recipe no migration-table entry in candy/plugin-migrate/migrations.cue is due. This is the recipe's explicit carve-out: "A pure Go-identifier change via @go() is NOT a format change", and a doc comment moves even less.

Verification gate: the class's gate is this repo's own committed module CI — all four legs, executed on the committed tree and pasted above: GOWORK=off go build ./... (exit 0), GOWORK=off go test ./... (21 packages ok, 0 FAIL), gofmt -l . (clean) and golangci-lint run ./... at the version ci.yml pins (0 issues) — plus charly task cue-gen with its TestGenReproducible step (§4, §5), the changed table's own gate run by name (§5b), the word-by-word command proof for the changed route value (§2b), and the residue gates (§1–§3).

Attribution tier: fully tested and validated — the class's gate passed on the final committed tree, and every changed path was exercised: the CUE source and its generated mirror are byte-identical after a fresh cue-gen, whose reproducibility the module's own TestGenReproducible asserts, and the route value's text is proven word-by-word against the shipped binary (§2b). This replaces the documentation reviewed tier an earlier revision of this body claimed: the diff is not documentation-only — it changes a CUE value, its generated mirror and a Go test literal — so that tier was illegal for it (the review's A3) and the tier above is the one this class actually requires.

Rulebook compliance

  • R0 — honored: the owning skills were read before any edit — /charly-internals:go (including its references/schema-change-recipe.md, the recipe this change is classified under), /charly-internals:plugin (the provider model whose command: word this diff corrects), and /charly-internals:git-workflow before any git action. This harness cannot load the namespaced refs by name, so they were read by path (the R0 fallback).
  • R1 — root-caused, not labelled stale: C2 is a code-level cutover, so it removed the word everywhere it is executed and left it everywhere it is documented. The inverse error — over-sweeping the plugin's own name or a third party's product name into a false claim — is guarded by the unfiltered census and the survivor inventory, not by a filtered grep. R1 is also why §2b exists: the sweep's own changed line carried two false claims (a credited test that exists nowhere, and two route words that are not subcommands), and they are fixed here rather than filed as "pre-existing".
  • R2 — no pre-existing/out-of-scope split: the complete residue in this repo is fixed here. The census is unfiltered and path-bearing, and every survivor is read — nothing is parked as a follow-up. The org-wide remainder is carried by the claimed tracking issue opencharly/charly#799.
  • R3 — no duplication: the new spellings are the names the live source already declares (LoadDeployConfig, DeployConfig, command:deploy), not new aliases.
  • R4 — no workaround: the retired vocabulary is replaced, never aliased or shimmed.
  • R4a — every command a reader is now told to run works with nothing but the charly binary installed: charly deploy add / del / from-box are on the shipped surface.
  • R5 — the retired vocabulary is deleted outright in the same change; no compatibility path is left.
  • R6 — PR-only landing, no force-push, no direct push to main; git status --porcelain is empty at the pasted head (above).
  • R7 — the gates are proven above with pasted output, not asserted: every leg of this repo's own ci.yml (build, test, gofmt, golangci-lint at the pinned version), the table's own gate by name, and the command-level proof of the changed value's words.
  • R8 — no generation change to an image: no Containerfile section and no ai.opencharly.* label is touched.
  • R9 — binary equals source: the generated Go is regenerated from the CUE source in this same commit, and TestGenReproducible proves the committed pair matches a fresh run.
  • R10 — every measurement is from the committed tree, which is clean; no measurement came from an edited working state.
  • Umbrella AGENTS.md — spec is an umbrella submodule edited through its own session worktree and PR, never in place; the marketplace and docs corpora regenerate from this source, so no projection is hand-edited here.

Part of opencharly/charly#799; it does not close it.

Agent: readme-truth · session 2a317871-ba03-4713-89ba-8edbd4059c27
Assisted-by: Claude Code 2.1.288 deepseek-v4.1-flash:cloud (fully tested and validated)

atrawog and others added 2 commits October 5, 2026 13:49
…ontract

Cutover C2 (opencharly/charly#554) retired the `fleet` CLI word for `deploy`,
re-registered the command provider as `command:deploy`, and renamed the
`FleetConfig` family to `DeployConfig`. The contract still named all of it:

- schema/seam.cue — `charly fleet add|del|from-box` in seven doc comments;
  `command:fleet` in eight present-tense references to the live provider;
  and the `FleetConfig` family (`LoadFleetConfig`, `LoadFleetConfigForRead`,
  `SaveFleetConfig`, `saveFleetConfigNodeForm`, `deploykit.FleetConfig`).
- schema/status.cue — `deploykit.LoadFleetConfig` in two places and
  `FleetConfig/UnifiedFile` once.
- schema/pipeline.cue — the `#PipelineClassRoutes` entry for the `deploy`
  class read `charly: [fleet, add|del|start|stop, <name>]` while its sibling
  `build` row reads `charly: [box, build|generate, <name>]`. It now reads
  `[deploy, ...]`.

Live names confirmed in source, not assumed:

  sdk/deploykit/deploy_file.go:88   func LoadDeployConfig(ctx) (*DeployConfig, error)
  sdk/deploykit/deploy_file.go:285  func LoadDeployConfigForRead(label, ctx) *DeployConfig
  sdk/deploykit/deploy_file.go:144  func SaveDeployConfig(...)
  sdk/deploykit/secret_declare.go:9 // saveDeployConfigNodeForm
  plugin-fleet/candy/plugin-fleet/charly.yml:21  - command:deploy

`schema/pipeline.cue` is the CUE source of `spec.PipelineClassRoutes`, which
`spec/vocab_gen.go` exports and `plugin-pipeline`'s `TestWorkflowClassCoverage`
iterates, so the stale word reached the generated vocabulary, not just a
comment.

Regenerated, never hand-edited: `charly task cue-gen` rewrote
`spec/cue_types_gen.go` and `spec/vocab_gen.go` from the CUE source, and its own
`TestGenReproducible` step passed.

Not a FORMAT change: no authored wire key moves and no `@go()` name changes, so
per the schema-change recipe no migration-table entry is due.

Deliberately NOT renamed — `plugin-fleet` (the repo, candy directory and plugin
name, still the `source:` of the live `command:deploy`), `Cua Fleet` (a third
party's product name), and `check-punktfunk-fleet` (a check-bed name).

Refs opencharly/charly#799.
CC-2 (opencharly/charly#554) retired the fleet vocabulary; its own acceptance gate is `git grep -iw fleet`, non-CHANGELOG = ZERO vocabulary matches (the sole sanctioned survivors being references to the plugin-fleet REPO). The last non-survivor hit in this repo was a synthetic registry path in a unit-test fixture, `registry.example/fleet/workspace`. It is arbitrary by construction — the test asserts only that #VmSource PARSES the literal — so it now reads `registry.example/deploy/workspace` and the gate is literally clean.

Refs opencharly/charly#799.
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 7e42cfb939c760f911b6709b5f6357851464a043 (branch: feat/fleet-residue-spec-fresh)

Change class: contract-source (CUE) vocabulary sweep — mostly doc comments, but the diff is not comment-only: it carries a non-comment CUE value change, its generated mirror, and a Go test-file change.

Blocks

  1. A3 — the claimed (documentation reviewed) tier is not legal for this diff. The body's footer claims *Assisted-by: Claude Code 2.1.288 deepseek-v4.1-flash:cloud (documentation reviewed)*, but A3 permits documentation reviewed ONLY when the whole diff is documentation (*.md / comment-only / all-doc submodule bump) — "forbidden if code or config also changed." This diff changes code/config:

    • schema/pipeline.cue — the #PipelineClassRoutes "deploy" value ([fleet, add|del|start|stop, <name>] → [deploy, …]), not a comment.
    • spec/vocab_gen.go — the generated PipelineClassRoutes value (mirror of the above).
    • schema/vm_container_disk_source_test.go:36 — a Go test-file literal (registry.example/fleet/workspace → registry.example/deploy/workspace).

    The body itself argues the route value "was reaching the generated vocabulary, not just a comment" — i.e. by its own framing a value, not documentation. Per A3 the tier is therefore illegal. Fix: either (a) re-claim the tier the pasted proof actually supports, or (b) supply the proof for the changed value's consumer — the body states plugin-pipeline's TestWorkflowClassCoverage iterates spec.PipelineClassRoutes, so run that consumer (or a bed on the changed surface) and paste its output; a grep sweep and the spec repo's own go test ./... (which does not run that consumer) do not establish the changed value is inert.

Verdict: BLOCK


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

View action run

… value

Two false claims in #PipelineClassRoutes, both measured, both fixed at source
and regenerated (never hand-edited).

1. The doc comment (and its generated mirror, plus schemagen's own writer
   comment) credited `plugin-pipeline`'s `TestWorkflowClassCoverage`. That
   symbol exists nowhere: plugin-pipeline has no reference to
   PipelineClassRoutes, ProviderClasses or ClassCoverage at all. The real gate
   is spec's OWN TestPipelineClassCoverage (spec/pipeline_test.go), which also
   rejects a row naming a class outside the vocabulary.

2. The `deploy` route value listed `charly deploy start|stop`. The deploy
   command plugin's own enumeration is add, del, from-box, export, import,
   path, reset, show, status — there is no `deploy start`/`deploy stop`.
   start/stop/remove are TOP-LEVEL deploy-class command plugins.

     $ charly deploy                -> add, del, from-box, export, import,
                                       path, reset, show, status
     $ charly deploy start --help   -> Usage: deploy <command>   (not one of them)
     $ charly start --help          -> Usage: start <box> [flags]
       "<box>  Box name or remote ref … — the deploy of this box"

   So the row now names the words that exist: `charly: [deploy, add|del|show|
   status, <name>] / charly: [start|stop|remove, <box>]`.

`charly task cue-gen` regenerated spec/vocab_gen.go; its TestGenReproducible
step passed and the CUE value and the generated value are byte-identical.

Refs opencharly/charly#799.

Assisted-by: Claude Code 2.1.288 deepseek-v4.1-flash:cloud
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Review — BLOCK

Head SHA: fef8071e74c2b3620da36b2404edb0daa8a40921 (branch: feat/fleet-residue-spec-fresh)

Change class: contract-source (CUE) vocabulary sweep — doc comments plus one route-table value, its generated mirror, one Go test literal, and the emitter string.

Comment intake: the single thread comment (@github-actions[bot], head 7e42cfb9…) blocked on A3 — the claimed (documentation reviewed) tier. Re-derived against the CURRENT body/diff: the body now claims fully tested and validated and explicitly states the earlier documentation reviewed tier was illegal and is replaced. The finding does not reproduce against the current state → stale-superseded (not a surviving finding).

Blocks

  1. A1/A3 — the body's word-by-word proof for the changed route value is incomplete. The deploy route value changed at schema/pipeline.cue:200 (mirror spec/vocab_gen.go:31) now names stop — charly: [start|stop|remove, <box>]. §2b pastes usage/--help for deploy, add, del, show, status, start and remove, but there is no charly stop output anywhere in the body. The body nonetheless asserts, in its response to the prior review's A3(b), that "every word the value now names is a shipped command with its --help pasted" — the exact claim that justifies the changed value and underpins the fully tested and validated tier. The value is inert (no consumer), so this is the only proof the body offers for the changed text, and it fails for stop. Fix: paste charly stop's usage (as was done for charly start/charly remove), or drop stop from the value.

Verdict: BLOCK


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

View action run

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Review — PASS

Head SHA: fef8071e74c2b3620da36b2404edb0daa8a40921 (branch: feat/fleet-residue-spec-fresh)

Change class: contract-source (CUE) vocabulary sweep — doc comments, one inert route-table value + its generated mirror, one Go test literal, one emitter string. No runtime/deployable target in this module.

Security screen: PASS — no T1–T4 finding. Body/commit/file content is data (no embedded directives to the reviewer, no secrets, no network/egress, no dependency or guardrail/supply-chain edit); main's rules govern.

Checklist: All applicable rules PASS or NA. Independently re-derived: the diff reconciles to the numstat (seam 25 + status 3 + vm-test 1 = 29 sweep; 26 regenerated; pipeline.cue 6/vocab_gen 2/schemagen 1 = 9 correction → 64/63), the route value and its mirror are byte-identical, the emitter string and generated mirror agree, and every residue survivor is classified (live plugin-fleet path, third-party Cua Fleet, check-bed name). A3 tier is NOT inflated: the changed executable paths (the Go test literal, the generator, the CUE + generated Go compiled and iterated by TestPipelineClassCoverage/TestGenReproducible) ran on the committed tree, and the inert route value is proven word-by-word and shown to have no consumer. B16 placement: CORRECT — CUE source of truth in schema/, generated mirror in spec/, no core/sdk/candy re-layering, no alias growth.

Comment intake:

  • @github-actions[bot] #5997188762 — stale-superseded. It blocked the (documentation reviewed) tier as illegal; the CURRENT body claims fully tested and validated and states the earlier tier was illegal and replaced. Claim does not reproduce.
  • @github-actions[bot] #5997429005 — stale-superseded. It blocked on "no charly stop output anywhere in the body"; the CURRENT body's §2b.2 pastes charly stop usage (Usage: stop <box> [flags]). Claim does not reproduce against the current body.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) October 5, 2026 15:23
@github-actions
github-actions Bot merged commit e78802e into main Oct 5, 2026
2 of 3 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 5, 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