Repository navigation
feat(sdk): resolved-project envelope growth for the validate ENGINE relocation (K3-D+) - #45
Merged
Merged
Conversation
…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)
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,
Checklist (per-item):
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 Assisted-by: Claude (analysed on a live system) |
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.
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 validaterule ENGINE can move out ofcharly/core into the compiled-incandy/plugin-boxplugin (the superproject leg). No behavior change in sdk itself — these are contract-type additions the superproject consumers read.What this adds
#ResolvedProject/#CandyViewgrowth (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}— thevalidate-projecthost-builder reply.#BoxMetadata(schema/boxmetadata.cue, NEW — P2B) +spec/labelset_methods.go.NewSpecCandyModel(deploykit/spec_candy_adapter.go, NEW): adapts a#CandyViewoff the envelope todeploykit.CandyModel, so the relocated graph re-run runs in the plugin over the envelope. Supporting:deploykit/deploy_volume.go,kit/planrun.go.spec/cue_types_gen.goregenerated viatask 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 viareplace => ../sdk), and thecharly box validategolden 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) +gofmtclean +task cue:genreproducible (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
envVarNameToPodmanSecretSlug, plugin can't import core) registered feat(agent): add CUE-generated control plane SDK #73 with a convergence exit. R5: n/a (additive contract types). SDD: every new type is a.cuedef →task cue:gen, reproducible.Assisted-by: Claude (analysed on a live system)