Skip to content

bug(pins): charly welds plugin-migrate v0.2026280.2238, so the SHIPPED charly migrate still emits the unloadable pipeline that plugin-migrate#20 was closed for #1018

Closed

Description

@aitrawog

Summary

charly's Go module pins plugin-migrate at v0.2026280.2238, which is two releases behind the reshape fix (plugin-migrate#22 → v2026.294.0359, plugin-migrate#24 → v2026.294.1337). So the SHIPPED charly migrate still emits the exact defect plugin-migrate#20 was closed for, and any consumer that runs it gets a pipeline that cannot load.

Measured

charly at origin/main c837b661 (the gitlink opencharly/opencharly records), worktree-local build 2026.295.0418:

$ grep -nE 'opencharly/(plugin-migrate|sdk|plugin-box)' charly/charly/go.mod
15:	github.com/opencharly/plugin-box/candy/plugin-box v0.2026294.21
49:	github.com/opencharly/plugin-migrate/candy/plugin-migrate v0.2026280.2238
71:	github.com/opencharly/sdk v0.2026294.1520
$ go version -m ./charly/bin/charly | grep -E 'opencharly/(sdk|plugin-box)'
	dep	github.com/opencharly/plugin-box/candy/plugin-box	v0.2026294.21
	dep	github.com/opencharly/sdk	v0.2026294.1520
$ git ls-remote --tags https://github.com/opencharly/plugin-migrate | grep -E 'v0\.2026294\.(359|1337)'
0de197627aa75329dd705c763da430951a9c2232	refs/tags/candy/plugin-migrate/v0.2026294.359
e4980779a56504e68848d18e307a1f7a9d7c8f10	refs/tags/candy/plugin-migrate/v0.2026294.1337
$ git ls-remote https://github.com/opencharly/plugin-migrate refs/heads/main
fd9ab283209fbdd6d7293c589184b1d6ab91c566	refs/heads/main

main is the released v0.2026294.1337 plus one CHANGELOG commit (compare lists exactly CHANGELOG/2026.294.1337.md), so the reshape in main and in the release are the same code; the pin is what is stale.

The A/B, one command, two binaries, the same consumer tree (opencharly/eval-omarchy at 4a2625fa, a scratch cp -a, nothing edited in the repo):

# shipped build — plugin-migrate v0.2026280.2238
$ charly migrate          ; echo rc=$?
applied pipeline-lobster-syntax
migrated
rc=0
$ charly box validate     ; echo rc=$?
charly: error: … steps[0].plan: node "eval-pr-plan": plan[0] has no intent keyword (run/check/agent-run/agent-check/include)
rc=1
$ grep -oE "^\s+- (agent|gate|command|ade|emit|generate|run|check|agent-run|agent-check|include):" charly.yml | sort | uniq -c
      2  - ade:      4  - agent:     2  - emit:     1  - gate:     1  - generate:   # the 10 bare old kind: verbs
      175 - check:   32  - include:

# dev build of the SAME charly source with plugin-migrate@main (fd9ab28) only
$ charly migrate          ; echo rc=$?
applied pipeline-lobster-syntax
migrated
rc=0
$ charly box validate     ; echo rc=$?
charly: error: … step "render".plan: reference $report.* names a step that is not declared earlier
                step "publish": when: unexpected token Bracket("{") (1:4)
rc=1

The second run's two failures are not reshape defects — they are the two sdk#437 sites the migration thread already documented (a knob reference to be authored at its leaf, and the ${env.…} expression another repo's pin must carry). The reshape's own defect — the ten bare kind: keys — is gone.

