Repository navigation
Conversation
sdk v0.2026260.1434 changed `vmshared.VmDiskDir` to return `(string, error)`, so charly's pinned `[email protected]` no longer compiles: it calls the function in a single-value context, which now fails with vm_clone.go:261:28: multiple-value vmDiskDir(vmName) (value of type (string, error)) in single-value context vm_create_orchestrate.go:78:29: ... (and 3 more) This surfaces whenever charly is built against the newer sdk — it was found by the armv7 build spike for opencharly/plugin-jetkvm, which required the sdk bump for an unrelated reason (`buildkit` did not compile for 32-bit ARM; fixed in opencharly/sdk#263). Fix: bump `plugin-vm` to v0.2026260.1314, which is built against the new signature. That bump is what pulls the rest of the transitive refresh (sdk v0.2026260.1434, spec v0.2026259.2033, golang.org/x/*), so the pins move together and resolve cleanly. Verified: - native `go build ./...` and `go test ./...` green - armv7 static build succeeds: GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=0 -> 32-bit ARM EABI5 static ELF, and it runs on a Rockchip RV1106 JetKVM (`charly version` exit 0 at ~173 MB peak RSS) - R10: `charly check run check-charly-vm` PASS (steps=10) on charly 2026.258.0220, including the fresh-rebuild leg and `charly vm destroy` teardown
Review — BLOCKHead SHA: Change class: cross-repo dependency-pin bump ( Blocks
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: cross-repo dependency-pin bump ( Blocks
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: cross-repo dependency-pin bump — Blocks
Comments considered
Everything else is compliant: A1 (all sections answered, body ends with the Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: cross-repo dependency-pin bump — Blocks
Comments considered
Everything else is compliant: A1 (all sections answered, body ends with the Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Change class: cross-repo dependency-pin bump — Comments considered: four prior Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — PASSHead SHA: Change class: cross-repo dependency-pin bump — Comments considered: four prior Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
…them
The shared-pin bump in this PR surfaced two real defects (R1/R2), both fixed
here.
1. The `tools/*` modules were left on the old shared pins. The canonical-go.mod
gate (`tools/gomod-canonical/TestContractPinsMatchShared`) requires every
in-repo module that carries an sdk/spec require to match charly/go.mod's
pins, and it was failing:
tools/generate-packages/go.mod: requires sdk v0.2026241.1032, but the
shared sdk pin is v0.2026260.1434 — run `task mods:tidy`
NOTE: this gate ALREADY failed on origin/main (measured in a detached
worktree: the stale sdk was v0.2026255.1708 there, same three modules). It is
outside charly's CI, which runs `go test ./charly/...` only, so the drift sat
unnoticed until this PR's wider build surfaced it. Fixed here: the three
modules now carry the shared pins.
2. `task mods:tidy` — the remedy the gate itself names — could not perform the
fix. It ran a bare `go mod tidy` per module, and tidy never RAISES an
already-satisfied require to a newer version: it only adds or removes
requires to satisfy imports. So the task reported success ("tidied 3
modules") while the gate kept failing with "run task mods:tidy" — a remedy
that pointed at a task which could not remedy anything. That is a
documentation-vs-reality divergence (R1), fixed at the task: it now reads the
shared pins from `charly/go.mod` (the same anchor the gate uses) and pushes
them into each lockstep module with `go mod edit` before tidying.
Verified from a deliberately reverted (stale) state: the fixed task reads
`sdk=v0.2026260.1434 spec=v0.2026259.2033` from core, aligns all three tools
modules, and the gate passes; a second run is idempotent; every tools module
builds and its tests pass; charly's own suite is green.
Review — BLOCKHead SHA: Change class: cross-repo pin alignment + in-repo tooling — Blocks
Comments considered
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: cross-repo pin alignment + in-repo tooling — Blocks
Comments considered
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: cross-repo dependency-pin refresh + repo-tooling fix — 9 files ( Blocks
Comments considered
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: cross-repo dependency-pin refresh + repo-tooling fix — 9 files ( Blocks
Comments considered
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: cross-repo dependency-pin alignment + in-repo tooling — Blocks
Comments considered
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: cross-repo dependency-pin alignment + in-repo tooling — Blocks
Comments considered
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Summary of changes
Adopts the shared
sdk/specpins across every in-repo module that carries them, so charly builds against the current sdk — and fixes the tooling that was supposed to keep those pins aligned.charly/go.mod+charly/go.sum:plugin-vmv0.2026253.1802→v0.2026260.1314, carrying the transitive refresh (sdk→v0.2026260.1434,spec→v0.2026259.2033,golang.org/x/*).tools/generate-packages,tools/golden-cloudinit,tools/golden-compile: adopt the same shared pins, which the canonical-go.mod gate requires.taskfiles/Modules.yml:task mods:tidy— the remedy that gate names — ran a barego mod tidyper module; tidy never RAISES an already-satisfied require to a newer version, so the task reported success while the gate kept failing with "run task mods:tidy". It now reads the shared pins fromcharly/go.mod(the gate's own anchor) and pushes them withgo mod editbefore tidying.Root cause:
sdk v0.2026260.1434changedvmshared.VmDiskDirto return(string, error), so the pinned[email protected]no longer compiles:This surfaced while cross-compiling charly for armv7 (
opencharly/plugin-jetkvmneeded the sdk bump for an unrelated reason:sdk/buildkitdid not compile for 32-bit ARM, fixed inopencharly/sdk#263).Two pre-existing defects this surfaced and fixes (R1/R2):
tools/*shared-pin drift: the canonical-go.mod gate already failed onorigin/main(measured in a detached worktree — stale sdkv0.2026255.1708, the same three modules). It sits outside charly's CI (go test ./charly/...only), so it went unnoticed.task mods:tidycould not perform the alignment the gate told you to run — a doc-vs-reality divergence, fixed at the task.Closes / relates to: depends on
opencharly/sdk#263(merged, tagv0.2026260.1434).Breaking change + rollback:
none— dependency pins plus a dev taskfile; no API or CLI change, no Go source changed. Revert the single commit to roll back.Change class
cross-repo— acharlydependency-pin refresh following an sdk change (producersdk#263merged first), with the repo's own pin-sweep tooling fixed so it can actually perform the adoption.How R10-tested — exact gate, commands, and pasted output
The gate for this change class: the change moves the
plugin-vmdependency, so the applicable bed is a VM bed —charly check run check-charly-vm— plus the shared-pin gatetools/gomod-canonical/TestContractPinsMatchShared, the Go gates, and the armv7 cross-build that motivated it.Eval bed run — the EXACT bed, on the committed head
7023aade, from a binary rebuilt at that commit (charly version2026.260.1642, the head's CalVer):check-charly-vmRun calver
.check/check-charly-vm/2026.260.1643/;ok: true; step durations17+26+228+0+51+313+0+40+27+0 = 702, matchingtotal_seconds: 702exactly. All ten steps reportwarnings: 0(see the warning note).Fresh rebuild: the bed's
[update]step (313s) rebuilds the VM deploy from the committed config and[check-live-rebuild](40s) re-probes it — both PASS, the R10 acceptance gate for a VM-path change.Did the CHANGED code path execute live? Yes — a real guest boots through the bumped
plugin-vm:Did the CHANGED tooling execute live? Yes — the shared-pin gate and its named remedy, run from a deliberately reconstructed stale state:
Concurrency (shared-state changes only):
N/A— a dependency pin; the bed is a single disposable VM.Evidence — put each item in the block whose label names it.
1. Fresh-rebuild gate output:
2. Each changed code path executing — the armv7 cross-build the bump enables (built at head, run on the device), and the pin-gate + tooling proof pasted above:
3. Docs-only evidence:
N/A — not a docs-only change.Attribution tier
fully tested and validated— the changed dependency executed live in a real VM bed on the committed head (including the fresh-rebuild leg and teardown), the changed tooling was exercised from a reconstructed failure state to a passing gate with a byte-identical result, the Go gates are green, and the cross-build it fixes runs on the target device.Harness rulebook compliance
/charly-internals:vm-deploy-target,/charly-check:check(+beds-and-r10.md),/charly-internals:go,/charly-internals:git-workflow.sdk.VmDiskDir), not a build flag; the pin drift and the task's inability to remedy it were each root-caused and fixed at their sources. Every bed step reportswarnings: 0; the only findings are the harness's documented allowlist entries (dev-worktree-binary-notice,pacman-pacnew-config-notice,pacman-needed-package-already-current), whosewhy:text is recorded insummary.yml.tools/*drift, the ineffectivemods:tidy) are fixed in this cutover, and the sweep is exercised rather than assumed.charly/go.mod— the same anchor the canonical-go.mod gate uses — instead of a second hardcoded list.replace, no local patch, no manual edit outside the tool; the pin moves to a released tag and the tool is repaired so the documented remedy works.origin/main; status checked; the branch is unmerged and was refreshed by delete-and-push (never a force update); no hooks bypass, no direct push to the default branch.N/A — no generated artifact.charly version2026.260.1642, the CalVer of the head commit7023aade, from a binary rebuilt at that commit in the same worktree; no new OS dependency is introduced by the bump.disposable: trueon the vm substrate; the deploy and the fresh-rebuild probe both passed on the committed head.charly/code change and nosdkchange — dependency pins plus a dev taskfile.disposable: trueVM bed was created and destroyed.go build ./...andgo test ./...green; no Go source changed.CHANGELOG/; the tag-on-merge workflow generates the entry from this body.Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)