Skip to content

refactor(deploykit): InstallStep step vocabulary → thin spec re-exports (#55 step-4 sdk leg) - #111

Merged
atrawog merged 2 commits into
mainfrom
feat/55-step4-deploykit-ir-envelope
Jul 29, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/55-step4-deploykit-ir-envelope

Conversation

@atrawog

@atrawog atrawog commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

#55 step-4 — sdk consumer leg (B2)

The InstallStep step vocabulary (13 concrete step structs + RepoSpec/CacheMountSpec/ArtifactRef + methods + view converters + plan mechanisms) now sources from the merged spec contract (v0.2026210.2308); sdk/deploykit keeps only thin re-export aliases so its own code + out-of-tree plugins are unchanged.

What lands

  • deploykit/steps.go −~1330 LOC across steps.go/step_view.go/plan.go/plugin_step_words.go: the 13 struct definitions + helper types + methods + converters DELETED, replaced by OpStep = spec.OpStep / FileStep = spec.FileStep / … (the same alias pattern deploykit already uses for the IR envelope InstallPlan/InstallStep/EmitOpts).
  • deploykit/step_view_test.go DELETED (TestStepView_RoundTrip relocated to spec).
  • go.mod/go.sum: require github.com/opencharly/spec bumped v0.2026210.2052 → v0.2026210.2308.

The InstallStep vocabulary is IN-PROC IR (never crosses the wire — StepToView projects it onto the CUE-sourced InstallStepView, untouched), relocated hand-written beside the already-hand-written InstallStep interface + InstallPlan/StepBatch in spec.

Verification (against the REAL merged spec tag, GOWORK=off)

Producer-first B2: spec (merged v0.2026210.2308) → this sdk leg → superproject charly + in-tree-candy repoint.

Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)

atrawog added 2 commits July 30, 2026 01:13
…ts (#55 step-4 sdk leg)

The 13 concrete step structs + RepoSpec/CacheMountSpec/ArtifactRef + methods + view
converters + plan mechanisms now source from spec (merged v0.2026210.2308);
deploykit keeps thin re-export aliases (~1330 LOC removed). step_view_test.go
relocated to spec. require spec bumped v0.2026210.2052 → v0.2026210.2308. In-proc
IR; the wire form InstallStepView (single CUE source) is untouched.

Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)
….2318

Merge-time CalVer finalization by the fresh pr-validator: rename the
placeholder CHANGELOG entry to its release stamp and rewrite the H1.

Assisted-by: Claude Code Claude Opus 4.8 (fully tested and validated)
@atrawog
atrawog merged commit 160a79e into main Jul 29, 2026
@atrawog
atrawog deleted the feat/55-step4-deploykit-ir-envelope branch July 29, 2026 23:20
github-actions Bot pushed a commit that referenced this pull request Sep 7, 2026
…onfig → DeployConfig, spec/fleet → spec/deploy (Cutover C task 2, the sdk consumers) (#229)

The fleet vocabulary is RETIRED (operator ruling). This is the SDK PR — the
consumers of the spec IR rename (spec #111, tag v0.2026250.523).

Re-pin: github.com/opencharly/spec v0.2026249.2215 → v0.2026250.523.

IR/naming (every internal fleet* identifier follows):
- deploykit.FleetNode = spec.FleetNode → deploykit.DeployNode = spec.DeployNode
- vmshared.FleetNode = spec.FleetNode → vmshared.DeployNode = spec.DeployNode
- FleetConfig → DeployConfig; the Fleet map field → Deploy
- LoadFleetConfig → LoadDeployConfig, SaveFleetConfig → SaveDeployConfig,
  MutateFleetConfig → MutateDeployConfig, ProjectFleetConfig →
  ProjectDeployConfig, LoadUnifiedFleetConfig → LoadUnifiedDeployConfig,
  LoadHostFleetConfigViaExecutor → LoadHostDeployConfigViaExecutor,
  LoadFleetConfigViaSeam → LoadDeployConfigViaSeam,
  LoadFleetConfigViaExecutor → LoadDeployConfigViaExecutor,
  VmStateFromFleetConfig → VmStateFromDeployConfig
- FindFleetNode → FindDeployNode, MergeFleetNode → MergeDeployNode,
  MarshalFleetNode → MarshalDeployNode, FleetWalkPreOrder/PostOrder →
  DeployWalkPreOrder/PostOrder, BuildFleetNode → BuildDeployNode,
  BuildFleetEntity → BuildDeployEntity, SetFleetCrossRef → SetDeployCrossRef,
  FleetTargetForDisc → DeployTargetForDisc, FleetDelArgv → DeployDelArgv,
  FlattenFleetVenues → FlattenVenuesByPosition, StampFleetDescents →
  StampDeployDescents, FleetConfigMutator → DeployConfigMutator
- file renames: fleet_members.go → deploy_members.go, fleet_derive.go →
  deploy_derive.go, fleet_load.go → deploy_load.go, fleet_decode.go →
  deploy_decode.go, fleet_config_executor.go → deploy_config_executor.go,
  project_fleet.go → project_deploy.go, deploy_fleet_ops_aliases.go →
  deploy_ops_aliases.go, fleet_del_argv_test.go → deploy_del_argv_test.go
- import github.com/opencharly/spec/fleet → github.com/opencharly/spec/deploy
- CLI/command words in comments: "charly fleet add/del/…" → "charly deploy
  add/del/…", command:fleet → command:deploy

Claim-keyed sweep (git grep -iw fleet, non-CHANGELOG): ZERO vocabulary
matches. The sole remaining matches are references to the plugin-fleet REPO
(which keeps its name — repo renames are org-level, outside PR scope).

BREAKING: consumers of sdk must pin >= this tag and rename FleetNode →
DeployNode, FleetConfig → DeployConfig.

Gates: go build ./... && go vet ./... && go test ./... -count=1 GREEN;
gofmt clean.

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)
github-actions Bot pushed a commit that referenced this pull request Sep 7, 2026
…656 (CC-2 follow-up: consume the #111+#114 tag) (#231)

spec #114 (fix: comments keep the current sdk/cli names until their rename
PRs land, validator B5) landed after the sdk rename PR pinned v0.2026250.523.
The newest spec tag carrying both #111 (the IR rename this PR consumes) and
#114 (the comment forward-reference revert) is v0.2026250.656; this bumps the
pin so sdk main rides the full #111+#114 state.

Change is comment-only in spec (schema/seam.cue + cue_types_gen.go) — no type
or method surface change, so no sdk code change is required.

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)
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.

1 participant