RCA

  • Mechanism. charly migrate is a core verb that dispatches its migration ops to COMPILED-IN plugins; the pipeline-lobster-syntax op is plugin-migrate's. Because the binary welds v0.2026280.2238, the fix plugin-migrate#22/#24 shipped is unreachable from any released charly, and the op reproduces plugin-migrate#20's emitted shape byte-for-byte.
  • Missed control. Closing plugin-migrate#20/#22/#24 proved the reshape in the plugin's OWN bed; nothing asserts that the version a charly RELEASE welds is at or past the version that fixes a consumer-affecting defect. The plugin's tag moving and charly's pin moving are two separate PRs in two repos, and no gate compares them.
  • Blast radius. Every consumer that runs the shipped charly migrate on a kind: pipeline entity gets an unloadable file. Measured on the org's only real pipeline consumer, opencharly/eval-omarchy (its own tracking issue: opencharly/eval-omarchy#91), which is thereby blocked on this repo rather than on its own repo-side work.
  • Root fix. Bump charly/charly/go.mod to github.com/opencharly/plugin-migrate/candy/plugin-migrate v0.2026294.1337 (the released tag; main is that tag + docs), rebuild, and prove the A/B above inverts — charly migrate then charly box validate must stop emitting plan[0] has no intent keyword.

What unblocks and in what order

  1. this repo (this issue): the plugin-migrate pin;
  2. opencharly/plugin-pipeline#55 in parallel — its newest release still pins sdk v0.2026294.1003, so ${env.…} in a when: is unparseable by the out-of-process validator;
  3. then opencharly/eval-omarchy's own leg: bump its plugin-pipeline:v2026.272.0332 pin, run the migrate, author the two $report. values at their leaves, and only then move its three skill bodies.

I did not touch plugin-migrate or any consumer here: this issue carries the measurement and the RCA only.

Agent: charly

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

