Repository navigation
feat(sdk): P14a producer half — enginekit + status/oci CUE wire types + OpStatusCollect - #36
Conversation
… + OpStatusCollect enginekit (EngineClient podman/docker snapshot+inspect); status.cue/oci.cue wire types (DeploymentStatus/PortMapping/ToolStatus/SubstrateKind + MergeRequest/MergeReply/ImageUserInput/UserInfo + StatusSubstrateRequest/StatusNestedNode/StatusSubstrateReply, CUE-sourced → cue_types_gen.go); OpStatusCollect. R10-proven via the P14a roster on the frozen tree (check-commands-local incl status-runs + check-sidecar-pod, both PASS). Assisted-by: Claude (fully tested and validated) Claude-Session: https://claude.ai/code/session_01AAxEEG1p1C3Ks7h2NcPj18
pr-validator — APPROVED ✅Change class: charly/sdk Go (sdk contract module — producer half of P14a) Independently re-derived on the FINAL head Gates I re-ran myself (all green):
Checklist: 0 security PASS · 1 description PASS(note) · 2 gate PASS · 3 tier PASS · 4 R0 PASS · 5 R1 PASS · 6 R2 PASS · 7 R3 PASS · 8 R4 PASS · 9 R5 PASS · 10 R6/8/9 N/A · 11 R10 PASS · 12 SDD@100% PASS · 13 concurrency N/A · 14 atomic PASS · 15 ARCHITECTURE PASS · 16 disposable N/A · 17 go-gates PASS · 18 CHANGELOG PASS placement: CORRECT — SDD @100%: R10: bed evidence corroborated on disk — Non-blocking note: the Summary and CHANGELOG recap the cumulative P14a producer wire-type surface ( Decision: All hard gates pass on independent re-run; SDD reproducible; placement correct; security clean; producer path exercised live via the corroborated roster. Finalizing merge-time CalVer Assisted-by: Claude (analysed on a live system) |
Merge-time version stamp (validator): CHANGELOG placeholder → 2026.194.1333.md + H1 date prefix. Folded by the squash-merge. Assisted-by: Claude (documentation reviewed)
* docs(deploykit): D-CODE-4 sweep, the intermediates subsystem DESIGN.md:2649 -- D-CODE-4, comments describe present code; history goes to CHANGELOG/. Eleven history sites across intermediates.go, intermediates_compute.go and intermediates_move_test.go, rewritten to present tense with every load-bearing reason kept. The headers said "relocated from charly core (P8b)", "the formerly HOST-COUPLED half", "This half used to read *Config and stayed in charly core for that reason alone", "the former charly-side entry point lifted cfg.Defaults ... (removed in #55 Cluster-B)", "the former docstring already gave". They now state where each half lives, why it is pure over IntermediateDefaults, and the namespace-boundary rule -- the reasons, without the relocations. One site is left alone deliberately: "Default UID -- used to decide whether an intermediate needs a UID suffix" is present tense (is used to decide), not history, and the widened grep cannot tell them apart. Comment-only, proven by the canonical git diff filter. build, vet and gofmt clean; go test ./deploykit/ ok. This is deploykit second unit. 150 of the 171 widened-class sites remain, named by file and count in opencharly/opencharly#1147. Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed) * docs(deploykit): finish the move-test block, whose tail still said before the move The header was rewritten and the sentences flowing from it were not: instead of the concrete charly *Candy struct the tests used before the move, verified against the pre-move behaviour, None of the pre-move fixtures, mirrors the pre-move test file. A comment block is one claim in several sentences, and this PR claimed only the relocations are gone while four remained in the same block. Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed) * docs(deploykit): the IntermediateDefaults sentence, which the last fix left ungrammatical It read exactly the fields a *Config read off cfg.Defaults.* -- past tense and broken. The rewrite of the sentence above it introduced it, so the block asserted present code and then narrated a read in the same clause. Now: the cfg.Defaults.* fields, and nothing else. Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed) * docs(deploykit): drop the phase tags, which name a past campaign, not the code The body removed the relocations and left (P8b), (W3), (W3/K3) and (W3, task #36) standing in the same headers. A phase or task id is history in the same sense: it names when the code moved rather than what it does. Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed) --------- Co-authored-by: aitrawog <dsh-opencharly@local>
Summary
The sdk producer half of the superproject P14a cutover (status collectors → command:status; OCI engine → verb:oci). Lands FIRST (B2 order); the superproject PR bumps this sdk pointer + go.mod require.
EngineClient— the host-side podman/docker container-state engine (snapshot + inspect) the status collectors consume;Ports→spec.PortMapping.#PortMapping,#ToolStatus,#SubstrateKind(+ handspec/status_types.goenum,@go(-)),#DeploymentStatus; the P14a additions#MergeRequest/#MergeReply/#ImageUserInput/#UserInfo(verb:oci merge + adopt-user wire) and#StatusSubstrateRequest/#StatusNestedNode/#StatusSubstrateReply(theHostBuild("status-substrate")seam envelope). All generated intospec/cue_types_gen.gobytask cue:gen.OpStatusCollect— the command:status programmatic collection op, distinct from the lifecycleOpStatus.Change class
Code (sdk contract module). Runtime tier.
R10 evidence
No standalone sdk bed (a producer); its gate is the consuming superproject's build + the P14a roster on the assembled tree (sdk 55e9c4d→amended, super 486f34b):
Gates:
go build ./...0 /go test ./...all-ok (inclTestGenReproducible) /golangci-lint run0 / gofmt clean;task cue:genreproducible (no-op).Tier
fully tested and validated— all 10 standards + the fresh-rebuild P14a roster; the wire types + OpStatusCollect are exercised live through command:status / verb:oci.https://claude.ai/code/session_01AAxEEG1p1C3Ks7h2NcPj18
Assisted-by: Claude (fully tested and validated)