Skip to content

feat(schema): narrow check-bed wire seam to 9 shared ops (K5-U1) - #62

Closed
atrawog wants to merge 1 commit into
mainfrom
feat/k5-checkbed-seam-narrow
Closed

atrawog wants to merge 1 commit into
mainfrom
feat/k5-checkbed-seam-narrow

Conversation

@atrawog

@atrawog atrawog commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The check-bed SESSION (locks/lease/env/BedDescriptor) moves out of charly/host_build_check_bed.go into the compiled-in command:check plugin (candy/plugin-check/bed_session.go), landing in the superproject charly repo alongside this schema change.
  • #CheckBedRequest/#CheckBedReply (sdk/schema/seam.cue) narrow from a setup/teardown session envelope to the 9 genuinely host-shared helper ops the plugin's own session cannot self-serve: members-up / members-down / wait-ready / persist-overrides / gpu-prereq / libvirt-start / lease-acquire / lease-release / repo-override-pair.
  • New fields: node? #Deploy, image_tag?, active? (request); lease_active?, repo_override_pair? (reply). Dropped the now-unused dir? field.

Test plan

  • task cue:gen — clean, reproducible regeneration of spec/cue_types_gen.go
  • Struct shapes verified against both consumers (charly/host_build_check_bed.go, candy/plugin-check/bed_session.go) in the companion superproject PR
  • The companion superproject PR's live disposable-bed runs (check-exampledeploy PASS; check-group VM+group path) exercise these generated types end-to-end

Companion PRs: opencharly/charly (superproject) and opencharly/plugins (doc sync), same K5-U1 cutover.

https://claude.ai/code/session_01R8UGGr3ui1959oTb5JuSif

The check-bed session (locks/lease/env/BedDescriptor) moves into the
compiled-in command:check plugin; #CheckBedRequest/#CheckBedReply drop
setup/teardown and gain the fields the 9 surviving genuinely-shared host ops
need (node, image_tag, active, lease_active, repo_override_pair).

Assisted-by: Claude Code Claude Sonnet 5 (analysed on a live system)
atrawog added a commit that referenced this pull request Jul 17, 2026
…arrowing

This PR shipped without a CHANGELOG entry. Added one (placeholder CalVer,
finalized at merge like every other landing) documenting the schema
change, the confirmed zero-overlap with the other two open sdk PRs
(#62/#64, both touch schema/seam.cue not schema/status.cue), and the
sdk#64-class assembled-superproject verification: bumped the charly
superproject's sdk gitlink to this commit in a scratch worktree and
confirmed the assembled build fails exactly as predicted (3 call sites
in status_substrate_host.go + candy/plugin-status/{command,provider}.go
still reference the dropped fields) -- then confirmed the companion
charly PR's diff fixes all three, so the landing order (this PR first,
companion PR's gitlink re-bump immediately after) is safe.

Assisted-by: Claude Code Claude Sonnet 5 (fully tested and validated)
@atrawog

atrawog commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

Consolidating per one-PR-per-wave. This is a premature producer leg of the K5-check cutover (the check-bed session / Lane-1), opened ahead of and detached from its charly super, which is parked behind K4. Closing to fold this seam into the ONE K5-check super's sdk leg, opened together with the super once K4 lands. Branch feat/k5-checkbed-seam-narrow is retained — no work is lost. Ref: current-wave-plan-2026-07-17.md §C4.

@atrawog atrawog closed this Jul 17, 2026
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