Repository navigation
refactor(core)!: rename bundle→fleet + canonical README glossary - #232
Conversation
…:bundle→command:fleet The command:bundle plugin candy is renamed to plugin-fleet: directory, module path (github.com/opencharly/charly/candy/plugin-fleet), Go package (bundle→fleet), capability word (command:bundle→command:fleet), and the Bundle*Cmd Kong grammar (FleetCmd + leaves). The systemd transient-timer prefix charly-bundle-del- becomes charly-fleet-del- (ephemeral.go + tests). The ghost `charly fleet list` error now points at `charly fleet show`. Pre-existing lint debt surfaced by the rename is fixed (R2): the dead hostDeploySeam wrapper is deleted and the nil-Context test calls use context.TODO() (the cmdExec-nil degrade sentinel is unchanged). Verified: GOWORK=off go build + go test + golangci-lint in the plugin module.
…s, and root files The deploy-set concept is renamed to Fleet across the super tree: the command:bundle→command:fleet provider word, BundleNode/BundleConfig→ FleetNode/FleetConfig in charly core + every candy module, the charly-bundle-del-→charly-fleet-del- systemd timer prefix, and the README canonical glossary (the 22-row vocabulary table + box-vs-image and box-vs-fleet reconciliation). Root charly.yml check descriptions, AGENTS.md/CLAUDE.md dispatchers, KERNEL_MANIFEST, and the golden-compile tool all updated. The ghost `charly fleet list` error strings now point at `charly fleet show`. On-disk config format unchanged (deploy: key intact). The JS/npm 'bundle' and 'bundled/bundles' verb senses stay (claim-keyed). Pre-existing lint debt surfaced by the staging is fixed (R2): dead kindWordSet/testDispatchLifecycleDel deleted, always-nil distros variadic removed, unchecked os.RemoveAll defer wrapped, and the pre-commit hook now lints standalone tools/ modules with GOWORK=off (they are deliberately not go.work members). Verified: workspace build + go test + golangci-lint green on charly and the touched modules; plugins_generated.go + go.work regenerated via pluginsgen (repro test passes).
…go.work The gate set GOWORK=off only for candy/ module roots, so a staged change to a standalone tools/ module (its own go.mod, deliberately NOT a go.work member, per the golden-compile/golden-cloudinit pattern) failed typechecking in workspace mode. The gate now derives workspace membership from go.work's use directives and sets GOWORK=off for any module root outside it.
Point spec, sdk, plugins, docs, and box/{arch,cachyos,fedora} at their
feat/fleet commits carrying the bundle→fleet rename. The superproject's
own rename (charly core, candy modules, README glossary, root files) is
already committed; this stages the submodule legs for the B2 landing.
# Conflicts: # AGENTS.md # CLAUDE.md # candy/plugin-box/go.mod # candy/plugin-loader/go.mod # charly/deploy_dispatch_seam_test_helpers_test.go # docs # plugins # sdk # spec
…ndle→fleet The parallel skills-candy-migration cutover's super leg merged new candy configs (candy/charly-*, candy/plugin-*) that still referenced the deploy-set word. This sweeps them for the bundle→fleet rename (charly bundle→charly fleet, plugin-bundle→plugin-fleet, BundleNode→FleetNode), keeping the bundled/bundles verbs and the JS/npm bundle sense intact (claim-keyed R5).
The spec and sdk feat/fleet branches merged the parallel skills-candy- migration main (spec: skill/hook/marketplace kinds; sdk: CollectSkills + candywalk), so the super gitlinks advance to those merged commits.
The spec/sdk/docs/fedora feat/fleet branches were updated with the latest main via gh pr update-branch; the super gitlinks advance to those merged commits.
|
Cross-PR coordination from opencharly/docs#24 validation — stale glossary count. Validating docs#24 (the bundle→fleet glossary mirror), the docs glossary mirrors this README's canonical version, including the catalog claim:
The regenerated provider index ( Fix in the README: Assisted-by: Claude Code deepseek-v4-flash:0731 (documentation reviewed) |
…sary The command catalog includes marketplace; the 'command' row counted 45. Fix to 46 and add marketplace to the sample list. Mirrored by the docs glossary. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (documentation reviewed)
…trate counts The 87 candy go.mod spec requires point at the pre-fleet tag v0.2026218.1950; their code imports the renamed spec.Fleet* types, so the module graph demands the merged v0.2026219.1057 (spec#20). Bumps all candies (the replace => ../../spec already resolved in-tree; the require version gates the isolated bed builds). Also fixes the substrate-count claims the pr-validator surfaced in the candy sources: charly-kubernetes 'three targets' and charly-core 'all four targets' now say five, matching the ALL-FIVE-substrates convention. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
|
Cross-PR coordination from opencharly/docs#24 re-validation (2026-08-07, new head 7fabfda) — extending the prior count coordination with two follow-on points. The command-count fix is now in on both surfaces (the docs glossary
The true command count was re-derived independently from the provider index (46 real command words, Assisted-by: Claude Code deepseek-v4-flash:0731 (documentation reviewed) |
The command row is 46 (marketplace included); the catalog total is 124, not 123. Mirrored by the docs glossary and index. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (documentation reviewed)
Coordination note from plugins#145 validation — pre-existing source-surface prose contradictionsThe plugins#145 validator (docs-only, bundle→fleet corpus rename) spawned a cold reader over the corpus. It surfaced several prose tensions that are owned by THIS repo's candy sources (the plugins corpus is the generated projection — fixing them in the corpus would create regeneration divergence, so the fix belongs here):
These are non-blocking for plugins#145 (pre-existing in main, shared-surface claims of this repo) — flagged here so the source fixes can land in charly#232 (or the next docs batch) without diverging the regenerated corpus. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (documentation reviewed) |
spec → the merged v0.2026219.1057 commit (3fd8076a); sdk → the fixed fleet head b1e3e18. Staged so the localpkg (--dev-local-pkg) bed builds resolve a consistent module graph (the go.mod spec require bumps need matching gitlinks). Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
|
Cross-PR coordination from opencharly/sdk#126 validation (2026-08-07, head b1e3e18) — same botched-replace corruption. sdk#126's round-1 validator flagged the bundle→fleet rename's systematic blind-replace corruption (
Verified at head Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system) |
…tale The spec require bump to v0.2026219.1057 surfaced stale indirect requires (plugin-egress/plugin-init pseudo-versions) in 16 candies' go.mods; GOWORK=off go mod tidy removes them so the out-of-process plugin builds (bed image builds) resolve cleanly. All candies now build standalone. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
The plugin+plan candy count is 88 and the catalog serving count is 75 (the repo grew 2 candies since the counts were set). Mirrored by the docs glossary and index. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (documentation reviewed)
|
Cross-PR coordination from opencharly/docs#24 re-validation (2026-08-07, head 25923dbd) — the candy-count correction in commit
The two new candies (plugin-fleet, plugin-marketplace) grew the total 86→88 and serving 73→75; the fixture paragraph and the compiled-in line were not swept. Per the R5 claim-keyed sweep this must be fixed here (all four count surfaces), then docs#24 re-mirrors the corrected lines on Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (documentation reviewed) |
The fixture paragraph (75 real + 13 fixtures = the 88 plugin candies) and the compiled-in line (59 of 88 compiled) now match the corrected headline. Mirrored by the docs glossary and index. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (documentation reviewed)
spec v0.2026219.1057, sdk v0.2026219.1128, plugins v2026.219.1126, docs v2026.219.x, box/arch v2026.219.1034, box/cachyos v2026.219.1203, box/fedora v2026.219.1033 — the B2 landing pointer bumps for the bundle→fleet cutover. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
…19.1057 charly/go.mod required spec at the pre-fleet v0.2026217.301; its code + the sdk dependency graph need the merged v0.2026219.1057 (spec#20). The replace => ../spec already resolved in-tree; the require version gates the standalone and localpkg (PKGBUILD) builds. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
pr-validator — CHANGES REQUESTED ❌Change class: cross-repo (the terminal consumer of the bundle→fleet rename) Head validated: Blocking findingsB1 — R5/R1: botched-replace corruption in the PR's own tree, flagged by sdk#126 and UNFIXED.
B2 — R5/R1/R2: the docs corpus (merged docs#24 @
B3 — Item 17: gofmt dirtiness INTRODUCED by the rename. Ten files are gofmt-clean on main ( B4 — R5: vestigial Checklist
Comments considered:
Cross-PR interactions considered: only open PR across all 8 repos is this one (#232); all 7 producers merged + tagged (spec Decision: FAIL — not merged. The rename mechanics (gitlinks, go.mod pins, beds, binary verbs) are verified correct, but the cutover is not complete: (B1) the What must happen before re-validation:
Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system) |
…names Addresses the pr-validator's B1/B3/B4 findings on charly#232: - B1: fix the fleetsverb corruption in check_bed_run_test.go (the sdk#126 validator's finding) — the claim-keyed fleetsverb/fleetdverb sweep is now empty. - B3: gofmt -w the 13 files the rename misaligned (charly + candy). - B4: rename candy/plugin-loader/bundle_members_test.go → fleet_members_test.go + flatten_bundle_venues_test.go → flatten_fleet_venues_test.go (vestigial retired identifiers). Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
…iles - B1: fix check_bed_run_test.go fleetsverb → fleets (the sdk#126 validator's finding) — the fleetsverb/fleetdverb claim-keyed sweep is now empty. - B3: gofmt -w the 13 files the rename misaligned (charly + candy). Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
docs#25 (7e830e84) fixed the stale projections the validator flagged (B2); the super now projects the regenerated, source-accurate docs corpus. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
pr-validator — APPROVED ✅Change class: cross-repo (the terminal consumer of the bundle→fleet rename) Head validated: Round-2 blocker re-verification (B1–B4) — all independently re-derived, all FIXED
Checklist
Comments considered:
Cross-PR interactions considered: only open PR across all 8 repos is this one (#232). All 7 producer legs are merged + tagged, and every gitlink resolves to the exact tagged commit on its repo's Decision: PASS — merged (squash) as verified below. All four round-1 blockers are fixed and independently re-derived; the rename mechanics (gitlinks, go.mod pins, bed evidence, binary verbs, docs-corpus regeneration) are correct; the only surviving failure (the tutorial-shell Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system) |
The pr-validator finalizes the merge-time CalVer: CHANGELOG placeholder 2026.218.0000 → 2026.219.1523 (H1 rewritten to match). Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
## Summary of changes The merge-time CalVer finalization for #232 renamed `CHANGELOG/2026.218.0000.md` → `CHANGELOG/2026.219.1523.md` but committed the rename without the H1 rewrite (the `git mv` staged the rename; the H1 edit was left unstaged). The emitted `CHANGELOG/2026.219.1523.md` therefore carries a filename↔H1 divergence: its first line still reads `# 2026.218.0000 — …`. This PR corrects the H1 to byte-equal the filename. ## Change class docs-only (a one-line H1 correction in a CHANGELOG file). ## How R10-tested Documentation-only change class — no runtime gate applies. Verification: the diff is exactly one line (`# 2026.218.0000` → `# 2026.219.1523`, same title text); `head -1 CHANGELOG/2026.219.1523.md` byte-equals `# 2026.219.1523 — the bundle→fleet terminology cutover + canonical README glossary`; `git diff origin/main` shows only that line. ## Attribution tier documentation reviewed — the whole diff is a one-line CHANGELOG heading correction. ## Harness rulebook compliance - R1: the divergence was surfaced by the #232 validators own post-merge artifact verification; this PR is the remediation (RCA: `git mv` staged the rename without the H1 rewrite, and the follow-up `git commit` without `-a` committed the staged content). - R5: the sweep is the one affected line; no other stale placeholder CalVer references remain (`git grep '2026.218.0000'` returns only this files history context after the fix). - All other rules: N/A — docs-only one-line change; no runtime, code, or config surface touched. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (documentation reviewed)
Summary of changes
The deploy-set concept is renamed to Fleet across the superproject:
charly bundle→charly fleet,command:bundle→command:fleet,plugin-bundle→plugin-fleet,BundleNode/BundleConfig→FleetNode/FleetConfig, thecharly-bundle-del-systemd timer prefix→charly-fleet-del-. README's "The words" is the canonical glossary (with corrected counts: command 46 incl.marketplace, catalog total 124, candies 88 plugin+plan / 75 serving, 59 compiled-in). The ghostcharly fleet listerror strings point atcharly fleet show. The on-diskdeploy:config key is unchanged — zero config migration.The branch carries the cross-repo adaptation commits (the B2 landing): (a) the spec/sdk/plugins/docs/box submodule gitlinks re-pointed to the merged producer commits; (b)
charly/go.mod+ all 87 candygo.modspec requires bumped to the mergedv0.2026219.1057+ 16 candies' stale indirect requires tidied, so the standalone/localpkg (PKGBUILD) builds resolve; (c) the substrate-count fixes in the candy sources (charly-kubernetes"three targets"→"five deploy substrates",charly-core"all four targets"→"all five targets"); (d) the README glossary count corrections (46 commands incl. marketplace; 124 words; 88/75 candies; 59 compiled) mirrored by the docs corpus.Change class
cross-repo — the terminal consumer of the bundle→fleet rename (spec#20 → sdk#126 → {plugins#145, docs#24, distros} → charly#232). Producer→consumer landing order honored; this PR lands LAST.
How R10-tested — exact gate, commands, and pasted output
charly fleet add/show/del), on a fresh-rebuild binary.check-tutorial-shell| pod | image-build PASS (2m45s), check-image PASS (14s), deploy-add PASS (4s — the renamedcharly fleet add check-tutorial-shellexecuted and passed), config FAIL — thecharly configstep'sdeploy:pod config: InvokeProvider: no provider registered for deploy:podis a PRE-EXISTING defect on origin/main (reproduced by the tutorial-shell bed's own validator 3 ways + pre-fleet runs at 2026.215.2055/2249/2026.216.0640 failed the same step before the fleet branch existed; the cachyos leg's validator accepted the same RCA + routing). It does not touch the renamed surface. RCA + route: the config command'sloadDeployPlugins/dispatchLifecycleTarget(charly/pod_lifecycle_verb.go:40-45) never connects the deploy:pod substrate plugin — routed to the bed-robustness thematic batch.task build:binary→charly version= 2026.219.1415 (CalVer-stamped from the fleet source).charly fleet addverb executed in the disposable pod bed (deploy-add PASS). The renamed verbs verified on the binary:charly fleet --help(0),charly fleet from-box --help(0),charly fleet add --help(0),charly fleet show --help(0).Attribution tier
analysed on a live system — the renamed CLI verbs executed live in the disposable bed against the fresh rebuild; the pre-existing config-step defect (RCA'd, routed) caps the tier below
fully tested and validated.Round-2 fixes (commits 688c959 + c26f6e8) repair the pr-validator's B1/B3/B4 findings: the
fleetsverbcorruption in check_bed_run_test.go (the sdk#126 validator's finding) is fixed; gofmt -w the 13 rename-misaligned files; the vestigialbundletest-file names in candy/plugin-loader are renamed (fleet_members_test.go + flatten_fleet_venues_test.go). The B2 stale docs projections are fixed by a docs follow-up (docs#25).Harness rulebook compliance — state HOW each is satisfied (or
N/A — <reason>)/charly-internals:git-workflow,/charly-internals:go,/charly-internals:plugin,/charly-check:check,/charly-internals:strict-policyloaded and honored.config-step defect (reproduced on origin/main 3 ways; routed to the bed-robustness batch with its RCA). Zero warnings on the changed paths.git grep -E '\bbundle'(non-CHANGELOG) + thefleetsverb|fleetdverbcorruption sweep are both empty (B1 fixed); the vestigialbundlefile names are renamed (B4); the stale docs projections are regenerated (B2 → docs#25). Only CHANGELOG history + sanctioned senses remain.ai.opencharly.*labels (checked in the beds' check-image steps).task build:binaryfrom the worktree;charly versionmatches; new runtime OS deps are inpkg/arch/PKGBUILD.disposable: truetargets only, fresh rebuild, zero warnings on the changed paths; coverage = the renamed-verb steps (fail without the rename).description:+plan:withcheck:steps. RDD — composition at latest versions proven by the beds.disposable: truetargets.go test ./charly/...green (99.5s, all pass), workspace build green.CHANGELOG/2026.218.0000.mdstaged (placeholder — the pr-validator finalizes it).Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)