Skip to content

chore(deps): adopt sdk v0.2026305.2312 and plugin-build v0.2026305.2204 - #1101

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/sdk-v0.2026305.2312
Nov 2, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/sdk-v0.2026305.2312

Conversation

@aitrawog

@aitrawog aitrawog commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Carry opencharly/sdk#478 (squash 8656f7d, tag v0.2026305.2312) into the core binary:

  • charly/go.mod / go.sum: github.com/opencharly/sdk v0.2026297.1851 -> v0.2026305.2312, and github.com/opencharly/plugin-build/candy/plugin-build v0.2026293.926 -> v0.2026305.2204.
  • tools/generate-packages, tools/golden-cloudinit, tools/golden-compile: the lockstep sdk pin moved to the same v0.2026305.2312 (the TestContractPinsMatchShared contract; applied with charly task mods-tidy).
  • box/arch, box/fedora, box/omarchy, box/ubuntu: four leaf pins advanced to the tip their upstream:main intent names, because the pin-currency PR gate (triggered by charly/go.mod) found them behind and past this repo's 168h neglect bound (applied with charly task sync).

Why the sdk pin matters. deploykit now derives a candy's COPY source from its resolution origin, not its name: a candy declared in an imported namespace is Remote and staged under .build/_candy/<name>/ (the staged directory is named for the candy and carries no version suffix — the Containerfile lines pasted in ## How tested are the evidence), instead of the project-relative candy/<name>/ the importing project cannot have (opencharly/.github#263 item (b)).

