Skip to content

chore(deps): bump spec to v0.2026320.2116, the release that makes vm fields optional - #88

Merged
github-actions[bot] merged 1 commit into
mainfrom
chore/spec-vm-defaults-bump
Nov 16, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
chore/spec-vm-defaults-bump

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

Bumps github.com/opencharly/spec from v0.2026320.857 to v0.2026320.2116, the release carrying
opencharly/spec#342 — which makes #ResolvedVm.backend and #ResolvedVm.autostart optional and
therefore fixes the org-wide failure of charly vm create:

charly: error: command "vm": applying vm defaults for "<entity>":
  applyCueDefaults vm: decode: autostart: cannot convert non-concrete value bool

Head 693382f, 2 files, 3 insertions(+), 15 deletions(−) — candy/plugin-box/go.mod and go.sum,
nothing else.

No source change is needed here, and that is verified rather than assumed. With only the pin moved,
go build ./..., go vet ./... and go test ./... all pass. This module's code already compiles against
the new spec API; it was simply pinned behind it.

Why this repo, and why it goes first

Bumping charly straight to the new spec does not work. Measured:

$ # charly: spec only
… opencharly/[email protected]/deploykit/resolved_project.go:123:40:
  cannot use spec.CandyAlias(a) (value of struct type spec.CandyAlias) as byte value

$ # charly: spec + [email protected]
… [email protected]/inspect_list.go:228:29: a.Name undefined (type by…)

So the order is spec → plugin-box → charly, and the middle link is this PR. And the wave is small
rather than an org-wide sweep: enumerating the failing modules in charly's build graph yields exactly
one —

$ go build ./... 2>&1 | grep -oE 'opencharly/[a-z0-9-]+/candy/[a-z0-9-]+@v[0-9.]+' | sed 's#@.*##' | sort -u
opencharly/plugin-box/candy/plugin-box

charly's consumer commit follows once this is tagged.

How tested

The repo's own gate is its module suite; there is no disposable: true target in this repo, and its
AGENTS.md says the merge gate is the org-wide charly/pr-validator.

$ GOWORK=off go build ./...    # ok
$ GOWORK=off go vet ./...      # ok
$ GOWORK=off go test ./...     # ok (no failures)
$ go mod tidy                  # no further change

Cross-repo proof, from the two attempts above: the SAME charly tree fails at this module's pinned
version and passes at main, which is why a release is required rather than a charly-side override.

Coverage limit, stated plainly: the end-to-end proof — a real charly vm create succeeding — needs
this tag and the charly consumer bump that follows it. This PR does not claim it.

Rulebook compliance

  • R0 — this repo's AGENTS.md read before the edit.
  • R1 — zero warnings; build, vet and tests green. The anomaly being fixed was root-caused upstream to
    a specific function (ApplyCueDefaults decoding a required field the struct omitted) and fixed there,
    not worked around here.
  • R2 — no duplication: this takes the pin, not a local copy of the schema.
  • R3 — no workaround: no replace directive, no vendored schema, no consumer-side patch.
  • R4 — no documented command changes.
  • R5 — nothing retired by this change.
  • R6 — fresh session worktree off fresh origin/main; no direct push, no force-push.
  • R7 — the claim can fail: at the old pin, charly fails to compile downstream; at the new one it does
    not. Both directions were observed.
  • R8 — no live service boundary in this change.
  • R9 — the module was built and tested from this worktree, not a shared install.
  • R10 — a dependency pin's gate is the module suite, run above on this exact tree. The VM proof belongs
    to the consumer commit and is stated as not-yet-claimed.

Filed issues

Change classification

Dependency pin only — go.mod + go.sum, no source.

Breaking change + rollback: none for this repo's own consumers — the pin moves forward to a release
that only RELAXES a constraint, and no exported API of this module changes. Rollback is a revert of this
commit; the module returns to v0.2026320.857 and charly's downstream bump would have to wait.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

…fields optional

Mechanical pin bump, and the first link of a two-repo chain. spec v0.2026320.2116 carries
opencharly/spec#342, which makes `#ResolvedVm.backend` and `#ResolvedVm.autostart` optional - the fix for
the org-wide failure of `charly vm create`:

  applyCueDefaults vm: decode: autostart: cannot convert non-concrete value bool

NO SOURCE CHANGE IS NEEDED HERE, and that is verified rather than assumed: with only the pin moved,
`go build ./...`, `go vet ./...` and `go test ./...` all pass. This module's code already compiles against
the new spec API; it was simply pinned behind it.

WHY THIS REPO AND NOT `charly` DIRECTLY. Bumping `charly` to the new spec without re-releasing this repo
fails at compile time:

  [email protected]/inspect_list.go:228:29: a.Name undefined

This module pinned by `charly` was built against the OLD spec, so the chain is
spec -> plugin-box -> charly. Measured: this is the ONLY plugin in charly's build graph that fails, so the
wave is two PRs, not an org-wide sweep.

R9: the binary under test was built from this worktree, not a shared install.
R10: this change class is a dependency pin in a plugin repo whose gate is its own module suite; there is no
`disposable: true` target in this repo, and the live proof (a real `charly vm create`) belongs to the
consumer commit that follows.

Refs opencharly/spec#341, opencharly/spec#342.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 693382fd67226055e23f59823cb26654e9dcc825 (branch: chore/spec-vm-defaults-bump)

Change class: dependency pin only (candy/plugin-box/go.mod + go.sum; +3/−15, matches the body's stated counts).
Security screen: PASS — no secrets, network calls, guardrail changes, or unexpected supply-chain targets; the only change is a forward pin to the stated spec release.
Comment thread: 0 comments — nothing to disposition.

Checklist: All applicable rules PASS or NA. A1 body is complete and template-faithful with a correct Assisted-by: footer; A2/A3 match a dep-bump gate (module suite, e2e honestly deferred to the consumer commit, not inflated); R1 upstream defect RCA'd and fixed at source with no forbidden framing; R2–R10, PIL, CONC, HC, ARCH, DISP, QUAL, COORD either satisfied or correctly NA for a pin-only change (no new code, no candies, no generated files, no runtime path in this repo). Diff is internally consistent with the body (old spec v0.2026320.857 removed / v0.2026320.2116 added; stale go.sum hashes tidied). Tool-limited: build/vet/test and the cross-repo build output were cross-checked for internal consistency only (read-only); no contradiction found.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) November 16, 2026 21:24
@github-actions
github-actions Bot merged commit 780bd5a into main Nov 16, 2026
3 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Nov 16, 2026
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