Skip to content

chore: retire the fleet vocabulary in plugin-example-step - #6

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/readme-truth-fleet-vocab-retire
Oct 5, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/readme-truth-fleet-vocab-retire

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. The shipped binary hard-errors on it, and the surface lives under charly deploy:

$ charly fleet del
charly: error: unexpected argument fleet

This repo still named the removed command in 1 line:

file retired → live changed lines
candy/plugin-example-step/plugin.go:14 a Go doc comment // … REPLAYS at `charly fleet del` … → … `charly deploy del` … 1
total 1

Read off the diff itself, both sides:

$ M=$(git merge-base origin/main HEAD)
$ git diff -U0 $M HEAD | grep -E '^-[^-]'
-//     `charly fleet del` — the deploy-time counterpart of the build-context bake.
$ git diff -U0 $M HEAD | grep -E '^\+[^+]'
+//     `charly deploy del` — the deploy-time counterpart of the build-context bake.

charly deploy del is the live spelling, confirmed on the shipped surface — plugin-fleet/candy/plugin-fleet/deploy_cmd.go:29 Del DeployDelCmd \cmd:"" help:"Tear down a deploy by name"``.

How tested

All output below is from the committed tree e019714, git status --porcelain empty, using this session's fresh worktree build off current origin/main (<worktree>/charly/bin/charly version → 2026.278.0529).

1. The accepted residue gate — zero:

$ git grep -iw fleet -- . ':!CHANGELOG/*' | grep -vE 'plugin-fleet|check-[a-z-]*fleet'
                              # → no output (exit 1: no match)

2. The identifier gate — zero. The case-sensitive form covers camelCase compounds (FleetNode, LoadFleetConfig, …), which a word-boundary form cannot:

$ git grep -n -E 'Fleet[A-Za-z_]*' -- . ':!CHANGELOG/*'
                              # → no output (exit 1: no match)

3. The unfiltered inventory — nothing survives at all:

$ git grep -o -n -i -E '[A-Za-z0-9_./:-]*fleet[A-Za-z0-9_./:-]*' -- . ':!CHANGELOG/*'
                              # → no output (exit 1: no match)

The sweep re-introduced nothing:

$ git diff -U0 $M HEAD | grep -E '^\+[^+]' \
    | grep -o -i -E '[A-Za-z0-9_./:-]*fleet[A-Za-z0-9_./:-]*' | wc -l
0

4. The changed file is still well-formed Go — gofmt clean:

$ gofmt -l candy/plugin-example-step/plugin.go
                              # → no output (file is gofmt-clean)
$ echo $?
0

5. The repo's own validation gate:

$ CHARLY_PLUGIN_ONLY=1 <worktree>/charly/bin/charly box validate
charly box validate: OK — checked 1 candy, 7 distros, 7 builders; 0 warnings, 0 errors
$ echo $?
0

(CHARLY_PLUGIN_ONLY=1 only suppresses the one-shot dev-build WARNING line, so the output is byte-reproducible.)

6. The diff is exactly the one substitution:

$ git diff --numstat $M HEAD
1	1	candy/plugin-example-step/plugin.go
$ git diff --shortstat $M HEAD
 1 file changed, 1 insertion(+), 1 deletion(-)

Rulebook compliance

  • R0 — honored: this diff edits a plugin candy's Go source, so /charly-internals:plugin (plugin authoring: the doc block on the verb-as-step plugin) and /charly-image:layer were read before the edit, plus /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: a code-level rename (C2) cannot reach a Go doc comment, so the cutover removed the verb everywhere it is executed and left it everywhere it is documented.
  • R2 — no pre-existing/out-of-scope split: the complete residue in this repo is fixed in one commit — the unfiltered census above is empty, so there is nothing parked as a follow-up. The org-wide remainder is carried by its named, claimed tracking issue — opencharly/charly#799.
  • R3 — no duplication: the new spelling is the one canonical command word, the same one the binary's own subcommand table prints.
  • R4 — no workaround: the old spelling is replaced, not aliased.
  • R4a — the command the comment now names works with nothing but the charly binary installed: charly deploy del is on the shipped surface (deploy_cmd.go:29).
  • R5 — the retired vocabulary is deleted outright; no compatibility shim.
  • R6 — PR-only landing, no force-push, no direct push to main; git status checked before the sequence.
  • R7 — the gate is proven above with pasted output, not asserted.
  • R8 — N/A — no generation change: no Containerfile section and no ai.opencharly.* label is touched.
  • R9 — the plugin is a plugin candy, not a rebuilt target: nothing is deployed or exercised, and the binary that ran the gate is the fresh worktree build 2026.278.0529, whose charly version matches the tree it was built from.
  • R10 — every measurement is from the committed tree, which is clean.
  • Umbrella AGENTS.md — this repo is an umbrella submodule; the change lands through its own repo's PR (never an in-place submodule edit), and opencharly/charly#799 carries the org-wide remainder.

