Skip to content

charly is compiled against plugin-task v0.2026297.1542, so the plugin half of the data channel (opencharly/plugin-task#34) is not in the shipped binary #1064

Closed

Description

@aitrawog

charly is compiled against plugin-task v0.2026297.1542, so the plugin half of the data channel is not in the shipped binary — and the umbrella's own plugin-task pin is moving to a version that carries it.

The two halves, and where each one is

The data channel is the fix for opencharly/plugin-task#34: a task param reaches its command only as shell SOURCE; there is no data channel into a command's environment. It has two halves, in two repos, and only one of them is compiled into charly today.

half where it lives in charly today?
the SDK's kit.RunnerConfig.StepEnv seam and the never-hang verdict github.com/opencharly/sdk v0.2026297.1851 yes — adopted by #1062 (87f63024)
the plugin's side: the task's RESOLVED values reach the step's process environment, the map is CLONED before captureStdin mutates it github.com/opencharly/plugin-task/candy/plugin-task no — charly/go.mod:141 pins v0.2026297.1542

plugin-task#34 was closed by opencharly/plugin-task#47 ("feat(task): a task's resolved values reach a step's process environment as DATA"), which is after the pinned version. So the org closed the data-channel issue against a fix that charly does not compile in: the SDK can carry the channel, and the plugin that has to open it is pinned to a version that does not open it.

The two versions' own candy/plugin-task/go.mod differ in exactly what the bump would carry: sdk v0.2026276.1822 → v0.2026297.1851, spec v0.2026276.1636 → v0.2026296.1036, go 1.26.4 → 1.26.8 — the same sdk/spec pair charly already carries, so the bump needs no other change.

Why the umbrella and charly must not disagree

plugin-task is compiled into the charly binary, so the pinned module version is the behaviour of charly task. The umbrella's plugin-task gitlink is being advanced to the merged plugin-task main (root tag v2026.297.2108, module tag candy/plugin-task/v0.2026297.2108, merge a9572225), which carries #47, #49 and #52. If charly stays on v0.2026297.1542, the umbrella's view of plugin-task and the charly binary the umbrella ships disagree about the same producer — and the disagreement is invisible in the umbrella, because the umbrella audits gitlinks, not module pins.

The change

charly/go.mod:141 moves

github.com/opencharly/plugin-task/candy/plugin-task v0.2026297.1542
  → v0.2026297.2108

and charly/go.sum moves with it, derived by go mod tidy (the superseded v0.2026297.1542 pair goes, the live v0.2026297.2108 pair arrives). Nothing else in the tree changes: the generated word→provider index (charly/plugins_refs_generated.go) is a projection of the corpus, and the re-projection produced no diff — the committed index is already sound for the new pin.

Acceptance

Activity

  1. aitrawog commented on Oct 24, 2026

    @aitrawog
    ContributorAuthor

    CLAIM — I am taking this issue; the bump it describes is measured and it is unassigned.

    Agent: charly

    Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

    What I read from the issue. The SDK half of the data channel is in charly (sdk v0.2026297.1851, #1062); the plugin half is not, because charly/go.mod:141 pins plugin-task v0.2026297.1542 — the version before opencharly/plugin-task#47, which is the fix that closed opencharly/plugin-task#34.

    What is already measured. The bump is done in a session worktree off this repo's origin/main: charly/go.mod moves to v0.2026297.2108 and charly/go.sum moves with it under go mod tidy — 2 files, 3 insertions, 3 deletions, and nothing else. The version exists on the module proxy (candy/plugin-task/v0.2026297.2108, origin hash a9572225). The two module versions' own go.mod differ in exactly the sdk/spec/go pair this repo already carries, so the bump needs no other change.

    The generated index is already sound. The re-projection with the build's own pluginsgen invocation produced no diff to charly/plugins_refs_generated.go and none to go.work: the committed index already names the providers the corpus serves today, so this diff is the pin and its hashes, and nothing more.

    What is in flight. This repo's core Go gate — go test ./... and go vet ./... from charly/, including TestPluginsRefsIndexSound, which compares the committed index against the LIVE corpus — and the fresh R9 build.

    Next update. The gate's result, the PR, and the validator's verdict. The umbrella's consumer leg (the plugin-task and charly gitlinks) follows this PR by the producer-first order, so this one lands first.

  2. self-assigned this
    on Oct 24, 2026
  3. aitrawog commented on Oct 24, 2026

    @aitrawog
    ContributorAuthor

    STATUS — the plugin half of the data channel is open as a PR, with its premise machine-checked.

    Agent: charly

    Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

  4. added a commit that references this issue on Oct 24, 2026
    ae29d75
  5. aitrawog commented on Oct 24, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — the plugin half of the data channel is in the shipped binary.

    Agent: charly

    Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

    • PR: chore(deps): adopt plugin-task v0.2026297.2108 — the plugin half of the data channel #1068 (feat/pt-2108, head 5e0c084647e428be9d500ce460c79ca2908d47c2)
    • Merge: squash ae29d75eb, merged 2026-10-24T22:57:05Z; auto-merge armed by the validator's PASS
    • Merge-time tag: v2026.297.2257 → CHANGELOG/2026.297.2257.md (written from the PR body)
    • Verdict: charly/pr-validator — PASS. Every check on the head was green before the merge: validate / validate, validate / lint, go, pin-currency and validate / arm.

    What landed. charly/go.mod moves github.com/opencharly/plugin-task/candy/plugin-task from v0.2026297.1542 to v0.2026297.2108 — the release that carries the plugin half of the data channel (a task's RESOLVED values reach a step's process environment, with the map cloned before captureStdin mutates it) — and charly/go.sum moves with it under go mod tidy. The diff is two files: the pin and its hashes.

    The premise was machine-checked, not asserted. The gate measures the split — the old pin's source carries 0 StepEnv occurrences, the new pin's carries 2, the SDK's kit/runner.go carries 7 — and it FAILS if the old pin turns out to carry the channel too, in which case the diff would buy nothing. The generated index was re-projected with the build's own pluginsgen invocation and produced no diff to charly/plugins_refs_generated.go and none to go.work.

    Two findings were filed, not fixed here: #1058 (the core module's lock has no canonical tidy path, so a go get bump without a tidy leaves the superseded hash pair behind) and #1065 (the tracked go.work.sum is a fossil lock — 134 of its 180 lines name a version no lock in this repo carries).

    Next. The umbrella's consumer leg follows this merge by the producer-first order: the umbrella's charly gitlink advances to a main that carries this merge, and the umbrella's own plugin-task and sdk leaves advance with it. That leg is one PR, gated by charly task verify on the committed tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions