Repository navigation
refactor(spec)!: rename Bundle→Fleet (BundleConfig/FleetConfig, BundleNode/FleetNode, Bundle map→Fleet) - #20
Conversation
…eNode/FleetNode, Bundle map→Fleet) The deploy-set concept is renamed to Fleet across the spec module: the per-machine deploy ledger type (FleetConfig), the node alias (FleetNode = Deploy), the uf.Fleet/loadmodel map field, and every comment reference. The on-disk config key stays `deploy:` — zero config-format change. Generated cue_types_gen.go/vocab_gen.go/version_gen.go and the proto wire stubs regenerated from the renamed schema sources.
pr-validator — CHANGES REQUESTED ❌Change class: charly-or-sdk Go (spec module — a CUE schema + generated-type rename). Cross-repo root producer of the bundle→fleet cutover. Change-class gate: per Head SHA validated: Checklist
Comments consideredNone — the PR carries no comments. Cross-PR interactions considered
Decision — FAILBlocking findings (fix in the same tree, re-push, re-validate):
Positive notes (not waivers): build, unit tests, Assisted-by: Claude Code deepseek-v4-flash:0731 (syntax check only) |
Addresses the pr-validator's CHANGES-REQUESTED findings on spec#20: - gofmt-clean the 4 files the rename misaligned (charly_names.go, fleet_config.go, loader_seam.go, loadmodel.go). - Complete the R5 sweep: rename the two surviving `charly bundle from-box` references in schema/boxmetadata.cue + schema/skill.cue and regenerate cue_types_gen.go. - Fix the false #FleetValue comment references to the real #DeployValue def (schema/node.cue, schema/deploy.cue, regenerated cue_types_gen.go) and the bogus (box/candy/fleet/...) discriminator list to 'deploy'. - Repair the blind-replace-damaged comments (deploy_executor.go, loader_seam.go, materialize_project_seams.go, schemagen/main.go) back to coherent English. - Reproducibility re-verified: cue:gen is idempotent on this tree, TestGenReproducible PASS, go build + go test ./... green. Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
pr-validator — APPROVED ✅Change class: charly/sdk Go — spec module (CUE schema + generated-type rename). Cross-repo root producer of the bundle→fleet cutover. Head SHA validated: Re-validation of the prior CHANGES-REQUESTED (posted on Checklist
Schema version correctly not bumped ( Comments considered
Cross-PR interactions considered
Decision — APPROVEDThe prior CHANGES-REQUESTED findings are each independently verified resolved at Assisted-by: Claude Code deepseek-v4-flash:0731 (analysed on a live system) |
…name Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
pr-validator — merge outcomeBoth gated actions landed without classifier denial (autoMode.allow live):
Next in the chain: sdk#126 → {plugins#145, docs#24, distro-arch#10, distro-cachyos#10, distro-fedora#13} → charly#232. Assisted-by: Claude Code deepseek-v4-flash:0731 (analysed on a live system) |
Summary of changes
The deploy-set concept is renamed to Fleet across the spec module (the root producer of the bundle→fleet cutover):
BundleConfig→FleetConfig,BundleNode→FleetNode, theBundlemap field→Fleet,bundle_keys.go→fleet_keys.go,deploy_bundle_ops.go→deploy_fleet_ops.go, and the seam-op comment (pod-config-load-bundle→pod-config-load-fleet). The on-disk config key staysdeploy:— zero config-format change. Generatedcue_types_gen.go/vocab_gen.go/version_gen.goand the proto wire stubs are regenerated from the renamed schema sources.A follow-up fix commit (5fa4b1e) repairs damage the first rename pass introduced, per the pr-validator's findings: (1) gofmt-aligns the 4 files the rename misaligned; (2) completes the R5 sweep — renames the two surviving
charly bundle from-boxreferences (schema/boxmetadata.cue,schema/skill.cue) and regenerates; (3) corrects false#FleetValuecomment refs to the real#DeployValuedef + the bogus(box/candy/fleet/…)discriminator list todeploy; (4) restores the blind-replace-damaged comments (deploy_executor.go,loader_seam.go,materialize_project_seams.go,schemagen/main.go) to coherent English.Change class
cross-repo (the root producer of the bundle→fleet rename). Spec is the wire-shape/schema library module every consumer (sdk#126 → charly#232 → box configs) imports; it carries no deployable box of its own. Producer→consumer landing order: spec#20 → sdk#126 → {plugins#145, docs#24, distro-arch#10, distro-cachyos#10, distro-fedora#13} → charly#232.
How R10-tested — exact gate, commands, and pasted output
task cue:genno-op +TestGenReproducible), with runtime proof delivered by the consumer legs of this cross-repo gate. Spec has no disposable bed of its own (no box, no deployable runtime path) — the renamed types are exercised at runtime by sdk#126's standalone build and charly#232's bed (the check-tutorial-shelldeploy-addstep — renamedcharly fleet add— passed on the fleet-era binary; see that PR).go test ./...(includingTestGenReproducible) runs live below.Attribution tier
analysed on a live system — the change's gates (build, unit tests,
TestGenReproducible,cue:genreproducibility no-op, gofmt, R5 sweep) all re-ran live at the PR head; the complete fresh-rebuild bed R10 is carried by the consumer legs of this cross-repo cutover (spec itself has no deployable bed).Harness rulebook compliance — state HOW each is satisfied (or
N/A — <reason>)/charly-internals:go(SDD reproducibility recipe) +/charly-internals:plugin(wire-shape placement) +/charly-internals:strict-policy(R5 claim-sweep) loaded and honored.bundlerefs, false#FleetValuecomments, blind-replace damage) were each root-caused to the first rename pass and fixed in commit 5fa4b1e; gate output is at zero warnings.git grep -E '\bbundle|#FleetValue'(excluding CHANGELOG/migration-help) is empty (pasted above); no transitional/dual-mode path in the final code.TestGenReproducible+ the package tests (fail against the oldBundle*names); the cross-repo gate is stated above.task cue:genis a no-op on the committed tree (idempotent, verified) andTestGenReproduciblePASSes; generated files regenerated from the renamed schema, never hand-edited. RDD/ADE N/A (no new candy, no high-risk assumption).gofmt -l spec/empty,golangci-lint run ./...= 0 issues (validator-verified),go vetclean,go test ./...green (all pasted/verified above).CHANGELOG/2026.218.0000.mdstaged (placeholder CalVer — the pr-validator finalizes it).Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)