Repository navigation
feat(spec): node DATA field on the pod-lifecycle seam requests (#55 Cone A unit 1 producer) - #9
Merged
Merged
Conversation
…one A unit 1 producer) Add optional `node?: #Deploy @go(Node, type=*Deploy)` to #Pod{Start,Stop,Logs, Shell,Service,Cmd}Request so the invoking plugin threads its already-loaded deploy node as DATA — the host reverse leg stops re-reading the per-host config (an incomplete seam) and uses the passed node. Additive; gengotypes reproducible NO-OP. Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)
…it 1 merge Merge-time stamp finalization for PR #9 (pr-validator). Docs-only. Assisted-by: Claude Code Anthropic Claude Opus 4.8 (documentation reviewed)
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.
#55 Cone A unit 1 — pod-lifecycle node DATA-threading (PRODUCER leg, B2)
First unit completing the deploykit deploy-config-resolve relocation: the pod-lifecycle HostBuild reverse legs previously RE-READ the per-host deploy config in charly core (
resolveLifecycleDeployNode→LoadDeployConfigForRead) to find the deploy node — an incomplete seam, since the invoking plugin (command:pod/command:cmd) already loaded that node plugin-side. This threads the loaded node as DATA so the host M (ResolveTarget + live-executor) uses it instead of re-reading; the config-READ leaves core, the genuine M stays.What lands (additive)
schema/seam.cue:node?: #Deploy @go(Node, type=*Deploy)on#Pod{Start,Stop,Logs,Shell,Service,Cmd}Request(the establishednode?: #Deployseam.cue precedent).task cue:genregenerated cue_types_gen.go (6 structs gainNode *Deploy); reproducible NO-OP.Purely additive — optional field on existing request types; nothing renamed/removed.
Verification
go build ./...+go test ./...green incl TestGenReproducible (cue:gen no-op); gofmt clean.charly logs(the ResolveLifecycleDeployNodeViaSeam helper, live).Producer-first B2: this spec leg → sdk (ResolveLifecycleDeployNodeViaSeam helper) → superproject (host leg uses req.Node, pod_lifecycle_verb.go off deploykit).
Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)