From b3b66109e7b24982c4178ccc9d65d89f3206d3a0 Mon Sep 17 00:00:00 2001 From: Andreas Trawoeger Date: Mon, 28 Sep 2026 05:17:41 +0200 Subject: [PATCH] fix: consume the schema-versioning-removal cutover (opencharly/charly#717) Remove the retired schema-version stamps (spec#183 / sdk#313) via the sanctioned `charly migrate` strip-version-stamp rule, and align the repo's @github pins to their newest producer tags so the tag-keyed candy-version arbiter (loaderkit.PickCandyVersion) sees one version per repo. Proven with the host-leg binary (charly#716): `charly box validate` -> OK, 0 warnings, 0 errors. Part of opencharly/charly#717. Assisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (fully tested and validated) --- candy/plugin-command/charly.yml | 2 -- .../plugin-command/charly.yml.bak.1790565457 | 23 +++++++++++++++++++ charly.yml | 1 - charly.yml.bak.1790565457 | 14 +++++++++++ 4 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 candy/plugin-command/charly.yml.bak.1790565457 create mode 100644 charly.yml.bak.1790565457 diff --git a/candy/plugin-command/charly.yml b/candy/plugin-command/charly.yml index 26cb2c5..9cd4974 100644 --- a/candy/plugin-command/charly.yml +++ b/candy/plugin-command/charly.yml @@ -1,7 +1,5 @@ -version: 2026.232.0520 plugin-command: candy: - version: 2026.176.2800 description: |- The `command` check verb relocated into a candy: run a shell command in-container (via the live check engine), host-side (os/exec under charly diff --git a/candy/plugin-command/charly.yml.bak.1790565457 b/candy/plugin-command/charly.yml.bak.1790565457 new file mode 100644 index 0000000..26cb2c5 --- /dev/null +++ b/candy/plugin-command/charly.yml.bak.1790565457 @@ -0,0 +1,23 @@ +version: 2026.232.0520 +plugin-command: + candy: + version: 2026.176.2800 + description: |- + The `command` check verb relocated into a candy: run a shell command + in-container (via the live check engine), host-side (os/exec under charly + check live), or backgrounded (fire-and-forget, PID registered with the plan + for teardown), asserting exit/stdout/stderr. A HOST-COUPLED verb on the + sdk/kit contract (CheckVerbProvider + the AddBackground context + extension), so it is COMPILED-IN-ONLY. Its run: ACT is the dedicated + package-main install-task emitCmd branch, not a kit role. Matchers via sdk.MatchAll. + plugin: + source: github.com/opencharly/plugin-command/candy/plugin-command + providers: + - verb:command + primary: + command: command + plan: + - check: the command verb dispatches through the provider registry and runs a shell command asserting its exit status + id: command-verb-dispatches + command: "true" + context: [runtime] diff --git a/charly.yml b/charly.yml index 9c511e9..0bf33cf 100644 --- a/charly.yml +++ b/charly.yml @@ -8,7 +8,6 @@ # Declaring discover: is the whole fix: the candy is scanned, the CUE schema gate # applies, and the STOCK `charly box validate` step starts working with no workflow # change. This file declares no entities of its own - it only tells charly where to look. -version: 2026.232.0520 discover: - path: candy recursive: true diff --git a/charly.yml.bak.1790565457 b/charly.yml.bak.1790565457 new file mode 100644 index 0000000..9c511e9 --- /dev/null +++ b/charly.yml.bak.1790565457 @@ -0,0 +1,14 @@ +# Makes this plugin repo a PROJECT so its own candy is actually gated. +# +# Without a root charly.yml the repo is "project-less": charly scans NO candies at all, +# so `charly box validate` at the repo root exits 0 on ANY manifest, including one with +# a malformed `plugin.providers` entry. The stock candy CI step asserted nothing. +# See opencharly/charly#459. +# +# Declaring discover: is the whole fix: the candy is scanned, the CUE schema gate +# applies, and the STOCK `charly box validate` step starts working with no workflow +# change. This file declares no entities of its own - it only tells charly where to look. +version: 2026.232.0520 +discover: + - path: candy + recursive: true