Skip to content

fix(charly): reconcile the plugin-kube + plugin-kubevirt pins — check-commands-local is RED on main (charly#737) - #773

Merged
github-actions[bot] merged 1 commit into
mainfrom
fix/pin-reconcile-737
Oct 3, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
fix/pin-reconcile-737

Conversation

@aitrawog

@aitrawog aitrawog commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Summary

check-commands-local — charly's own assembled R10 bed — is RED on origin/main, for every PR that cites it, unrelated diffs included. This is the second occurrence in one day and it is not caused by any feature change.

The failing step is check-live → assertion [box-reconcile-remote-cached], which runs exactly charly box reconcile --remote --dry-run and asserts its stdout contains already reconciled — a project-hygiene assertion meaning "every repo's pins are at one version". plugin-kube published v2026.276.1350 and plugin-kubevirt v2026.276.1231 today, so seven consumer pins in charly.yml went stale and the assertion reddened.

Diagnostics in that run were otherwise clean — errors 0, warnings 0, advisories 0 — because the failure is a stdout matcher, not a severity finding. reconcile reports a pending rewrite as a successful report and exits 0 on both sides, which is precisely why the bed is red on main while the command itself "succeeds".

The precedent is exact. #761 (merged 2026-10-03T04:51:14Z) fixed this same bed, same assertion, same way — "bump the plugin-box pin to v2026.275.1127 — check-commands-local is RED on main" — and changed exactly one line of charly.yml. Its body records the property that makes this a hygiene gate rather than a test of any one change: the step "reddens for every PR that cites check-commands-local — unrelated diffs included".

The bump is the sanctioned action, not a gate workaround. /charly-internals:git-workflow states it directly: "Zero warnings is part of R10 … A version-mismatch warning clears with charly box reconcile." Bumping to the newest tag is exactly what makes reconcile --remote report already reconciled — the assertion and the fix are the same sentence.

The change

Seven lines in one file, nothing else: charly.yml ×7 — six plugin-kube refs and one plugin-kubevirt ref, each moved from v2026.275.0411 to its published successor. The complete diff, unabridged:

diff --git a/charly.yml b/charly.yml
index 42c9c3ca..47903a30 100644
--- a/charly.yml
+++ b/charly.yml
@@ -812,8 +812,8 @@ check-kubevirt-operator:
             # (the kindcluster bed add_candy's it for the same reason); plugin-kubevirt
             # serves `kubevirt:`. Neither is compiled into charly, so the bed must
             # reference them or the verb resolves "no provider registered".
-            - '@github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.275.0411'
-            - '@github.com/opencharly/plugin-kubevirt/candy/plugin-kubevirt:v2026.275.0411'
+            - '@github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.276.1350'
+            - '@github.com/opencharly/plugin-kubevirt/candy/plugin-kubevirt:v2026.276.1231'
         env:
             K3S_SERVER_HOSTNAME: 127.0.0.1
         install_opts:
@@ -3394,7 +3394,7 @@ check-kindcluster:
         disposable: true
         lifecycle: dev
         add_candy:
-            - '@github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.275.0411'
+            - '@github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.276.1350'
         description: >-
             Sole R10 witness of the externalized deploy:kindcluster substrate: a disposable local
             Kubernetes-in-Docker cluster provisioned by kind on the operator's container engine
@@ -3482,7 +3482,7 @@ check-kindcluster-docker:
         disposable: true
         lifecycle: dev
         add_candy:
-            - '@github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.275.0411'
+            - '@github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.276.1350'
         description: >-
             R10 witness of deploy:kindcluster on the DOCKER engine: a disposable local
             Kubernetes-in-Docker cluster provisioned by kind on docker, probed with the
@@ -3550,7 +3550,7 @@ check-kindcluster-nerdctl:
         disposable: true
         lifecycle: dev
         add_candy:
-            - '@github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.275.0411'
+            - '@github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.276.1350'
         description: >-
             R10 witness of deploy:kindcluster on the ROOTLESS NERDCTL engine: a disposable
             local Kubernetes-in-Docker cluster provisioned by kind on rootless nerdctl
@@ -3625,7 +3625,7 @@ check-kindcluster-workload:
         disposable: true
         lifecycle: dev
         add_candy:
-            - '@github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.275.0411'
+            - '@github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.276.1350'
         image: check-k8s-deploy-app
         description: >-
             R10 for the deploy:kindcluster WORKLOAD leg + engine-aware image loading: a
@@ -3701,7 +3701,7 @@ check-kindcluster-lock:
         disposable: true
         lifecycle: dev
         add_candy:
-            - '@github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.275.0411'
+            - '@github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.276.1350'
         description: >-
             R10 regression for charly#680: a disposable kindcluster ROOT (external-in-place)
             with a deploy-level kindcluster MEMBER. Teardown runs the root's `deploy del`,

No second tag is introduced for any repo — the one shape that would create the charly#735/#717 authored-data defect class. Verified by measurement, not by reading:

$ grep -c 'plugin-kube/candy/plugin-kube:' charly.yml
6
$ grep -o 'plugin-kube/candy/plugin-kube:v[0-9.]*' charly.yml | sort -u
plugin-kube/candy/plugin-kube:v2026.276.1350
$ grep -o 'plugin-kubevirt/candy/plugin-kubevirt:v[0-9.]*' charly.yml | sort -u
plugin-kubevirt/candy/plugin-kubevirt:v2026.276.1231

Six refs, one distinct version each. charly#737's closure-mode gap (multi-repo skew, --remote as an alignment tool, bare-vs-pinned incoherence) is a different, separately owned defect and is not touched here — see that issue's thread, where this recurrence is now recorded as its field evidence.

Scope is minimal and the lag is fully enumerated. Reconcile reports exactly seven rewrites, so no other composed plugin is behind.

Why a drift in other beds reddens this bed — measured, because it is the surprising part: the assertion is project-wide, not composition-scoped. The stale refs sit in six beds this one does not compose —

$ awk '/^[a-z][a-z0-9-]*:$/ {bed=$0} /plugin-kube\/candy\/plugin-kube/ {print NR": "bed}' charly.yml
  815: check-kubevirt-operator:
 3397: check-kindcluster:
 3485: check-kindcluster-docker:
 3553: check-kindcluster-nerdctl:
 3628: check-kindcluster-workload:
 3704: check-kindcluster-lock:
$ grep -n 'already reconciled' charly.yml
2362:            - check: charly box reconcile --remote --dry-run reports "already reconciled" on THIS project (…)
2366:                - contains: 'already reconciled'

— while exactly one bed in the whole file asserts already reconciled, and it is check-commands-local at :2362. So the step reads the whole project file, and any upstream tag anywhere reddens it. That is the structural reason #761's body describes it as reddening "for every PR that cites check-commands-local — unrelated diffs included", and why the same fix (align every pin) is the only thing that clears it.

How tested

Run on the final committed head 5966aabbb28f6d388b7cc560d902ba93c2d7a9dd, in the worktree .worktrees/readme-truth/charly-pins (branch fix/pin-reconcile-737, off origin/main = fe4b00b4), on a clean tree.

$ git rev-parse HEAD
5966aabbb28f6d388b7cc560d902ba93c2d7a9dd
$ git log --oneline origin/main..HEAD
5966aabb fix(charly): reconcile the plugin-kube + plugin-kubevirt pins — check-commands-local is RED on main (charly#737)
$ git diff --stat origin/main...HEAD
 charly.yml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
$ git status --short
$

The discriminating run (R7) — the assertion's own command, before and after, same binary

The failing step runs charly box reconcile --remote --dry-run and matches its stdout. Run here against the pristine origin/main file and against this branch, complete output both times:

### BEFORE (origin/main's charly.yml, --dry-run) ###
would rewrite 7 pin(s):
  charly.yml: @github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.275.0411 -> @github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.276.1350
  charly.yml: @github.com/opencharly/plugin-kubevirt/candy/plugin-kubevirt:v2026.275.0411 -> @github.com/opencharly/plugin-kubevirt/candy/plugin-kubevirt:v2026.276.1231
  charly.yml: @github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.275.0411 -> @github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.276.1350
  charly.yml: @github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.275.0411 -> @github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.276.1350
  charly.yml: @github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.275.0411 -> @github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.276.1350
  charly.yml: @github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.275.0411 -> @github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.276.1350
  charly.yml: @github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.275.0411 -> @github.com/opencharly/plugin-kube/candy/plugin-kube:v2026.276.1350
exit=0

### AFTER (this branch, --dry-run) ###
already reconciled — every repo's pins are at one version
exit=0

Stated honestly: the exit status is 0 on BOTH sides. reconcile reports a pending rewrite as a successful report, so it is the bed's stdout matcher — not the exit code — that discriminates. That is exactly why the step is RED on main today while the command "succeeds", and why a reading of this step that checked only the exit code would miss it.

The change is the tool's own output, applied. It was produced by the non-dry-run form of the same command (charly box reconcile --remote, rewrote 7 pin(s)), not hand-edited — so the diff cannot disagree with the assertion.

The build, and the no-op regeneration

$ GOFLAGS= bash scripts/bootstrap-charly.sh
bootstrap-charly: regenerating compiled-in plugin wiring
bootstrap-charly: building bin/charly
bootstrap-charly: built ./bin/charly (2026.276.1041)
$ ./bin/charly version
2026.276.1041
$ git status --short          # after the build — the regeneration is a NO-OP
$

The emitted plugin wiring does not move: it is generated from charly/charly.yml's compiled_plugins:, and this change touches only the root charly.yml's bed composition. The empty git status after the build is the proof.

R10 bed — the assembled disposable bed on the final committed tree

$ ./bin/charly check run check-commands-local
charly check run check-commands-local: [deploy-add] START (charly deploy add; log: .check/check-commands-local/2026.276.1404/deploy-add.log)
charly check run check-commands-local: [deploy-add] PASS after 4m46.496s [allowlisted=1] (log: .check/check-commands-local/2026.276.1404/deploy-add.log)
charly check run check-commands-local: [bring-up-members] START
charly check run check-commands-local: [bring-up-members] PASS after 2ms
charly check run check-commands-local: [check-live] START (charly check live; log: .check/check-commands-local/2026.276.1404/check-live.log)
charly check run check-commands-local: [check-live] PASS after 4m3.677s [allowlisted=1] (log: .check/check-commands-local/2026.276.1404/check-live.log)
charly check run check-commands-local: [update] START (charly update; log: .check/check-commands-local/2026.276.1404/update.log)
charly check run check-commands-local: [update] PASS after 2m18.717s [allowlisted=1] (log: .check/check-commands-local/2026.276.1404/update.log)
charly check run check-commands-local: [cleanup] START (charly remove; log: .check/check-commands-local/2026.276.1404/cleanup.log)
charly check run check-commands-local: [cleanup] PASS after 31.461s [allowlisted=1] (log: .check/check-commands-local/2026.276.1404/cleanup.log)
charly check run check-commands-local: [cleanup-members] START
charly check run check-commands-local: [cleanup-members] PASS after 0s
charly check run check-commands-local: PASS (steps=6)

Bed started 14:02:47Z, finished 14:19:49Z, exit 0. The load-bearing assertion — the one this PR exists to clear — is PASS verbatim from .check/check-commands-local/2026.276.1404/check-live.log:

  PASS  check charly box reconcile --remote --dry-run reports "already reconciled" on THIS project (every repo's pins are at one version), exercising the cached, disk-persisted gitClient().LatestTag path (candy/plugin-box#22, charly#736) — the retired raw per-process git ls-remote reintroduced the 90-94 concurrent fanout the cache exists to avoid; a stale repo would print "would rewrite", so the assertion fails if the --remote path bypasses the cache and disagrees with the resolver  [box-reconcile-remote-cached]  exit=0

The assertion's own text names the discriminator this PR flips — "a stale repo would print 'would rewrite'".

Rulebook compliance

  • Rule 1 / rule 4 (all change lands by PR in the owning repo, from a session worktree): this is the owning repo; the umbrella's tracked submodule checkout is untouched and left detached at its gitlink.
  • Rule 2 (submodule git through git -C <absolute-path>): every git operation used that form.
  • Rule 5 (pin only merged refs): plugin-kube v2026.276.1350 and plugin-kubevirt v2026.276.1231 are merged-and-tagged default-branch releases, resolved through the tool's own cached newest-tag client; no PR branch is pinned.
  • Rule 10 (read the live state before pushing): read before the push — this PR's body was written for the head being published, no PR existed on fix/pin-reconcile-737 (gh pr list --head returned []), and charly#737's thread (OPEN, assignee aitrawog) was re-read with this recurrence recorded on it.
  • R1 (root-cause every anomaly): the RCA is above — upstream tag publication, with the identical pins proven present on origin/main, and the identical failure's prior fix cited (fix(charly): bump the plugin-box pin to v2026.275.1127 — check-commands-local is RED on main (the orphaned #736 consumer leg) #761). No "pre-existing / out of scope / follow-up" framing: the recurrence is recorded on charly#737, which this PR claims.
  • R3 (one canonical implementation): the pins are changed by the existing reconcile primitive; no new alignment logic, no hand-pin, no script.
  • R4 (no workarounds): no allowlist entry, no matcher weakening, no || true, no retry, no sleep. The bed is fixed by fixing the project's actual condition.
  • R5 (delete legacy completely): nothing is left behind; one file, seven lines.
  • R6 (git safety): no force-push, no hook bypass, no direct push to main.
  • R7 (prove the gate): the assertion's own command is pasted above, before and after, on the same binary.
  • R10 (fresh proof from the final committed tree): the build and the bed were run on the committed head above, from a clean tree.
  • Rule 9 (search → file/claim ONE issue → branch): the org was searched first — no open PR did any reconcile; charly#737 already existed for this class, so it was claimed (comment + assignee) rather than duplicated, and the claim states plainly that this pin bump is the mitigation while the closure-mode primitive is that issue's own ask.

Change classification

  • Change class: a pin/composition change to the project file — no Go code, no schema, no behaviour change to any runtime path.
  • Verification gate: the assertion's own command before/after (above), bootstrap-charly.sh regeneration proven a no-op, and the assembled disposable: true bed check-commands-local (pasted above, PASS (steps=6)). The merge gate is the org-wide charly/pr-validator.
  • Attribution tier: fully tested and validated — the changed file is exercised live by the bed that this PR exists to un-red, the bed passes on the final committed tree, and the fix is proven to change the assertion's output from the failing string to the passing one on the same binary.

Agent: readme-truth · session 2a317871-ba03-4713-89ba-8edbd4059c27
Assisted-by: Claude Code 2.1.288 deepseek-v4.1-flash:cloud (fully tested and validated)

…-commands-local is RED on main (charly#737)

The bed's box-reconcile-remote-cached step asserts every repo's pins are at one
version. plugin-kube published v2026.276.1350 and plugin-kubevirt v2026.276.1231
today, so the consumer pins were stale and the bed reddened on main for every PR
that cites it — the same shape #761 fixed once for plugin-box.
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 5966aabbb28f6d388b7cc560d902ba93c2d7a9dd (branch: fix/pin-reconcile-737)

Change class: config/pin reconciliation (charly.yml, 6× plugin-kube + 1× plugin-kubevirt pin bump; no Go/schema/docs).
Security screen: PASS — no scope mismatch (diff = the 7 lines the body enumerates), no secrets/egress, no guardrail weakening (the assertion is untouched; the repo's condition is made true), pins target merged/tagged refs (rule 5), not security machinery.
Checklist: All applicable rules PASS or NA. Body↔diff internally consistent (7 changed lines ↔ +7/-7, 6+1 refs ↔ grep output, bed dir/version strings coherent); R1 real RCA with pasted before/after of the assertion's own command (would rewrite 7 pin(s) → already reconciled); R2 names charly#737; no forbidden framing; the change is the tool's own reconcile output; fresh-rebuild no-op proven; check-commands-local (disposable) ran PASS on the committed head; attribution fully tested and validated justified (the changed file's pins are read live by the assertion bed that is red before / green after). 0 comments — nothing to disposition.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) October 3, 2026 14:46
@github-actions
github-actions Bot merged commit 80bf8b9 into main Oct 3, 2026
2 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 3, 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.

2 participants