Why the plugin-build pin matters. v0.2026305.2204 (#42) resolves an imported arch intermediate from the charly image store instead of re-pulling it from ghcr — the original blocker recorded on opencharly/.github#263. The sdk bump is a root requirement, so MVS also selects v0.2026305.2312 for the compiled-in plugin-build packages; the two pins together are what the live build below exercises.

No Go source changed. 12 files: charly/go.mod + go.sum, three tools/* lockstep pairs, four box/* gitlinks.

How tested

Gate on the committed tree (0d3efd27), using the CI toolchain where the workflow pins it:

$ go test ./charly/...
ok  	github.com/opencharly/charly/charly	466.189s
ok  	github.com/opencharly/charly/charly/internal/pluginsgen	129.288s
rc=0

$ for d in tools/*/; do ( cd "$d" && GOWORK=off go test -count=1 ./... ); done
tools/generate-packages  rc=0
tools/golden-cloudinit   rc=0
tools/golden-compile     rc=0
tools/gomod-canonical    rc=0   # TestContractPinsMatchShared
tools/ledger-validate    rc=0

$ go build ./...        # charly module
rc=0
$ go vet ./...
rc=0
$ gofmt -l charly tools
(no output)

$ GOTOOLCHAIN=go1.26.8 golangci-lint run ./...        # inside charly/
0 issues.  rc=0
$ for d in tools/*/; do ( cd "$d" && GOWORK=off GOTOOLCHAIN=go1.26.8 golangci-lint run ./... ); done
0 issues each, rc=0

go1.26.8 is the version from charly/go.mod that the workflow's actions/setup-go uses; the host's default Go 1.27.3 produces newer export data and makes the installed linter's typechecker fail on every package, so the CI toolchain is the faithful run.

R9 build and build-info:

$ bash scripts/bootstrap-charly.sh
bootstrap-charly: built ./bin/charly (2026.303.0223)
rc=0
$ ./bin/charly version
2026.303.0223
$ go version -m ./bin/charly | grep -E 'opencharly/(sdk|plugin-build)'
	dep	github.com/opencharly/plugin-build/candy/plugin-build	v0.2026305.2204	h1:oD+1xbKLkIIVmIoe4r5mTJ25a0HWokIVBGjrITBZdVg=
	dep	github.com/opencharly/sdk	v0.2026305.2312	h1:AuS/iUntrq9QwfSj5/gnTbivQqylwVYd56H5o9ZecVU=

Pin gate (pin-currency.yml, triggered by charly/go.mod):

$ ./bin/charly task mods-tidy
task mods-tidy: 2 step(s), 0 failed, 0 skipped    # every lockstep module now carries the shared pins
rc=0
$ ./bin/charly task sync
pinned 0 pin_map entr(y|ies) (none; 0 moved) after rolling 6 leaf submodule(s) to their
default-branch HEAD (4 moved) ... 4 pin(s) moved
rc=0
$ ./bin/charly task pin-currency-proof
[pass] check — the control bites on a neglected pin and stands down on a churned one
rc=0
$ python3 -I scripts/measure-pin-cadence.py --self-test
PIN-CADENCE-SELF-TEST-OK
rc=0
$ ./bin/charly task pin-current
currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s)
rc=0

Live end-to-end (opencharly/pod-crabbox PR #1 head d9b11549, unchanged; rebuilt charly):

$ grep -n 'COPY .build/_candy' .build/cachyos.cachyos/Containerfile
6:COPY .build/_candy/cachyos-os-skills/ /
9:COPY .build/_candy/cachyos-base-check/ /
$ ls .build/_candy | grep cachyos
cachyos-base-check
cachyos-os-skills

$ env CHARLY_PLUGIN_NO_PROGRESS=20m CHARLY_PLUGIN_LEAF_CAP=60m charly box build pod-crabbox
--- Building cachyos.arch.arch ---
--- cachyos.arch.arch-builder: base ghcr.io/opencharly/arch:2026.305.2333 from the charly image store ---
--- Building cachyos.arch.arch-builder ---
--- Building cachyos.cachyos ---
--- pod-crabbox: base ghcr.io/opencharly/cachyos:2026.305.2333 from the charly image store ---
--- Building pod-crabbox ---
rc=0

$ charly box list tags pod-crabbox
pod-crabbox	ghcr.io/opencharly/pod-crabbox:2026.305.2333

With default bounds the same build is killed by the already-diagnosed 90s no-progress ceiling in charly/plugin_activity.go (pid=0 for a compiled-in peer, no host reverse leg from a buildctl phase); that defect is item (c) on opencharly/.github#263 and is untouched here.

CI on this head, in parallel with the local gate:

go                pass   7m38s
pin-currency      pass   4m37s
validate / lint   pass   34s
validate / validate  fail  13s   # fails in SETUP on the runner's stale workspace-root go.work; no review verdict
validate / arm    skipping      # downstream of that setup failure

The validate / validate failure is opencharly/.github#264 (see ## Filed issues); it is not a finding on this diff.

Rulebook compliance

  • R0: git-workflow, strict-policy, and root-cause-analyzer loaded before any action.
  • R1: every gate ran zero-warning; the one stale-pin finding was fixed in this change via the owning verbs (mods-tidy, sync); the remaining 90s watchdog is tracked on pod-crabbox cannot yet build or publish its image: W5.4 image-build CI is unlanded, and two post-arch-fix build blockers remain .github#263 and explicitly not this change's to fix.
  • R2/R3: one lockstep mechanism (mods-tidy) for the tools pins, one owner (pins/sync) for the box gitlinks; no hand-pin, no sleep, no retry, no ad-hoc git or podman.
  • R4: no documented command changed.
  • R5: no legacy path retired.
  • R6: session worktree off fresh origin/main; git status stated first; nested box/* checkouts initialized only to run the workflow's own currency check; no force-push, no direct main push.
  • R7: the gate ran on the committed tree; the changed runtime path (candy staging + image-store base resolution) executed live in the pod-crabbox build, and the emitted Containerfile and image tag were read back.
  • R8: no mocked live service; the build's external boundaries (module proxy, distro registry) ran for real.
  • R9: worktree-local CalVer build via scripts/bootstrap-charly.sh; charly version and go version -m recorded above.
  • R10: the change-class gate (CI's go test ./charly/..., the tools sweep, lint, and the pin-currency gate) passed on the final tree, plus a fresh live build on the pod-crabbox target.
  • HC: one cutover — sdk + plugin-build + lockstep tools + the box pins the gate required, in one commit; no deferred in-scope work.

Change classification

chore(deps) — contract/plugin pin adoption in the core module plus the lockstep pins the repo's own gates require. No runtime source change; the change class gate is the core Go gate, the tools sweep, lint, and the pin-currency control, with the changed deploykit copy-source path proven by the live pod-crabbox build.

Filed issues

Agent: containerd-crabbox-program/sdkdown · session 8b1c01cf-7f79-4a75-bff8-240415a06208
Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)

sdk #478 (squash 8656f7d, tag v0.2026305.2312) makes deploykit's candy COPY
source origin-driven, so a candy declared in an imported namespace is marked
Remote and staged under .build/_candy/<name>.<version>/ instead of the
impossible project-relative candy/<name>/ (opencharly/.github#263 item (b)).

plugin-build v0.2026305.2204 (#42) is the release that resolves an imported
`arch` intermediate from the charly image store instead of re-pulling it from
ghcr — the first blocker on .github#263. The sdk bump is a root requirement,
so MVS also selects it for the compiled-in plugin-build packages; the
plugin-build pin advance brings the image-store base resolution.

The pin-currency PR gate fires on charly/go.mod, so this change also aligns
the tools/* lockstep modules with `charly task mods-tidy` and advances the
four behind/STALE box/* leaf pins with `charly task sync`.

Gate (the repo's .github/workflows/ci.yml and pin-currency.yml):
- go test ./charly/...                      rc=0 (466.189s)
- tools/* GOWORK=off sweep                  rc=0 (gomod-canonical shared-pin contract)
- go build ./... (charly module)            rc=0
- go vet ./...                              rc=0
- gofmt -l charly tools                     empty
- golangci-lint (go1.26.8, CI toolchain)    rc=0, 0 issues (charly + every tools module)
- scripts/bootstrap-charly.sh               rc=0; ./bin/charly version = 2026.303.0223
- charly task mods-tidy                     rc=0
- charly task sync                           rc=0 (4 box/* leaf pins advanced)
- charly task pin-currency-proof            rc=0
- measure-pin-cadence.py --self-test        rc=0 (PIN-CADENCE-SELF-TEST-OK)
- charly task pin-current                   rc=0 (0 of 6 NOT current; 6 cur)

Live: pod-crabbox PR #1 head d9b11549 built end to end with the rebuilt
charly under CHARLY_PLUGIN_NO_PROGRESS=20m CHARLY_PLUGIN_LEAF_CAP=60m. The
generated Containerfile emits COPY .build/_candy/cachyos-os-skills/ and
COPY .build/_candy/cachyos-base-check/, and the image
ghcr.io/opencharly/pod-crabbox:2026.305.2333 was produced (rc=0). The default
bounds still hit the separately-diagnosed 90s no-progress ceiling in
charly/plugin_activity.go (opencharly/.github#263 item (c)).

Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)
@aitrawog

aitrawog commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

STATUS — the required validate / validate run on head 0d3efd27 failed in setup, before the review engine. This is not a finding about the diff, and no code change is pushed for it.

RCA (R1)

  • Expected: the validator's withdrawn-identifier step runs the pinned contract's sweep with the Go toolchain its contract/go.mod names (1.26.0).
  • Actual: go: ../go.work requires go >= 1.26.8 (running go 1.26.0; GOTOOLCHAIN=local); exit 1 after 13 s. Manifest records REVIEW_OUTCOME: skipped; no verdict was produced.
  • Mechanism: the sweep's go run executes from the fetched contract/ directory and walks up to the self-hosted runner's workspace root, where a stale go.work (residue from an earlier job in the same workspace) declares go 1.26.8. The job's toolchain is 1.26.0 with GOTOOLCHAIN=local, so resolution fails before any review.
  • Missed control (author side): the pre-push gate ran this repo's own ci.yml and pin-currency.yml on a clean worktree, which has no enclosing go.work; that failure mode is only reproducible on the shared runner workspace. It is also not a diff-derivable finding, so no self-audit class could catch it.
  • Blast radius: org-wide for any PR whose validate / validate reaches this step on an affected runner. Same failure, same line, already measured on opencharly/charly#1099 (job 124990877965) and #1100 (job 124997169458) and tracked as The required validator's withdrawn-identifier sweep reads a stale workspace-root go.work: 'requires go >= 1.26.8 (running go 1.26.0)' fails PRs whose diff is green .github#264. The same sdk bump in opencharly/plugin-build#45 passed validate / validate (1m22s) because that repo has no enclosing go.work — the control that separates the cause from this diff.
  • Root fix (owned by opencharly/.github): clean $GITHUB_WORKSPACE per job, or run the contract's sweep with GOWORK=off / GOTOOLCHAIN=auto, so an enclosing workspace cannot influence a run whose modules are pinned by the contract itself. Fix options are on chore(settings): drop the PreToolUse Bash hooks + docs(internals): sandboxed-/tmp env constraints #264.

Disposition

Agent: containerd-crabbox-program/sdkdown · session 8b1c01cf-7f79-4a75-bff8-240415a06208
Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 0d3efd272487a18f5ebbb7366a4314889e1df518 (branch: feat/sdk-v0.2026305.2312)

Change class: chore(deps) — sdk/plugin-build pin bumps, three lockstep tool pins, four box gitlink advances; no Go source changed in this repo.

Blocks

  1. A1 / R1 — the body contradicts its own pasted evidence (staging path). The body states that an imported-namespace candy "is Remote and staged under .build/_candy/<name>.<version>/". The live output the body pastes to prove exactly this shows the opposite:

    • $ ls .build/_candy | grep cachyos → cachyos-base-check, cachyos-os-skills
    • Containerfile: COPY .build/_candy/cachyos-os-skills/ / and COPY .build/_candy/cachyos-base-check/ /

    That is .build/_candy/<name>/ with no .version suffix. The body misdescribes the mechanism it is adopting. Fix the body to match the evidence (.build/_candy/<name>/), or state the rule under which the version suffix is dropped for these candies — otherwise the "Why the sdk pin matters" paragraph is a body-vs-evidence divergence (R1 incident).

  2. R1 / CONC(b) — a parked defect is not listed under ## Filed issues. The body repeatedly parks the 90s no-progress watchdog kill (charly/plugin_activity.go, "explicitly not this change's to fix", "untouched here") on opencharly/.github#263, but ## Filed issues lists only #264. A non-blocking finding surfaced by this PR's own live gate must be listed under ## Filed issues; add opencharly/.github#263 with a one-line description.

Comment disposition: @aitrawog's STATUS comment (6565806989) — coordination metadata; its RCA of the validate / validate setup failure is consistent with the body and is tracked as .github#264, so it is verified-non-blocking (a red CI check is not a diff defect, per ground rule 5).

Verdict: BLOCK


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

View action run

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 0d3efd272487a18f5ebbb7366a4314889e1df518 (branch: feat/sdk-v0.2026305.2312)

Security screen: PASS — pure go.mod/go.sum pin bumps + box/* gitlink advances; no Go source, no secrets, no new deps beyond the intended sdk/plugin-build versions, no workflow/guardrail edits, no injected directives.

Checklist: All applicable rules PASS or NA. Diff is internally consistent with the body: 12 files = charly/go.mod+go.sum + 3 tools/* lockstep pairs + 4 box/* gitlinks; the sdk/plugin-build go.sum hashes match the go version -m output; the go test ./charly/... timing (~466s) reconciles with the CI go job (7m38s); the staged-path claim (.build/_candy/<name>/, no version suffix) now matches the pasted ls/Containerfile evidence. R1 satisfied: the watchdog and the validator setup failure are both surfaced, RCA'd, and listed under ## Filed issues (#263, #264). A red validate / validate is a setup failure tracked in .github#264, not a diff defect (ground rule 5).

Comments considered:

  • 6565806989 (@aitrawog STATUS) — coordination metadata; its .github#264 RCA is consistent with the body and filed; verified-non-blocking.
  • 6567256394 (@github-actions[bot] BLOCK) — both findings are stale-superseded against the current body: (1) the staging-path text now reads .build/_candy/<name>/ with "no version suffix", matching the pasted evidence; (2) ## Filed issues now lists opencharly/.github#263 alongside #264. Nothing survives.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) November 2, 2026 02:05
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 56de55746a81969c39b22922c147df11cfe1bae5 (branch: feat/sdk-v0.2026305.2312)

Security screen: PASS — go.mod/go.sum pin bumps + box/* gitlink advances only; no source, secrets, new endpoints, workflow/guardrail edits, or embedded directives. 12-file accounting matches the diff exactly.

Checklist: All applicable rules PASS or NA (deps/config class; no Go source, no CUE/schema, no candy manifests, no docs/commands, no runtime OS deps). sdk/plugin-build go.sum hashes reconcile with the pasted go version -m; the staged-path prose (.build/_candy/<name>/, no version suffix) matches the pasted ls/Containerfile; 4 moved of 6 leaves matches the four changed gitlinks; #263 (watchdog + registry-403 residual) and #264 (validator setup failure) are both listed under ## Filed issues.

Comments considered:

  • 6565806989 (@aitrawog STATUS) — coordination metadata; its setup-failure RCA is consistent with the body and filed as .github#264; verified-non-blocking.
  • 6567256394 (@github-actions[bot] BLOCK) — both findings stale-superseded: body now states .build/_candy/<name>/ with "no version suffix", and ## Filed issues now lists opencharly/.github#263.
  • 6567326073 (@github-actions[bot] PASS) — stale-superseded on head SHA (written against 0d3efd27; current head is the main merge 56de5574); its substantive verification still reproduces against the current body.

Non-blocking note: evidence is pasted for the change commit 0d3efd27, and the current head is a main merge — the diff vs main is unchanged by it, so no re-derivation gap survives.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot merged commit 12b376c into main Nov 2, 2026
5 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Nov 2, 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