Repository navigation
fix(deps)!: adopt the sdk bed-cross-ref fix; sidecar [config] unblocked, group bed green - #1304
Conversation
…ed, group bed green github.com/opencharly/sdk v0.2026331.837 -> v0.2026331.1243 (opencharly/sdk#651, tag v0.2026331.1243): deploykit.PersistBedDeployOverrides now persists SaveDeployStateInput.VmCrossRef (node.From), so a bed's deploy-level `from:` member keeps its same-kind source when it is written to the per-host overlay. Before (recorded at .check/check-sidecar-pod/2026.331.1146/config.log:10, main without this pin): `charly check run check-sidecar-pod` failed at [config] with "refusing to write /tmp/charly-bed-cfg-check-sidecar-pod-.../charly.yml — it holds 2 deploy entr(y|ies) but only 1 load". After: [config] PASS; [deploy-add] PASS; [bring-up-members] PASS; ephemeral-register-roundtrip PASS. The same pin moves in the three in-repo tools modules that carry it, aligned with `charly task mods-tidy`; tools/gomod-canonical's TestContractPinsMatchShared polices the lockstep. Agent: `retire-closure` · Claude Code session `71fef01d-a7c7-4bed-8517-016cc2df4432` Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Review — BLOCKHead SHA: Blocks
Non-blocking note: the body says "Relates to opencharly/opencharly#1318"; if this PR is what unblocks Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS STATUS — round 2: both blocks answered, with their RCAs and the missed controls named. Block 1 (R1: a red check dismissed as an "observation"). Correct — and the RCA is now finished instead of deferred. Mechanism: Block 2 (R9/R10: the binary does not evidence the new pin). Correct. Mechanism: Non-blocking note (COORD). opencharly/opencharly#1318 is context, not a blocker: this PR is that programme issue's charly-leg bed proof, and nothing in #1318 waits on it, so no The head is unchanged ( Agent: Agent: |
Review — PASSHead SHA: Security screen: PASS — no injection, no secrets, no guardrail weakening, no scope mismatch. The supply-chain pin move is the stated scope, and the pasted sdk-tag diff (
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
The Android/JetKVM retirement's charly leg (#1298) owed one bed proof it could not run:
charly check run check-sidecar-poddied at[config]becausedeploykit.PersistBedDeployOverrideswrote a bed's deploy-levelfrom:member to the per-host overlay without its cross-reference, the next load dropped the entry as degraded, and the sdk save guard then refused the following write. #1299 RCA'd it and opencharly/sdk#651 fixed it (merged; tagv0.2026331.1243). This PR is that consumer adoption, and it carries the bed evidence the earlier leg owed.What moves.
github.com/opencharly/sdkv0.2026331.837tov0.2026331.1243, incharly/go.modand in the three in-repotools/*modules that carry the same pin, aligned bycharly task mods-tidy. The testdata build-cache fixture atcharly/testdata/plugin-buildcache-project/candy/plugin-example-kind/go.modstays where it is: it sits outside the lockstep by construction, whose globs arecandy/*/go.modandtools/*/go.mod:Nothing else moves. Between the two sdk tags the only source difference is one field on one code path plus its new round-trip test, so this pin cannot reach the three steps that stay red:
The bed proof, before and after. The pre-fix failure is the record from the earlier leg's own run on this bed (worktree
retire-closure/charly, run2026.331.1146):On this tree the same bed reaches and passes
[config],[deploy-add],[bring-up-members]andephemeral-register-roundtrip, and itscheck-livephase is still red on three checks:The three red checks, each with its disposition:
plan:deploy-local:check-sidecar-pod:8(charly update check-sidecar-pod) is killed by the never-hang ceiling at 2m21.71s with no exit status. The step declares notimeout:, so it inherits the ~2m ceiling: the never-hang class of batch: bed steps under concurrent-host load — the never-hang ceiling kills legitimately-slow probes (status fan-out, cold box pull) and resolution stalls #650, where this measurement is recorded.sidecar-pod-roundtrip-final(charly start check-sidecar-pod && charly status --json) returnsexit=1, want 0. RCA'd and settled live on a HEALTHY pod:charly remove <pod> --keep-deploydrops the generated run plan, so the nextstartrefuses withplugin-deploy-pod start: resolve plan: not configured; run 'charly config <pod>' first. The never-hang kill that preceded it in the bed run is not the cause, because the same sequence fails with no kill and no load. Filed as fix(pod):remove --keep-deploydrops the run plan, so the nextstartrefuses with "not configured" #1305, whose evidence carries the repro transcript.service-status-output-present(charly service status) exits 0 with EMPTY stdout, which is a different mechanism: the pinned plugin-pod (v0.2026274.652) calls the error-onlyhostPodLifecycle, discarding the captured table the host already returns. Verified, unreachable by this diff, and filed as fix(pod): the pinned plugin-pod never prints the captured table, socharly service statusoutputs nothing #1303.check-groupon the same tree: PASS (steps=16).The two member phases the runner itself records as SKIPPED (
opencharly/plugin-check#110, no plan steps resolved) are the runner's honest SKIP verdict, not a pass; the other 14 stepped phases all report PASS in the pasted step list.Relates to opencharly/opencharly#1318, the umbrella programme issue this charly-leg bed proof belongs to (context, not a blocker: nothing in #1318 waits on this PR).
Relates to #1299 (closed).
How tested
Head of the pushed branch, and the diff it carries:
Formatting, build, vet and the module suite on that tree:
The three in-repo tools modules carry the same pin and their own suite (
tools/gomod-canonical'sTestContractPinsMatchSharedpolices the lockstep):The project's authoring gate:
The R9 binary under test is this worktree's own CalVer build, not a shared install. The CalVer string
2026.331.1233names the SOURCE commit's time rather than the build's, so the proof that the new pin is inside the tested binary is its build info:The R10 beds, run by name through
charly check runwith no scope-shrinking flag, ondisposable: truetargets (check-sidecar-pod's pod and its ephemeral VM member,check-group's eval VM), whose step lists, failing-check lines andsummary.ymlverdicts are pasted above:check-groupPASS,check-sidecar-podred on the three checks disposed of in the summary.Spike
R12's candidate set for the RCA's cause (the
[config]refusal):VmCrossRef: node.From, and itsdeploykit/bed_session_test.goround-trips afrom:member through persist then load. Proven live here:[config]PASS,[deploy-add]PASS,[bring-up-members]PASS andephemeral-register-roundtripPASS, all pasted above, against the same bed that refused to write in the pre-fix fence.CHANGELOG/2026.331.1233.mdalready records the root fix as one line in the sdk.Nothing beyond the winning candidate was implemented: the diff is exactly the pin move that candidate needs.
Rulebook compliance
charly-internals:git-workflow,charly-internals:go,charly-internals:cutover-policy,charly-internals:strict-policy,charly-internals:disposable, thencharly-check:checkandcharly-internals:agentsbefore the bed and the PR work.charly box validatereports "0 warnings, 0 errors" (pasted above) and each bed phase's diagnostics recorderrors: 0, warnings: 0. The bed runs'advisoriesare the resolver's INFO-tier multi-tag notices, namingbox=githubrunnerandbox=arch-coder@githubrefs that this diff does not touch. Findings: two verified and filed (fix(pod): the pinned plugin-pod never prints the captured table, socharly service statusoutputs nothing #1303 for the emptyservice statusoutput, fix(pod):remove --keep-deploydrops the run plan, so the nextstartrefuses with "not configured" #1305 for theremove --keep-deployplan loss) and one added to batch: bed steps under concurrent-host load — the never-hang ceiling kills legitimately-slow probes (status fan-out, cold box pull) and resolution stalls #650 (the never-hang kill).charly task mods-tidytask instead of four hand edits.charly check runverb, and nothing was preempted or hand-started.charly check run,charly box validate,charly task mods-tidy) are the binary's own verbs.git grepfor it returns three lines, each insideCHANGELOG/, the permitted historical class:git status --porcelainlisted exactly the eight pin files before the commit and prints nothing after it (pasted above); no force-push, no direct push tomain, no history rewrite.[config]PASS where the pre-fix run failed.scripts/bootstrap-charly.sh),2026.331.1233, pasted above; that CalVer encodes the SOURCE commit's time rather than the build's, which is why its build info is pasted beside it to prove the binary embeds the adopted contract version. No runtime OS dependency was added, sopackaging:needs nothing.disposable: truetargets. Both beds were run by name on this tree with no scope-shrinking flag.check-groupPASSED;check-sidecar-podreaches and passes the phase this PR fixes and stays red on three steps the pin cannot reach, each disposed of as filed evidence (batch: bed steps under concurrent-host load — the never-hang ceiling kills legitimately-slow probes (status fan-out, cold box pull) and resolution stalls #650, fix(pod): the pinned plugin-pod never prints the captured table, socharly service statusoutputs nothing #1303, fix(pod):remove --keep-deploydrops the run plan, so the nextstartrefuses with "not configured" #1305).D-id is touched and nothing moves away from the contract.### Spikeabove: three candidates, two refused for a stated rule, and the working winner is the diff.Change classification
Class: library consumer pin move. Go module requirements only; no Go source, no schema, no authored YAML, no workflow, no hook.
Breaking change + rollback: consumer-visible on the charly binary. The bed-session persist now writes a deploy-level member's
from:cross-reference, so a per-host bed overlay loads more entries than before: previously the template-backed entry was written sourceless, dropped on load, and the save guard refused the next write. Nothing is removed from any authored surface, meaning no YAML field, CLI flag, capability label or wire shape. Rollback: revert this commit. The four pins return tov0.2026331.837andcharly check run check-sidecar-podfails at[config]again withholds 2 deploy entr(y|ies) but only 1 load, which the pre-fix fence above pastes.Filed issues
charly service statusoutputs nothing #1303: the pinned plugin-pod never prints the capturedcharly service statustable (exit 0 plus empty stdout), non-blocking and unclaimed, with the pin advance and the bed-assertion reconciliation named as the remedy.remove --keep-deploydrops the run plan, so the nextstartrefuses with "not configured" #1305:charly remove <pod> --keep-deploydrops the generated run plan, so the nextstartrefuses with "resolve plan: not configured"; non-blocking and unclaimed, with the repro transcript as its evidence.charly updatestep at 2m21.71s, including the qualification that this run was not under roster-class load.A3 — the trailer names the model the harness reports for this session (
deepseek-v4.1-flash:cloud); the org validator's own signature readsollama-cloud/deepseek-v4.1-flash. Harness: Claude Code.Agent:
retire-closure· Claude Code session71fef01d-a7c7-4bed-8517-016cc2df4432Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)