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: Security screen (T1–T4): no finding — no secrets/exfil, no guardrail or validator-spec edits, no new deps beyond version/pin movement. (The unaccounted pin/module-path movement is reported under A1/T3 below.) Thread intake: Blocks
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Security screen (T1–T4): no finding — no secrets/exfil, no guardrail or validator-spec edits, no new deps beyond version/pin movement. (The unaccounted pin/module-path movement is reported under A1/T3 below.) Thread intake: Blocks
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: dependency-pin adoption in a plugin Go module ( Security screen (T1–T4): no finding — no secrets/env reads, no egress, no guardrail/validator-spec/branch-protection edits, no new third-party module. The go.sum module-path movement is assessed as an ordinary monorepo-split graph change inside Placement (B16): Thread intake (2 bot comments, identical body):
Blocks
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: dependency-pin adoption in a plugin Go module ( Security screen (T1–T4): no finding — no secrets/env reads, no egress, no guardrail/validator-spec/branch-protection edits, no new third-party module. The go.sum module-path movement is assessed as an ordinary monorepo-split graph change inside Placement (B16): Thread intake (2 bot comments, identical body):
Blocks
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: dependency-pin adoption in a plugin Go module ( Security screen (T1–T4): no finding — no secrets/env reads, no egress, no guardrail/validator-spec/branch-protection edits, no new third-party module, no embedded instruction aimed at the validator. The Placement (B16): Thread intake (four bot comments; the three distinct bodies re-derived against the CURRENT state):
Blocks
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: dependency-pin adoption in a plugin Go module ( Security screen (T1–T4): no finding — no secrets/env reads, no egress, no guardrail/validator-spec/branch-protection edits, no new third-party module, no embedded instruction aimed at the validator. The Placement (B16): Thread intake (four bot comments; the three distinct bodies re-derived against the CURRENT state):
Blocks
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: dependency-pin adoption in a plugin Go module ( Security screen (T1–T4): no finding — no secrets/env reads, no egress, no guardrail / validator-spec / branch-protection edits, no new third-party module, no embedded instruction aimed at the validator. The Placement (B16): Thread intake (six comments: three distinct bot bodies, each duplicated by the
Blocks
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: dependency-pin adoption in a plugin Go module ( Security screen (T1–T4): no finding — no secrets/env reads, no egress, no guardrail / validator-spec / branch-protection edits, no new third-party module, no embedded instruction aimed at the validator. The Placement (B16): Thread intake (six comments: three distinct bot bodies, each duplicated by the
Blocks
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS — no secrets/egress, no guardrail/validator-spec/branch-protection edits, no new third-party module (the Checklist: all applicable rules PASS; R8/R9/R10 and RDD-ADE-SDD are answered Thread intake (8 comments = 4 distinct bot bodies, each duplicated by the
No comment's claim reproduces as a blocking defect against the current state. Internally consistent pasted evidence (module path Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — PASSHead SHA: Security screen: PASS — no secrets/egress, no guardrail/validator-spec/branch-protection edits, no new third-party module (the Checklist: all applicable rules PASS; R8/R9/R10 and RDD-ADE-SDD are answered Thread intake (8 comments = 4 distinct bot bodies, each duplicated by the
No comment's claim reproduces as a blocking defect against the current state. Internally consistent pasted evidence (module path 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.
validator INCONCLUSIVE — no review verdict was produced (not a BLOCK; no code finding)The gate could not obtain a review verdict on this run, so it produced no code finding. This is not a BLOCK and the PR is not being rejected — but the required check stays RED on purpose: unreviewed code must never merge.
Root cause. The review plan produced no Verdict line, and this log carries NONE of the recognised signatures: no completed turn 1, no stall marker, and no HTTP rejection. The gate therefore REPORTS the class instead of inventing a cause. Durable remedy.
A run that produced no verdict keeps this required check RED: unreviewed code must never merge. Diagnostics (tail of the review log) |
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 — PASSHead SHA: Security screen: PASS — no secrets/env reads, no egress, no guardrail / validator-spec / branch-protection edits, no new third-party dep (the pin moves and the two module rehomes stay inside Placement (B16): Thread intake (11 comments = 5 distinct bot bodies +
Checklist: all applicable rules PASS or NA ( Non-blocking, for the author's convenience: the body's "the branch carries two commits" predates the final README-scoping commit (the branch now carries three — the third only tightens the README per R4a). The two change categories it names are still the two present, and the body states the org's squash-merge collapses them, so B15 is satisfied. Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — PASSHead SHA: Security screen: PASS — no secrets/env reads, no egress, no guardrail / validator-spec / branch-protection edits, no new third-party dep (the pin moves and the two module rehomes stay inside Placement (B16): Thread intake (11 comments = 5 distinct bot bodies +
Checklist: all applicable rules PASS or NA ( Non-blocking, for the author's convenience: the body's "the branch carries two commits" predates the final README-scoping commit (the branch now carries three — the third only tightens the README per R4a). The two change categories it names are still the two present, and the body states the org's squash-merge collapses them, so B15 is satisfied. Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
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 now builds forlinux/arm/v7(the static cross-build command), the platform this change enables.candy/plugin-feature/go.mod+go.sum:sdkv0.2026234.347 →v0.2026260.1434,specv0.2026232.520 →v0.2026259.2033. No source change. The branch carries two commits — the pin adoption and the README update — 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 usage banner is the command's own argument handling. 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)