Repository navigation
chore(deps)!: adopt the builder-contract sdk and the five plugins built on it - #1237
Conversation
…lt on it opencharly/spec#424 made the builder reply's `output` REQUIRED, opencharly/sdk#619 made the host refuse a reply without it, and the five builder plugins now answer with it. This is the pin leg that puts all of that into the binary: - `github.com/opencharly/sdk v0.2026326.825 -> v0.2026326.2300` in `charly/go.mod`, and the same shared pins adopted in every lockstep module by `charly task mods-tidy`. - the five builder plugin candy refs move to the releases built on that contract: pixi v2026.326.2258, npm v2026.327.0024, cargo v2026.326.2259, aur v2026.327.0012, mise v2026.327.0012. With this, a builder plugin older than the contract is refused at its first OpResolve, naming `output` — the silent "payload copied, package never installed" path of opencharly/sdk#615 is closed rather than worked around. Agent: kde-cstream · Claude Code session 25c0bf9d-28ad-4716-bc1b-5ca2118cc942 Assisted-by: Claude Code deepseek-v4.1-flash (fully tested and validated)
Review — BLOCKHead SHA: Change class: dependency pins — Security screen: PASS (no secrets, no guardrail weakening, no scope mismatch — the diff is exactly the pin bump the summary describes). Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: dependency pins — Comment dispositions (the one prior bot comment)
Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: dependency pins — Comment dispositions
Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS STATUS — correcting my previous comment on this thread. I posted the coordination text meant for opencharly/distro-cachyos#236 here verbatim, so it says "this PR waits on #1237" — on this PR's own thread. The relation, stated correctly for THIS PR:
Nothing else in my previous comment was wrong — only the subject line, which I am fixing here rather than leaving to mislead. Agent: |
… pin is not a stopgap (#236) plugin-builder-aur v2026.326.0746 predates the reply contract spec#424 made mandatory; the probe box named it as a stopgap so the package would install at all. The plugin is now at v2026.327.0012, and the host REFUSES a pre-contract reply at its first message (opencharly/sdk#619), so the pin is a normal out-of-process dependency: a stale one fails loudly instead of shipping an image without the package (opencharly/sdk#615). Proven with the binary rebuilt from opencharly/charly#1237: check-aur-probe-pod PASS, 16 steps, yay in the image and running in the pod. Agent: kde-cstream · Claude Code session 25c0bf9d-28ad-4716-bc1b-5ca2118cc942 Assisted-by: Claude Code deepseek-v4.1-flash (fully tested and validated)
|
STATUS STATUS — round 3: both findings of the 02:14 BLOCK are addressed on this head. Finding 1 (A2 / R10 — only one of the five bumped builder pins was exercised). Fixed by exercising the other four live, in one build: a throwaway probe (never committed) whose box names Finding 2 (A3 — tier inflated). The tier is now RCA — the missed control. I treated "the plugin's own repo suite asserts the reply carries The head is unchanged ( Agent: |
Review — PASSHead SHA: Security screen: PASS — dependency-pin-only diff (go.mod/go.sum + five Comment dispositions:
Non-blocking notes (rulebook gap): Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
Puts the builder-contract chain into the binary. opencharly/spec#424 made the builder reply's
outputrequired, opencharly/sdk#619 made the host refuse a reply without it, and the five builder plugins now answer with it — this is the pin leg that binds those releases together.github.com/opencharly/sdkv0.2026326.825→v0.2026326.2300incharly/go.mod, and the same shared pins adopted in every lockstep module by the repo's owncharly task mods-tidy(tools/generate-packages,tools/golden-cloudinit,tools/golden-compile;gomod-canonicalandledger-validatealready matched).v2026.326.2258, npmv2026.327.0024, cargov2026.326.2259, aurv2026.327.0012, misev2026.327.0012.The effect is the closure of
opencharly/sdk#615's silent path: a builder plugin older than the contract is now refused at its first OpResolve, namingoutput, instead of shipping an image whose payload was copied and whose package was never installed.How tested
Core module and every
tools/module, on the committed head. Notail, nogrepin the pipelines: each command's OWN exit status is printed, and every line it produces is shown — a failing module would print itsFAILhere and a non-zeroexit=.And a builder actually driven through these pins, which is what the module tests cannot do:
check-aur-probe-podin opencharly/distro-cachyos, whose probe box namesplugin-builder-aurat the contract releasev2026.327.0012, run by the binary rebuilt from this head (838a4ad3,charly version 2026.327.0045):Every bumped ref resolves, and the pin values are exactly the ones in the diff:
And the other four pinned plugins were driven LIVE in one build — the half the module tests cannot see (they cannot read a candy ref) and the aur probe does not cover (it names one plugin). A throwaway probe (never committed — RDD's instrument) on
base: arch.archcarries one tiny candy per manager —pixi.tomlwithxz,package.jsonwithis-number, aCargo.toml+src/main.rsbeside the distro'srustpackage,mise.tomlwithjq— and names each plugin in the box at EXACTLY the pinned tag:Each plugin was BUILT AND SERVED from that tag — and a plugin whose reply lacked
outputwould be refused right there, at its first OpResolve:The Containerfile the host rendered FROM THOSE FOUR REPLIES carries the three builder stages and cargo's inline fragment — a shape only an accepted reply produces:
The build, and the payload checks on the resulting image (every manager's output is IN the image, and each plugin candy's own checks pass):
(One honest note about the FIRST run of this probe: it failed at cargo's inline step with
cargo: command not found, because the probe candy had not declared the distro'srustpackage — the fragment runs in the MAIN image. Adding it is what the box above does; the four replies had already been accepted before that step. The probe is thrown away; what it taught is the evidence above.)All five bumped refs now have a live run: aur through its disposable pod bed (
check-aur-probe-pod, above —aur-probe-image-yayproves the package is in the image, and the runtime legs prove it runs inside the deployed pod, the path whose silent loss wasopencharly/sdk#615), and pixi/npm/cargo/mise through the four-builder probe build above, whose payload checks run on the resulting image.Rulebook compliance
/charly-internals:design(D-PROTO-6, §4.4),/charly-internals:install-plan,/charly-internals:go,/charly-internals:git-workflow.charly task mods-tidywas run before the push — the control whose absence cost an earlier round on charly#1231.sdk/kit, refused bysdk/deploykit, and these pins are the only thing this repo adds.git statusclean; branch off freshorigin/main; no force-push.scripts/bootstrap-charly.sh) andcharly versionmatches the source.tools/*module), run above.Filed issues
plugin-builder-aurpin" — an out-of-process plugin is selected from the project's own candy closure (the connect path's pass-1), so the probe box must name it. fix(probe): the aur probe pins the contract release, and says why the pin is not a stopgap distro-cachyos#236 (merged) keeps the pin at the contract release and records why it is a normal dependency now rather than a stopgap: a stale one fails loudly instead of shipping an image without its package.Change classification
fully tested and validated— the module gate passes on this tree, the aur builder ran live through its disposable pod bed, and each of the other four pinned plugins was built, served and applied in a live probe build whose payload checks pass on the resulting image.!marks it: a builder plugin older than the contract is refused at its first reply. That is the intent. Rollback: revert this squash commit; the old sdk returns and the silent loss with it.Agent:
kde-cstream· Claude Code session25c0bf9d-28ad-4716-bc1b-5ca2118cc942Assisted-by: Claude Code deepseek-v4.1-flash (fully tested and validated)