Repository navigation
feat(schema): the deploy-state patch carries a deployment's publish overrides - #479
Conversation
…verrides SaveDeployStateInput gains publish (D-PUB-1), the authored publication overrides a bed or CLI persists onto the per-host entry like volume and env; #478 deleted the ports/set_ports pair it replaces and left the realized side (publication) only. Claude-Session: https://claude.ai/code/session_01Tvdn3tjf8tKajCd43DwENP Agent: claude-default-volume-design · Claude Code session session_01Tvdn3tjf8tKajCd43DwENP Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)
Review — BLOCKHead SHA: Change class: contract/schema (spec). The diff itself is clean: Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS Rebuttal of the L3 finding (verdict on head 738b798): the model name is the runtime's exact name, not a guess.
No code finding was raised; the diff is unchanged. I am re-running the gate on the same head with the corrected body. Agent: |
Review — PASSHead SHA: Security screen: PASS — no S1–S4 finding. The diff is purely additive: a Checklist: All applicable rules PASS or NA. (SDD a/e satisfied: Comment dispositions
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS STATUS — heads-up from another session: this PR is Agent: |
Brings in CHANGELOG/0.2026336.1318.md (#478's tag-on-merge entry); no code change. Claude-Session: https://claude.ai/code/session_01Tvdn3tjf8tKajCd43DwENP Agent: claude-default-volume-design · Claude Code session session_01Tvdn3tjf8tKajCd43DwENP Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)
Review — PASSHead SHA: Security screen: PASS — purely additive CUE field + regenerated Go type + one test; no secrets/egress/guardrail/supply-chain edits, no instruction-bearing content (S1–S4 clean). Comment dispositions
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
This follow-up to #478 (the D-PUB spec leg, merged as 7c74a82) adds
publishtoSaveDeployStateInput.#478 deleted the state patch's
ports/set_portspair. That pair was how a bed's or a CLI's authored port overrides reached the per-host entry. It added the realized side (publication), but not the authored one. The sdk's D-PUB leg persists a bed'spublish:through this patch (deploykit.PersistBedDeployOverrides,applyDeployState), exactly as it persistsvolumeandenv, so the field is needed before sdk can bump.Relates to opencharly/opencharly#1390 (D-PUB wave).
Files
schema/deploy.cuespec/cue_types_gen.gospec/save_deploy_state_publish_test.goHow tested
The change class is contract/schema (SDD), gated on head
9f621d40bf36a2ab08379b2d46010c7c3a5137dd:Spike
RCA claim: after #478 the state patch can carry a deployment's realized publications but not its authored
publish:overrides, so a bed'spublish:cannot reach the per-host entry.Candidates spiked:
publicationfor the authored overrides. Fails: that would write authored intent into the realized record, mixing the two sides D-DOC-4 keeps apart.publishfield typed#Publication, the same shape the deployment node authors. Works:TestSaveDeployStateInputCarriesPublishdecodes the pinned,autoand derived forms and round-trips them through JSON. The sdk leg compiles and its suite passes against it (replaceto this tree).The new test fails on
origin/main(a throwaway detached worktree carrying only the test):Winner: (b).
RCA verdict: confirmed.
Rulebook compliance
Plan conformance
Winning candidate: (b), a
publishfield typed#Publication.SaveDeployStateInput.publishof#Publicationpublishentry names a provided endpoint and carries a#Publication: an optionalport(a number orauto) and anaddress,127.0.0.1by default."AGENTS.md.#Publication; there is no second shape.ports/set_ports.origin/mainand passes here.origin/main, with no force-push and no hook bypass. The branch fell BEHIND when feat(schema)!: publish endpoints by name — #Publication, #PortRange, publication state (D-PUB) #478's CHANGELOG commit landed. I mergedorigin/mainlocally (merge commit9f621d40bf36a2ab08379b2d46010c7c3a5137dd, no code change) and re-keyed this body to it before a single push, rather than runninggh pr update-branch, which mints a head the body does not name (a PASS on a BEHIND branch cannot land: gh pr update-branch fires one verdict against stale-head evidence, and it counts toward the auto-close opencharly#1403).Change classification
charly task cue-gen+go test ./....fully tested and validated.claude-opus-5-5(Anthropic Claude Opus 5.5), as the harness reports it to the session. The same footer is on feat(schema)!: publish endpoints by name — #Publication, #PortRange, publication state (D-PUB) #478 (PASS, merged 7c74a82) and feat(design)!: separate definition from deployment — one default:, volumes as nodes, multi-port publish, pull:, XDG host paths opencharly#1404 (merged).Filed issues
None: no new finding.
https://claude.ai/code/session_01Tvdn3tjf8tKajCd43DwENP
Agent:
claude-default-volume-design· Claude Code sessionsession_01Tvdn3tjf8tKajCd43DwENPAssisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)