Change classification

  • Change class: documentation-only. The single hunk is a Go doc comment — the prose block above plugin.go's OpExecute implementation. No statement, identifier, signature or import changes; the gofmt check above proves the file still parses and is formatted, and the changed line is a // comment, which is not part of any runtime path. The R10 matrix's honesty clause draws the line at field values ("a YAML comment is docs, but a YAML field is config"); a Go comment is on the docs side of that line, exactly as a YAML comment is.
  • Class ruling — answered explicitly, because this plugin IS composed. opencharly/charly's charly.yml:320 requires @github.com/opencharly/plugin-example-step/candy/plugin-example-step, and the check-local / eval-host-vm beds exercise the step-deploy-execute leg through it. No config row is therefore satisfied by running those beds: the bed exercises the plugin's behaviour, and this diff changes none of it — the comment is not read by the loader, the broker, or the ledger. Running a disposable: true VM bed to prove a comment is unchanged would prove nothing about this diff, so the documentation-only standards above are the applicable gate.
  • Verification gate: the non-runtime standards the Documentation-only row requires, executed on the committed tree and pasted above — the accepted residue gate, the case-sensitive Fleet* identifier gate, the unfiltered inventory (empty), the added-line re-introduction check, gofmt on the changed file, cross-reference validation (the command named is on the shipped surface), and charly box validate (0 warnings, 0 errors).
  • Attribution tier: documentation reviewed.

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 (documentation reviewed)

Cutover C2 (opencharly/charly#554) retired the `fleet` verb; the shipped
binary hard-errors on it and the surface lives under `charly deploy`. One
site in this repo still named the removed command:

  candy/plugin-example-step/plugin.go:14  the doc comment
      "//     `charly fleet del` - the deploy-time counterpart of the
       build-context bake."

It is documentation — a Go comment inside the example plugin's doc block —
so nothing executed changes. `charly deploy del` is the live spelling
(plugin-fleet/candy/plugin-fleet/deploy_cmd.go:29).

Gate after the fix (excluding CHANGELOG and the live plugin-fleet path):

  $ git grep -iw fleet -- . ':!CHANGELOG/*' | grep -vE 'plugin-fleet|check-[a-z-]*fleet'
                                # -> no output
  $ git grep -n -E 'Fleet[A-Za-z_]*' -- . ':!CHANGELOG/*'
                                # -> no output
  $ gofmt -l candy/plugin-example-step/plugin.go
                                # -> no output

Part of opencharly/charly#799.
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Review — PASS

Head SHA: e019714d2d40d2f3cccdd3c1b4bc786907479f27 (branch: feat/readme-truth-fleet-vocab-retire)

Change class: documentation-only — the single hunk is a // Go doc comment (plugin.go:14); the diff is comment-only, so no bed is required (R10 honesty clause: comment = docs).

Security screen: PASS (T1–T4: no scope mismatch, no secrets/egress, no weakened guardrail, no supply-chain change; body content contains no embedded directives).

Checklist: All applicable rules PASS or NA. Body ends with the Assisted-by: line (after the Agent: line) and claims the tier documentation reviewed, which is legal for a comment-only diff. R2 names a concrete tracking issue (opencharly/charly#799), not a vague follow-up. Diff is exactly the claimed 1/1 substitution; +/- sides match the pasted grep. gofmt-clean; no lint/dead-code issue visible.

Tool-limited dispositions (cannot re-run): the cross-repo claim that charly deploy del is the live spelling (via plugin-fleet/.../deploy_cmd.go:29) and the charly box validate / grep outputs are accepted as internally consistent with the diff; the CHARLY_PLUGIN_ONLY=1 warning suppression is disclosed and RCA'd, not concealed. No contradiction with the current diff/body.

Comments: none (thread empty) — nothing to disposition.

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 11:18
@github-actions
github-actions Bot merged commit 848e5d2 into main Oct 5, 2026
1 check 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