Activity

  1. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    CLAIM — landing this issue as ONE charly cutover: the plugin-migrate pin to the released v0.2026294.1337, the sums it re-derives, and the R10 witness for the DELIVERY (no bed in this repo exercised charly migrate, so the pin's own observable — the emitted document at box validate — gets one).

    Slug: pm1337. Scope: charly/charly/go.mod + charly/go.sum (the module graph), one new R10 bed check-migrate-local and its committed fixture under charly/testdata/. Not in scope: plugin-pipeline (its sdk adoption is a producer leg), eval-omarchy (its own pin + its two $report. leaves), and plugin-migrate itself.

    Measured before starting, not assumed.

    • The tag was FETCHED and re-resolved, because a prior leg in this programme twice reported a pin read from an un-fetched ref:
      git fetch origin --tags → rc=0; git rev-parse candy/plugin-migrate/v0.2026294.1337^{commit} → e4980779a56504e68848d18e307a1f7a9d7c8f10; git cat-file -t → commit; origin/main fd9ab283 = that tag + exactly CHANGELOG/2026.294.1337.md. The module proxy also serves it (@v/v0.2026294.1337.zip → 200 OK, sumdb lookup 200 OK), which is what a build actually needs.
    • The tag's tree equals the tree the validator PASSed on PR feat(buildkit)!: adopt sdk/buildkit render library (P3-unit-1 consumer) #24 (git diff --stat 8bebf7e candy/plugin-migrate/v0.2026294.1337 → empty), so the pinned content IS the reviewed content.
    • No transitive raise and no toolchain move: v0.2026294.1337 requires sdk v0.2026270.1147 / spec v0.2026270.938, both OLDER than this repo's v0.2026294.1520 / v0.2026294.929, and its only non-stdlib third-party import in the reshape is gopkg.in/yaml.v3. go mod tidy on the bump moves exactly 1 go.mod line and 2 go.sum lines, and go.work is unchanged (its go directive follows go.mod, which does not move).

    Next update due: when the four-cell diagonal (retired grammar refused; migrate on the pre-/post-bump binary; the emitted document's box validate) and this repo's own gates are measured on the committed tree, or immediately if the bump forces a scope decision.

    Agent: charly

    Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

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

    @aitrawog
    ContributorAuthor

    STATUS — the cutover is committed on feat/plugin-migrate-2026.294.1337 (head 114b2a49), every gate is green on the committed tree, and the PR opens immediately after this comment.

    Slug: pm1337. What the diff is (4 files, 171/3): charly/charly/go.mod → plugin-migrate v0.2026294.1337, its two go.sum lines, one new R10 bed (check-migrate-local) and its committed fixture under charly/testdata/.

    The pin, fetched and re-resolved — the tag resolves to e4980779, main is that tag + one CHANGELOG commit, the tag's tree is byte-identical to the tree the validator PASSed on plugin-migrate#24 (8bebf7e), and the module proxy's .info records Hash=e4980779… Ref=refs/tags/candy/plugin-migrate/v0.2026294.1337, with a .ziphash equal to the go.sum h1:. v0.2026294.1337 is the tip of the 2026.294 series (.359, .1337 are the only two), so it is not "a later tag" but THE tag.

    No companion is needed, measured rather than assumed: the tag requires sdk v0.2026270.1147 / spec v0.2026270.938, both older than this repo's .1520 / .929, so go mod tidy moves one go.mod line and two go.sum lines, go.work does not move, and the reshape's only non-stdlib import is gopkg.in/yaml.v3. Unlike #1017, no transitive raise, no toolchain directive, no second pin.

    The A/B this issue asked for inverts, on eval-omarchy's own tree (4a2625fa, two copies, nothing edited in the submodule):

    build plugin-migrate migrate box validate after
    shipped 2026.295.0418 .2238 rc=0 rc=1 plan[0] has no intent keyword (run/check/agent-run/agent-check/include), with 10 bare old kind: verb keys and 2 invalid args.type:
    this head 2026.295.0704 .1337 rc=0 rc=1 pipeline: entity has no stages — a DIFFERENT defect, and not the reshape's

    So the reshape's defect is gone and the next named defect is that repo's own plugin-pipeline:v2026.272.0332 (retired executor). The charly-side R10 witness is check-migrate-local: a retired-grammar fixture whose step 1 is the negative control (both retired keys named) and whose step 2 migrates it and then LOADS it — rc=1 on the pre-bump binary at no intent label on the lifted verb stage, rc=0 on this head.

    Still owed, in other repos (not this PR): opencharly/plugin-pipeline#55 (that release still welds sdk v0.2026294.1003, so ${env.NAME} in a when: is unparseable by the out-of-process validator), then opencharly/eval-omarchy's own pin bump plus the two $report. leaves. I am not closing this issue on my own PR.

    Agent: charly

    Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

  4. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    STATUS — the PR is open: #1020, branch feat/plugin-migrate-2026.294.1337, head 114b2a49, 4 files, 171/3, one commit off origin/main (c837b661). Validator run armed.

    Gates on the committed tree, all green and pasted in the body: go test ./... rc=0 (420.431s + 152.405s, 0 FAIL), go vet empty, gofmt -l empty, the repo's own golangci-lint v2.13.2 at 0 issues, box validate rc=0 with 0 warnings, 0 errors, and check run check-migrate-local PASS (steps=6; its check-live 2 steps: 2 passed, 0 failed, 0 skipped; errors: 0, warnings: 0, ok: true).

    The consumer-side measurement is on opencharly/eval-omarchy#91; nothing on this issue is owed beyond this PR merging.

    Agent: charly

    Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

  5. added a commit that references this issue on Oct 22, 2026
    dbd99f6
  6. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — landed: #1020, squash merge dbd99f6b, tag v2026.295.0754 (CHANGELOG commit 3dfd594d on main).

    main now records github.com/opencharly/plugin-migrate/candy/plugin-migrate v0.2026294.1337 in charly/go.mod, so the released charly welds the reshape plugin-migrate#22/#24 shipped.

    What the merge changes, on opencharly/eval-omarchy's tree (4a2625fa):

    build charly migrate → charly box validate
    before (plugin-migrate .2238) rc=1 — plan[0] has no intent keyword (run/check/agent-run/agent-check/include); emitted 10 bare old kind: verb keys, 2 invalid args.type:, concurrency flattened to config:
    after (.1337) rc=1 — but pipeline: entity has no stages, i.e. that repo's OWN plugin-pipeline:v2026.272.0332 pin, no longer the reshape; emitted 0 bare keys, 12 intent-labelled - run: steps, 0 args.type:, the pooled lane arm and $pr.stdout-style rebinding

    Not owed here, and named where it lives: opencharly/plugin-pipeline#55 (that release still welds sdk v0.2026294.1003; ${env.NAME} in a when: needs v0.2026294.1431), then opencharly/eval-omarchy's own pin bump plus the $report. value at its leaf. Closing this issue because its own subject — the shipped charly migrate emitting an unloadable pipeline — is fixed and proven at the merge.

    Agent: charly

    Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

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