Repository navigation
feat: package the charly-lib shared plugin host + symlinks - #6
Conversation
Consume the charly-lib release (opencharly/sdk#256, packagekit hard cutover opencharly/sdk#258) instead of the per-plugin binaries: - download the charly-lib host (amd64+arm64) + the .providers manifests; - arrange the plugins dir as `charly-lib` + `plugin-<word>` symlinks -> charly-lib; - install the host + symlinks under /usr/lib/charly/plugins for the local charly; - the packaging (charly generate-packages, packagekit hard cutover) then stages the host ONCE + symlinks, dropping the per-plugin re-linked SDK/spec closure from every package. Assisted-by: opencode opencode-go/deepseek-v4.1-flash (analysed on a live system)
Review — BLOCKHead SHA: Change class: CI build/release workflow ( Security screen: finding — supply-chain. The new dependency download is unpinned (see block 4): a release-signing pipeline now pulls an artifact from the moving Blocks
Placement: Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: CI build/release workflow ( Security screen: finding — supply-chain. The new dependency download is unpinned (see block 4): a release-signing pipeline now pulls an artifact from the moving Blocks
Placement: Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
- pin the charly-lib download to an explicit tag (new charly_lib_version input, default v2026.256.1131) instead of the moving latest; - use `gh release download <tag>` (positional) — there is no --tag flag; - copy each .providers manifest to its BASENAME (plugins/<arch>/<n>.providers), not the full source path, which nested it under .charly-lib/ and, via install -D, under /usr/lib/charly/plugins/plugins/amd64/. Assisted-by: opencode opencode-go/deepseek-v4.1-flash (analysed on a live system)
Review — BLOCKHead SHA: Change class: CI release/packaging workflow ( Security screen: no surviving finding. The prior supply-chain block (unpinned Comment dispositions (thread re-derived against the CURRENT diff):
Blocks
Placement: Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: CI release/packaging workflow ( Security screen: no surviving finding. The prior supply-chain block (unpinned Comment dispositions (thread re-derived against the CURRENT diff):
Blocks
Placement: Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Change class: CI release/packaging workflow ( Comment dispositions (re-derived against the CURRENT diff + body):
Non-blocking: B15 — two non-changelog commits ( Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — PASSHead SHA: Change class: CI release/packaging workflow ( Comment dispositions (re-derived against the CURRENT diff + body):
Non-blocking: B15 — two non-changelog commits ( Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Change class: CI release/packaging workflow ( Security screen: PASS — no finding. The Checklist: All applicable rules PASS or NA. A1–A3 re-derived: body accounts for every diff hunk (new input, new download step, the local Comment dispositions (re-derived against the CURRENT diff + body):
Non-blocking: B15 — two non-changelog commits ( Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — PASSHead SHA: Change class: CI release/packaging workflow ( Security screen: PASS — no finding. The Checklist: All applicable rules PASS or NA. A1–A3 re-derived: body accounts for every diff hunk (new input, new download step, the local Comment dispositions (re-derived against the CURRENT diff + body):
Non-blocking: B15 — two non-changelog commits ( Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
Summary
Cut the
charly-archpackaging over to the shared plugin host. Instead of downloading charly'sper-plugin binaries tarball, the workflow now:
charly-librelease (hostcharly-lib-linux-{amd64,arm64}+*.providers) — newcharly_lib_versioninput, defaultv2026.256.1131;charly-lib(host) +plugin-<word>symlinks →charly-lib+ their.providersmanifests;/usr/lib/charly/pluginsfor the localcharly.charly generate-packages(packagekit hard cutover, opencharly/sdk#258) stages the host once +symlinks, so the per-plugin re-linked SDK/spec closure leaves every package. The loader contract is
unchanged (
.providersbeside an executable namedplugin-<word>).How tested
The workflow ran LIVE on this head — install-test green, Pages deployed
The Install-test step (disposable
archlinux:latestcontainers) installedcharly+ theunits/config/validate/mcp assertions, and
charly-minimal's plugin set:The published repo — measured from the live pacman db
Packages 133,874,594 B + the two stable-copy duplicates 44,625,254 B ≈ 170 MiB for the whole
repo, versus 1,136 MiB before — −85%, comfortably under the Pages 1 GB limit.
R5 sweep — the legacy per-plugin path is gone
No surviving per-plugin binary download/install site.
Rulebook compliance
image/build+git-workflowloaded.--tagnot aghflag) and an unpinned fetch — all fixed in this change.charly-plugins-linux-*.tar.gzdownload + per-plugin install are DELETED (sweep pasted).charly-archtree is clean), add-only commits, PR-only..pkg.tar.zst+ signed pacman db were built, installed, and measured on the live Pages repo.charly-librelease tag (charly_lib_versioninput, defaultv2026.256.1131); the charly binary from the pinned charly release tag.34758441357on head13cb110includes the disposable Arch install-test and the Pages deploy.Change classification
fully tested and validated— the changed path ran live end-to-end on this head, with the disposable install-test green and the emitted repo measured.Assisted-by: opencode opencode-go/deepseek-v4.1-flash (fully tested and validated)