Repository navigation
fix(deps): adopt the shared sdk/spec pins so the plugin builds for 32-bit ARM - #5
Conversation
…-bit ARM sdk/buildkit did not compile for 32-bit targets (opencharly/sdk#262: syscall.Statfs_t.Bsize is int32 on arm/386), which made this plugin unbuildable for armv7. Adopts the fixed shared pins: sdk -> v0.2026260.1434, spec -> v0.2026259.2033. Verified: go build ./... and go test ./... green, and GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=0 go build ./cmd/serve produces a static 32-bit ARM ELF.
Review — BLOCKHead SHA: Change class: code/config — Go module dependency-pin adoption ( Security screen: PASS — no secrets, no network/egress, no guardrail or rulebook edits, no obfuscation. (The go.sum module-path renames below are an accounting defect, not a security finding.) Placement (B16): Blocks
Comments considered: none — Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config — Go module dependency-pin adoption ( Security screen: PASS — no secrets, no network/egress, no guardrail or rulebook edits, no obfuscation. (The go.sum module-path renames below are an accounting defect, not a security finding.) Placement (B16): Blocks
Comments considered: none — Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: code/config — Go dependency-pin adoption, diff is exactly Security screen: PASS — no secrets, no network/egress, no guardrail/rulebook edit, no obfuscation, no new dependency identity introduced by the PR itself (it only follows the sdk/spec graph). Placement (B16): Blocks
Comments considered (re-derived against the CURRENT body/diff):
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config — Go dependency-pin adoption, diff is exactly Security screen: PASS — no secrets, no network/egress, no guardrail/rulebook edit, no obfuscation, no new dependency identity introduced by the PR itself (it only follows the sdk/spec graph). Placement (B16): Blocks
Comments considered (re-derived against the CURRENT body/diff):
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: code/config — dependency-pin adoption; diff is exactly Placement (B16): Blocks
Comments considered (each re-derived against the CURRENT body/diff):
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config — dependency-pin adoption; diff is exactly Placement (B16): Blocks
Comments considered (each re-derived against the CURRENT body/diff):
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: code/config — Go module dependency-pin adoption; diff is exactly Placement (B16): Blocks
Comments considered (re-derived against the CURRENT body/diff)
No comment is treated as authoritative in either direction; each was re-derived above. Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config — Go module dependency-pin adoption; diff is exactly Placement (B16): Blocks
Comments considered (re-derived against the CURRENT body/diff)
No comment is treated as authoritative in either direction; each was re-derived above. Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: code/config — Go dependency-pin adoption; the diff is exactly Security screen: PASS — no secrets/egress, no guardrail or rulebook edit, no obfuscation, no Placement (B16): Blocks
Comments considered (each re-derived against the CURRENT body/diff; thread is all
|
[step: review]Review — BLOCKHead SHA: Change class: code/config — Go dependency-pin adoption; the diff is exactly Security screen: PASS — no secrets/egress, no guardrail or rulebook edit, no obfuscation, no Placement (B16): Blocks
Comments considered (each re-derived against the CURRENT body/diff; thread is all
|
Review — PASSHead SHA: Change class: code/config — Go dependency-pin adoption; diff is exactly Prior-thread findings re-derived against the CURRENT body/diff and all Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — PASSHead SHA: Change class: code/config — Go dependency-pin adoption; diff is exactly Prior-thread findings re-derived against the CURRENT body/diff and all Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
The module builds for linux/arm/v7 since opencharly/sdk#263 fixed the 32-bit buildkit compile (Statfs_t.Bsize is int32 on arm). The README says so, with the static-cross-build command an appliance without a glibc toolchain needs. No code change; the pin that enables it is the preceding commit.
Review — BLOCKHead SHA: Change class: code/config (Go dependency pins in Blocks
Comments considered (thread is all
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config (Go dependency pins in Blocks
Comments considered (thread is all
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
The first revision's Platforms section told the reader to run a cross-compile with a repo-relative ./cmd/serve — a reader-facing command needing a Go toolchain and a checkout, which R4a forbids on a non-install page. It now states the property (charly host-builds the plugin statically for the host it runs on) with no command that needs more than the installed charly binary.
Review — BLOCKHead SHA: Change class: code/config (Go dep pins in Blocks
Comments considered (re-derived against the CURRENT body/diff/commits)Tool limit, disclosed:
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config (Go dep pins in Blocks
Comments considered (re-derived against the CURRENT body/diff/commits)Tool limit, disclosed:
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Change class: code/config (Go module dependency pins, Security screen: PASS — no secrets/egress/network, no guardrail, branch-protection or rulebook edits, no obfuscation, no Placement (B16): Checklist: All applicable rules PASS or NA. Re-derived body↔diff accounting is exact ( Tool-limited disposition: the Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — PASSHead SHA: Change class: code/config (Go module dependency pins, Security screen: PASS — no secrets/egress/network, no guardrail, branch-protection or rulebook edits, no obfuscation, no Placement (B16): Checklist: All applicable rules PASS or NA. Re-derived body↔diff accounting is exact ( Tool-limited disposition: the Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
The SDK's 32-bit buildkit fix (Statfs_t.Bsize) unblocks linux/386 as well as arm/v7, so the Platforms note now names both 32-bit targets the change enables. No command in the note; installing charly host-builds the plugin for the host.
Review — PASSHead SHA: Change class: code/config (Go dependency pins in Checklist: all applicable rules PASS or NA. Independently re-derived body↔diff accounting is exact and complete: additions 41 = README 11 + Comments considered (all Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — PASSHead SHA: Change class: code/config (Go dependency pins in Checklist: all applicable rules PASS or NA. Independently re-derived body↔diff accounting is exact and complete: additions 41 = README 11 + Comments considered (all Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Change class: code/config (Go dependency-pin adoption in Comments considered (all re-derived against the CURRENT body/diff; thread is
Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — PASSHead SHA: Change class: code/config (Go dependency-pin adoption in Comments considered (all re-derived against the CURRENT body/diff; thread is
Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
… serves it (#16) `pod-charly-core` is a skills-only carrier: 0 `.go`, 0 `.cue`, no candy directory, so the skill documenting `charly doctor` was edited, reviewed and tagged in a repo that contains none of it. Under `AGENTS.md` Part II #5 a skill lives with the code, plugin or config it describes — this candy declares `command:doctor` and holds the handler the skill documents. — so the body moves here byte-identically (`diff -r` exit 0, `sha256` equal at both ends). Routing only: the `skill:` node carries `name`/`family`/`owner` and no inline `description:` or `content:` — the prose is the file. `family: core` is kept unchanged so the existing `/charly-core:charly-doctor` address and every cross-reference to it still resolve; `owner:` becomes this candy, which is what makes the body readable at `<repo root>/.agents/skills/charly-doctor/SKILL.md`. `README.md` and `AGENTS.md` said the candy carries no `skill:` entity of its own and pointed at the CLOSED opencharly#291 — falsified here, corrected in both files. Nothing is deleted from `pod-charly-core` by this PR — its node removal and its retirement stay with the session that claimed the carriers (opencharly/opencharly#600), and the `marketplace` refs switchover is the leg that proves the move end to end. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed) Co-authored-by: Andreas Trawoeger <[email protected]>
Summary of changes
Adopts the fixed shared
sdk/specpins so this plugin builds for 32-bit ARM (armv7), and exercises the re-pinned plugin live.README.md: a Platforms section documenting that the module builds forlinux/amd64,linux/arm64,linux/arm/v7andlinux/386— the two 32-bit targets being what this change enables.candy/plugin-doctor/go.mod+go.sum:sdkv0.2026234.347 →v0.2026260.1434,specv0.2026232.520 →v0.2026259.2033. No source change. The branch carries four commits — the pin adoption and three README revisions (the platform note, its R4a scoping fix, and the added 386 target) — which the org's squash-merge collapses into one.go.mod— the two contract pins (sdk,spec;specis a DIRECT require in this module), plus thegolang.org/x/*bumps whose width the sdk pin carries:// indirectrequires:net,sys,term,text.go.sum— the same two contract pins, plus the full transitivex/*refresh:cryptov0.52.0→v0.54.0,modv0.35.0→v0.37.0,net,syncv0.20.0→v0.22.0,sys,term,text,toolsv0.44.0→v0.47.0.the two module-identity rehomes in
go.sum(the candy de-submodule cutover showing up in this module's graph):github.com/opencharly/charly/candy/plugin-egress→github.com/opencharly/plugin-egress/candy/plugin-egress v0.2026237.1419, andgithub.com/opencharly/charly/candy/plugin-init→github.com/opencharly/plugin-init/candy/plugin-init v0.2026237.1424— both// indirect, noreplace.Root cause:
sdk/buildkitdid not compile for 32-bit targets —syscall.Statfs_t.Bsizeisint32onarm/386butint64onamd64/arm64, sobuildkit/privileged_runner.go'sint64(st.Bavail) * st.Bsizewas a type mismatch off the 64-bit targets (opencharly/sdk#262, fixed in opencharly/sdk#263, merged tagv0.2026260.1434). Every module importingsdk/buildkit— this plugin included — therefore failed to build for armv7 until its own sdk pin moved.Closes / relates to: depends on
opencharly/sdk#263(merged), closes the armv7 gap tracked asopencharly/sdk#262. Part of the armv7 delivery foropencharly/plugin-jetkvm.Breaking change + rollback:
none— a dependency pin with no API or CLI change. Revert the merge to roll back.Change class
charly-or-sdk Go— a dependency-pin adoption in a plugin module; no source change.How tested
Before / after at THIS module's real base pin (v0.2026234.347). The armv7 cross-compile is the change's whole point, so it is shown failing on the base and succeeding on the head:
The re-pinned plugin runs LIVE through charly. From this branch's checkout,
charlyloads the plugin (host-building it from the local tree) and dispatches its command, which exits 0:The armv7 binary executes on real 32-bit ARM. The same plugin built for armv7 is copied to a Rockchip RV1106
armv7ldevice (over ssh) and executes there — it loads and runs its own code path to its natural conclusion:The report runs the full way to its Summary and exits 1 because the DEVICE lacks the dependencies a workstation has (no container engine, no script(1)); that is doctor reporting honestly about the armv7 host, not a failure of this change. The same binary on the amd64 host produced the analogous result through
charly(the exit-0 dispatch above).RCA on the exit code. The device has no
charlyhost to dispatch to, so the plugin takes its own no-host path and exits 1 with the line pasted above — its own guard or argument handling, running. That is not a crash, a signal, or anexecfailure: the armv7 ELF loads and executes, which is this PR's claim. On the amd64 host, dispatched throughcharly, the same plugin reaches exit 0 (the live-dispatch block above).This host has no armv7 binfmt (
podman run --platform linux/arm/v7 alpine uname -m→exec format error), so the device is the available armv7 execution target; it is a physical appliance, NOT adisposable: truecharly target, so the binary is only copied and executed — no charly deploy is applied and nothing is mutated on it.Change classification
go build ./...+go test ./...(full transcript) + the armv7 cross-compile (before/after at the real base pin) + the livecharlydispatch of the re-pinned plugin + execution of the armv7 binary on real armv7 hardware.fully tested and validated— the changed artifact (the plugin as built against the new pins) was exercised live throughcharlywith exit 0, and the armv7 build it enables was proven by the before/after cross-compile and by running the armv7 binary on an armv7 device.Harness rulebook compliance
R0 skills:
/charly-internals:plugin(the plugin/candy model),/charly-internals:go(module pins),/charly-internals:git-workflow.R1 RCA + zero warnings: the failure was root-caused to a 32-bit-only type-width difference in
sdk/buildkit(Statfs_t.Bsize), not a build flag; the module's build/test output is clean (no warnings on the changed package).R2 no out-of-scope: the pin adoption is the whole change. The
plugin-egress/plugin-initmodule-identity rehomes ingo.sumand thex/*moves are the adopted pin's transitive effect — all accounted for line-by-line above, none left unexplained.R3 no duplication: the module keeps using the shared contract modules; no
replace, no vendoring, no second copy.R4 no workaround: the pin moves to a released tag carrying the fix; no local patch or build-flag workaround.
R4a product-first docs: the README addition documents the armv7 support as a property of the installed
charly(its loader host-builds the plugin statically); it names no command that needs a checkout, no repo-relative path, and no companion tool. The reader installscharlyand gets the armv7 plugin.R5 hard cutover + grep: executed — the base pins are gone from the module:
R6 git safety: status inspected; no force update, no hooks bypass, no direct push to the default branch.
R7 runtime gate: the re-pinned plugin's command executed live through
charly(exit 0); its Go tests ran.R8 artifact invariants:
N/A — no generated artifact.R9 binary == source + deps:
charly versionis not asserted here because this repo ships a plugin module, not a charly release; the pins are the change, and the built plugin runs against them.N/A — no deployed charly binary in this repo.R10 disposable + coverage:
N/A — this repo ships no charly beds; its integration beds live in the monorepo (check-*-local, whose candy refs pin published tags and cannot target this branch). The coverage this PR ships is the module's own tests plus the live-dispatch proof above.RDD / ADE / SDD: RDD — the armv7 failure was found empirically by cross-compiling real hardware-targeted builds; ADE/SDD —
N/A — no candy manifest, plan: or schema:* touched(this repo carries nocharly.ymlcandy entities; the root file is a project-scope stub).Kernel/plugin boundary law: no core
charly/orsdkchange — a dependency pin in the plugin's own module.Disposable-only autonomy:
N/A — nothing was destroyed or rebuilt; the armv7 device is read-only and non-disposable.Clean architecture + Go gates:
go build ./...green,go test ./...green, no Go source changed.CHANGELOG: this repo keeps
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)