Skip to content

feat(sdk): #CheckBedReply.image_tag — per-run bed-scoped image tag field (super #75) - #47

Merged
atrawog merged 2 commits into
mainfrom
feat/check-bed-correctness
Jul 14, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/check-bed-correctness

Conversation

@atrawog

@atrawog atrawog commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

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 the bed_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; every charly 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-deploy both building check-k8s-deploy-app) never collide on the store-global short-name→newest-local-CalVer resolution. It is the tag analogue of bed_domain=deploy-name.

Change class + tier

  • Change class: sdk CUE wire-type addition (host↔plugin seam). Its own gate is the consuming superproject's R10 (a wire field alone has no runtime bed).
  • 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 #SchemaVersion bump (a host↔plugin seam type, never in #Node/#Op).
  • spec/cue_types_gen.go — regenerated via task cue:gen (CheckBedReply.ImageTag string). Generated, DO NOT EDIT.

R10 evidence (superproject batch ceremony)

  • feat(spec,deploykit,loaderkit): CandyReader agent/terminal-profile accessors #75 concurrent pair: check-sidecar-pod PASS + check-k8s-deploy PASS, 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. The ImageTag field is the vehicle that carried each bed's <bed>-<runCalver> tag from the host to the plugin.
  • Reproducibility gate: TestGenReproducible green — the committed generated file matches a fresh task cue:gen (no drift).
  • go build ./... 0 · golangci-lint 0.

R0–R10 checklist

Assisted-by: Claude (fully tested and validated)

…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
@atrawog

atrawog commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: sdk CUE wire-type addition (host↔plugin seam) — standalone module.

Independently re-validated on a clean worktree at head 680ec76 (base 7e9aafe, clean FF descendant). Diff is exactly the claimed 3 files (+17/-0): schema/seam.cue (image_tag?: string @go(ImageTag) on #CheckBedReply), the regenerated spec/cue_types_gen.go (CheckBedReply.ImageTag), and the placeholder CHANGELOG.

Standalone-module gates (GOWORK=off) — all GREEN:

  • gofmt -l . clean · go mod verify all verified · go vet ./... 0 · go build ./... 0
  • go test ./... all pass — TestGenReproducible RAN + PASSED (not skipped): the committed generated file byte-matches a fresh task cue:gen, so cue_types_gen.go is a faithful regeneration of the seam.cue source, never a hand-edit.
  • golangci-lint run ./... 0 issues (v2.12.2)
  • No schema/version.cue / spec/version_gen.go change → no #SchemaVersion bump — correct: #CheckBedReply is a host↔plugin seam wire type, not a #Node/#Op authored surface.

SDD @100%: wire type is CUE-sourced (the field is a plain string on the existing #CheckBedReply CUE def, @go(ImageTag) name-override — not @go(-), no new hand-written schema-shaped type). R5: additive only — no removed/renamed identifier to sweep.

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 2026.195.0723 — check-sidecar-pod (ok:true, 11 steps) + check-k8s-deploy (ok:true, 8 steps) run simultaneously, with each bed's distinct <bed>-<runCalver> fixture tag coexisting in the store. The field is the vehicle that carried those tags host→plugin. Tier fully tested and validated is justified.

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 2026.195.0742; tag v0.2026195.742.

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)
@atrawog
atrawog merged commit 5ad481d into main Jul 14, 2026
@atrawog
atrawog deleted the feat/check-bed-correctness branch July 14, 2026 07:45
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