Repository navigation
feat(sdk): #CheckBedReply.image_tag — per-run bed-scoped image tag field (super #75) - #47
Conversation
…eld (super #75) Additive optional field on the check-bed session-seam reply (`#CheckBedReply`, right after `bed_domain`) so the host can thread a per-RUN bed-scoped image tag (`<bed-root>-<runCalver>`) to the compiled-in bed-runner plugin. Every `charly box build` + deploy in a bed run passes it as `--tag`, so concurrent beds building the SAME fixture image name never collide on the store-global short-name→newest-local- CalVer resolution (superproject #75 — the tag analogue of `bed_domain`=deploy-name). Not an authored config surface (a host↔plugin seam wire type), so no `#SchemaVersion` bump. `task cue:gen` regenerated `spec/cue_types_gen.go` (`CheckBedReply.ImageTag`); the reproducibility gate stays green. Assisted-by: Claude (fully tested and validated) Claude-Session: https://claude.ai/code/session_01WQoP9D33zKXqqGuK8GeAco
pr-validator — APPROVED ✅Change class: sdk CUE wire-type addition (host↔plugin seam) — standalone module. Independently re-validated on a clean worktree at head Standalone-module gates (GOWORK=off) — all GREEN:
SDD @100%: wire type is CUE-sourced (the field is a plain R10 / tier: a wire field has no standalone bed; it is exercised downstream. Corroborated read-only from disk that the superproject #75 concurrent pair passed at run-calver Security screen (T1–T4): clean — no scope mismatch, no secrets/exfiltration, no weakened guardrail, no supply-chain change, no manipulation attempt. Decision: APPROVED. Merge-time CalVer finalized to Assisted-by: Claude (fully tested and validated) |
Rename the placeholder CHANGELOG to the merge-time CalVer and align its H1. sdk leg of the check/bed-correctness batch (#CheckBedReply.image_tag, super #75). Assisted-by: Claude (fully tested and validated)
Summary
sdk leg of the superproject check/bed correctness batch (#75 — bed-scoped fixture image tags). Adds a single additive optional field
image_tag?: string @go(ImageTag)to#CheckBedReply(the check-bed session-seam reply), right after thebed_domain(#33) precedent field.The host computes a per-RUN bed-scoped image tag
<bed-root>-<runCalver>once at bed setup and threads it via this field to the compiled-in bed-runner plugin; everycharly box build+ deploy in the run passes it as--tag, so two beds building the SAME fixture image name (e.g.check-sidecar-pod+check-k8s-deployboth buildingcheck-k8s-deploy-app) never collide on the store-global short-name→newest-local-CalVer resolution. It is the tag analogue ofbed_domain=deploy-name.Change class + tier
fully tested and validated— the field was exercised end-to-end by the superproject batch's R10 ceremony (below).What changed
schema/seam.cue—image_tag?: string @go(ImageTag)on#CheckBedReply. NOT an authored config surface, so no#SchemaVersionbump (a host↔plugin seam type, never in#Node/#Op).spec/cue_types_gen.go— regenerated viatask cue:gen(CheckBedReply.ImageTag string). Generated,DO NOT EDIT.R10 evidence (superproject batch ceremony)
check-sidecar-podPASS +check-k8s-deployPASS, run SIMULTANEOUSLY, with both run-scoped tags coexisting in the store —check-k8s-deploy-app:check-sidecar-pod-2026.195.0723+check-k8s-deploy-app:check-k8s-deploy-2026.195.0723— proving the pre-fix collision is now collision-free by construction. TheImageTagfield is the vehicle that carried each bed's<bed>-<runCalver>tag from the host to the plugin.TestGenReproduciblegreen — the committed generated file matches a freshtask cue:gen(no drift).go build ./...0 · golangci-lint 0.R0–R10 checklist
!.task cue:genregenerated; reproducibility gate green.Assisted-by: Claude (fully tested and validated)