Repository navigation
Conversation
…uster relocation Adds the CUE-sourced wire types the compiled-in candy/plugin-build build:ensure word needs (core-min wave 3, build-engine cluster relocation): BoxRefResolveRequest/ Reply and RemoteImageResolveRequest/Reply (the two HostBuild seams a plugin uses to resolve a project-authored / remote image identifier) and BuildEnsureRequest/Reply (the word's own Invoke envelope). Removes the dead, never-consumed EnsureImageRequest/ Reply pair (discovered stale during this cutover — zero Go callers, zero registerHostBuilder site). Updates every stale comment referencing the deleted charly/ensure_image.go and its EnsureImagePresent symbol. Assisted-by: Claude Code claude-opus-4-6-20261209 (analysed on a live system)
…re contract Extends #DeployCompileRequest (schema/seam.cue) with candy_ref/vm_entity/box_ref, a discriminated triple alongside the existing box_view/order, so candy/plugin-bundle's OpCompile handler can resolve a standalone-candy (target:local/vm) or primary pod/k8s box selection entirely off the already-fetched resolved-project envelope instead of the host pre-computing it. Regenerated via task cue:gen (TestGenReproducible passes). Also relocates pruneContainerInitForSystemd (deploykit/graph.go) from charly core — a pure order+HostContext.MachineVenue function with no core-only dependency, now shared by the host's unchanged box-view compile path and the plugin's candy/box-ref compile paths instead of being duplicated. Doc-comment fixes in install_build.go for two now-stale caller-specific references. CHANGELOG: CHANGELOG/2026.206.1338.md Assisted-by: Claude Code Anthropic Claude Sonnet 5 (fully tested and validated)
Contributor
Author
This was referenced Sep 6, 2026
github-actions Bot
pushed a commit
that referenced
this pull request
Sep 6, 2026
…d #Deploy fields — the deploy-declared-fields channel (sdk #221 class) (#225) The #222/#223 parent-disc + key-rule guards fixed the STRUCTURAL arm, but the SUBSTRATE arm (t.DeploySubstrates) still scanned disc values by VALUE SHAPE (discEntityPairs/isEntityValue): a declared #Deploy field whose value mapping carries a kind-word key classified as an IN-SUBSTRATE MEMBER. The proven repro (the canonical charly-cli ADE iterate-entity bed): a pod primary body with iterate: {sandbox: check-agent-pod, agent: [check-agent-live-claude], plateau_iteration: 1, ...} — `agent` is a kind word, so `iterate:` classified as a member named "iterate", parseNode("iterate") took `agent` as ITS disc, and the scalar `sandbox:` hard-failed "expected a mapping value, got yaml kind 8". Renaming the key to agentsX got past the raw parse (then CUE: field not allowed) — isolating the parse class. Same mechanism as #223, extended to deploy substrates: membership semantics live in the PARENT kind's declared schema — for substrates that is #Deploy's OWN CUE schema. The new spec.Threaded.DeployDeclaredFields channel (opencharly/spec#107, v0.2026249.2215 — the #104 StructuralDeclaredFields twin) is consulted by the substrate branch: a pair whose KEY is a declared #Deploy field is DATA — its value is never looked inside; every other entity-keyed value-shape member (web:/chrome:/sidecar:) stays a member. A substrate word with NO declared schema threaded keeps the plain value-shape scan (the documented no-declared-schema fallback). Zero hardcoded lists. Also pins spec v0.2026249.2215 (the channel's contract change). Gate: go build/vet/test ./... -count=1 green on the committed tree; the repro fixture + the full corpus (authored-depth, 8a external-structural, TestParse_StructuralDeclaredFieldStaysData, TestNoDualMapConstruction) green.
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.
Wave A (terminus program) — sdk producer leg: K4 unit-B candy/box selection wire + build-engine build:ensure wire
The sdk contract producer leg (B2 step 1) of core-min wave 3 — the K4 dispatch-kernel + build-engine cluster relocation. This leg ships ONLY the wire-contract additions the charly + plugins consumer legs depend on; it is landed + tagged FIRST so the consumers can repoint to the merged sdk commit.
What changed (schema-sourced, generated)
schema/seam.cue—#DeployCompileRequestgains a discriminatedcandy_ref/vm_entity/box_refset alongside the existingbox_view/order, socandy/plugin-bundle's OpCompile handler resolves candy/box selection off its OWN resolved-project envelope (no host-computed BoxView, noLoadUnified, no new HostBuild kind). Full narrative inCHANGELOG/2026.206.1338.md.schema/buildwire.cue(new, 66 lines) — thebuild:ensurewire contract for the build-engine ensure-image cluster relocation (box-ref-resolve + remote-image-resolve seams behindcandy/plugin-build'sbuild:ensureword).spec/cue_types_gen.go— regenerated (task cue:gen) from the merged schema. CUE-sourced without exception (SDD): both additions are plain/discriminated structscue exp gengotypesgenerates faithfully.Verification (R0–R10, sdk contract class = standalone battery + regen reproducibility)
TestGenReproduciblePASS — the regeneratedspec/cue_types_gen.gois byte-identical to committed (the merged seam.cue conflict resolution — K4's fields + build-engine's ensure wire — is reproducible).GOWORK=off go build ./...+go vet ./...PASS standalone;go test ./spec/ -run TestGenReproduciblePASS.CHANGELOG/2026.206.1338.mdpresent (pr-validator finalizes the CalVer at merge).Class + tier
sdk contract producer leg. Attribution:
fully tested and validated(standalone battery + regen repro green; runtime exercised via the consumer leg's green roster on the integrated base).Merges FIRST (B2); charly + plugins legs repoint to the merged sdk commit.
Assisted-by: Claude Code (Anthropic Claude Opus 4.8; fully tested and validated)