Skip to content

feat(sdk): resolved-project envelope growth for the validate ENGINE relocation (K3-D+) - #45

Merged
atrawog merged 3 commits into
mainfrom
feat/k3d-resolve-domain
Jul 14, 2026
Merged

atrawog merged 3 commits into
mainfrom
feat/k3d-resolve-domain

Conversation

@atrawog

@atrawog atrawog commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

sdk contract leg of superproject #60 (K3-D+) — resolved-project envelope growth for the validate ENGINE relocation

Grows the resolved-project envelope so the charly box validate rule ENGINE can move out of charly/ core into the compiled-in candy/plugin-box plugin (the superproject leg). No behavior change in sdk itself — these are contract-type additions the superproject consumers read.

What this adds

  • #ResolvedProject / #CandyView growth (schema/resolvedproject.cue): #CandyCapabilitiesView + capabilities? (the per-candy capabilities aggregate — orchestrator ruling a); plan? + authored_aliases? on #ResolvedBoxView; provider_capabilities? + act_capable_verbs? D-data word-sets on #ResolvedProject; plugin_providers? + plugin_source? on #CandyView (the validatePluginCandy subject).
  • #ValidateProjectReply (schema/validateproject.cue, NEW): {Project (tolerant partial envelope), Diagnostics} — the validate-project host-builder reply.
  • #BoxMetadata (schema/boxmetadata.cue, NEW — P2B) + spec/labelset_methods.go.
  • deploykit NewSpecCandyModel (deploykit/spec_candy_adapter.go, NEW): adapts a #CandyView off the envelope to deploykit.CandyModel, so the relocated graph re-run runs in the plugin over the envelope. Supporting: deploykit/deploy_volume.go, kit/planrun.go.
  • Generated spec/cue_types_gen.go regenerated via task cue:gen.

Change class + verification

Contract-types change; its behavior is exercised by the superproject consumer. Verified on a live system: the assembled superproject builds + go test ./... passes against this sdk (in-tree via replace => ../sdk), and the charly box validate golden corpus proves verdict-parity (identical rule messages + exit codes, old-in-core-engine vs new-plugin-engine) across 5 fixtures. go build ./... + go test ./... + golangci-lint run ./... (0 issues) + gofmt clean + task cue:gen reproducible (no drift) on this branch.

Merged current with sdk main e2cc807 (#62 F12) — disjoint surfaces, clean merge; F12's proto/executor legs and my candymodel/validateproject/adapter set do not overlap.

R0–R10

Assisted-by: Claude (analysed on a live system)

atrawog added 3 commits July 14, 2026 06:19
…elocation (K3-D+)

The sdk contract leg of superproject task #60 (Units B+C): grows #ResolvedProject /
provider-capabilities / act-capable-verbs D-data word-sets the relocated
`charly box validate` rule engine reads off the envelope; adds #ValidateProjectReply
(a tolerant partial envelope + diagnostics), #BoxMetadata (P2B), and the deploykit
NewSpecCandyModel adapter so the graph re-run runs in the plugin over the envelope.

Assisted-by: Claude (analysed on a live system)
Claude-Session: https://claude.ai/code/session_017tVLzcTYLXKebGNmMv25fX
… leg)

Merge-time version stamp applied by the fresh pr-validator: CHANGELOG placeholder renamed to the merge CalVer + H1 rewritten to match. No code change.

Assisted-by: Claude (analysed on a live system)
@atrawog

atrawog commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: STANDALONE sdk module (contract-type growth for the validate-ENGINE relocation, task #60 K3-D+ / P2B / #46).

Independently re-ran, GOWORK=off, on the assembled tree at head 024b97f:

  • go mod verify → all modules verified · gofmt -l . → clean · go vet ./... → 0 · go build ./... → 0 · golangci-lint run ./... → 0 issues · go test ./... → all ok
  • TestGenReproducible (spec/) → PASS, not skipped: committed cue_types_gen.go / vocab_gen.go / version_gen.go are BYTE-EXACT to a fresh task cue:gen → a hand-edit is impossible.

Checklist (per-item):

  • [PASS] 0 security (T1–T4): no security machinery touched; no go.mod/go.sum change (no supply-chain); the adapter's os.Stat(SourceDir) probes are described + import-pure; no exfiltration/manipulation/scope-mismatch.
  • [PASS] 1 description complete · [PASS] 2 change-class gate (standalone module gates, re-run) · [PASS] 3 tier analysed on a live system (not inflated)
  • [PASS] 4 R0 (SDD honored) · [PASS] 5 R1 zero-warning · [PASS] 6 R2 (envVarNameToPodmanSecretSlug dup is a charly-side leg-3 item, tracked feat(agent): add CUE-generated control plane SDK #73) · [PASS] 7 R3 · [PASS] 8 R4 · [PASS] 9 R5 (relocated VolumeMount/LabeledDescription/LabelDescriptionSet have NO leftover struct def outside cue_types_gen.go; only = spec.X aliases remain; build proves no broken refs)
  • [PASS] 10 R6/R8/R9 (N/A here; R8 label byte-freeze verified on the charly side in leg 3) · [PASS] 11 R10 (standalone gates + repro byte-exact)
  • [PASS] 12 SDD @100%: wire types CUE-sourced (spec.BoxMetadata + label sub-shapes + envelope growth + #ValidateProjectReply); kit/deploykit = spec.X aliases are CUE-source containment relocation (spec sits below the kits), NOT charly/*_aliases.go; no new @go(-); labelset_methods.go = a hand METHOD on a generated type (charly_methods precedent); spec_candy_adapter.go = interface adapter, not a wire struct.
  • [PASS] 13 concurrency (N/A) · [PASS] 14 hard cutover (one change commit + merge-of-main) · [PASS] 15 placement: CORRECT — wire shapes→spec (CUE-first), adapter→deploykit (kit consumed by plugin+host); zero charly-core in this repo · [PASS] 16 (N/A) · [PASS] 17 go gates re-run green · [PASS] 18 CHANGELOG present.

Decision: APPROVED. All standalone-module gates re-run green by me; SDD reproducibility byte-exact; every new wire type is CUE-sourced; placement is correct (wire→spec, mechanism→kit). Merge-time CalVer 2026.195.0544 finalized; tag v0.2026195.544.

Assisted-by: Claude (analysed on a live system)

@atrawog
atrawog merged commit 92c0337 into main Jul 14, 2026
@atrawog
atrawog deleted the feat/k3d-resolve-domain branch July 14, 2026 05:48
atrawog added a commit that referenced this pull request Jul 14, 2026
…4 (K3-D+ sdk leg) (#46)

Corrects the H1 date inside CHANGELOG/2026.195.0544.md (the #45 stamp committed the rename but not the H1 rewrite). Docs-only.

Assisted-by: Claude (documentation reviewed)
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