Skip to content

feat(spec): node DATA field on the pod-lifecycle seam requests (#55 Cone A unit 1 producer) - #9

Merged
atrawog merged 2 commits into
mainfrom
feat/55-coneA-unit1
Jul 30, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/55-coneA-unit1

Conversation

@atrawog

@atrawog atrawog commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

#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 established node?: #Deploy seam.cue precedent). task cue:gen regenerated cue_types_gen.go (6 structs gain Node *Deploy); reproducible NO-OP.

Purely additive — optional field on existing request types; nothing renamed/removed.

Verification

  • spec go build ./... + go test ./... green incl TestGenReproducible (cue:gen no-op); gofmt clean.
  • Downstream (rides follow-on legs): pod_lifecycle_verb.go goes OFF sdk/deploykit (resolveLifecycleDeployNode DELETED, node threaded); R10 check-pod 13/13 (345s, fresh-rebuild — the shared dispatchLifecycleTarget node-threading via start/stop) + live 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)

atrawog added 2 commits July 30, 2026 09:50
…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)
@atrawog
atrawog merged commit 30e7a4e into main Jul 30, 2026
@atrawog
atrawog deleted the feat/55-coneA-unit1 branch July 30, 2026 07:58
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