Repository navigation
feat(spec): deploy value-vocabulary (DeployKey helpers + OCIEmitStepParams/SaveDeployStateInput) → spec (#55 Cone V producer) - #8
Merged
Conversation
…EmitStepParams/SaveDeployStateInput) from sdk/deploykit → spec (#55 Cone V producer) Pure deploy-key helpers (DeployKey/ParseDeployKey/BundleDelArgv/DeriveDeploymentName) hand-written in spec/deploy_key.go (stdlib-only); the 2 wire structs OCIEmitStepParams + SaveDeployStateInput CUE-sourced in schema/deploy.cue (gengotypes-proven field-identical, SaveDeployStateInput's map[string]json.RawMessage via the existing spec RawBody alias — no @go(-)). VolumeMount already spec-aliased. deploykit keeps thin re-export aliases (follow-on leg). BundleConfig/HostContext correctly EXCLUDED (kit-coupled / in-proc IR → K4). Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)
Rename the placeholder CHANGELOG to the merge-time stamp (2026.211.0549) and rewrite the H1; upgrade the attribution tier to fully-tested-and-validated per the confirmed downstream assembled Cone V tree R10 (check-pod 13/13, check-builder-vm 10/10, fresh-rebuild) — the direct step-4 (#7) precedent. Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#55 Cone V — deploy value-vocabulary → spec (PRODUCER leg, B2)
Continues the deploykit relocation (after step-4's InstallStep IR): the deploy CONFIG/KEY value-vocabulary moves from
sdk/deploykit→specso charly + in-tree candies reference it from the contract instead of the deploykit alias.What lands (4 files, +295)
DeployKey/ParseDeployKey/BundleDelArgv/DeriveDeploymentName(+lastIndexByteInRef).OCIEmitStepParams+SaveDeployStateInputCUE-sourced (+2 defs → cue_types_gen.go +87). RDD spike PROVEDcue exp gengotypesgenerates BOTH field-identical to the former hand structs — no@go(-). SaveDeployStateInput'smap[string]json.RawMessagevia the existing specRawBodyalias; pointer fields via optional=nillable / type=*T.Boundary-law exclusions (RDD-verified, NOT Cone V)
sdk/kit(ContainerNameInstance/IsAutoPort/ParseHostPort) — moving to spec would force spec→sdk/kit (mechanism→base inversion). Stays deploykit → K4.BuilderContext(in-proc build pre-pass, arg to BuildDeployPlan) — in-proc IR, stays deploykit (step-4 InstallStep precedent).Verification
go build ./...+go test ./...green inclTestGenReproducible(cue:gen NO-OP); gofmt clean.go test ./charly/...257s ok; box validate 0; whole-tree R5=0. R10 beds check-pod 13/13 (249s — deploy config/state/overlay where these thread) + check-builder-vm 10/10 (381s), fresh-rebuild.Producer-first B2: this spec leg (merge + Go-module tag) → sdk require-bump → superproject charly + candy repoint.
Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)