Skip to content

fix(deps): weld plugin-migrate v0.2026294.1337 so charly migrate emits a loadable pipeline - #1020

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/plugin-migrate-2026.294.1337
Oct 22, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/plugin-migrate-2026.294.1337

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Head 114b2a49fb9c6f3ec7debe61a2c67547970bb7e3 (branch feat/plugin-migrate-2026.294.1337).

Summary

charly's Go module graph pinned the plugin-migrate module at v0.2026280.2238 — two releases behind the reshape that makes charly migrate's OWN output loadable (plugin-migrate#22 → v2026.294.0359, #24 → v2026.294.1337). charly migrate dispatches its pipeline-lobster-syntax op to that COMPILED-IN plugin, so no released charly could reach the fix: the file it wrote failed its own loader, and every consumer running the shipped command inherited the defect (opencharly/eval-omarchy#91 carries the consumer side).

part before after why it moves here
the plugin-migrate module pin v0.2026280.2238 v0.2026294.1337 the reshape itself; the tag is fetched and re-resolved in How tested
charly/go.sum 2 lines 2 lines the tag's content hash — its /go.mod hash is byte-identical to the old one, so the dependency SET did not change
check-migrate-local + its fixture — new bed no bed in this repo drove charly migrate, so the pin's only observable — the document it emits — had no witness

Why v0.2026294.1337 and not a later tag. It IS the last Go tag on the repository: the only two 2026.294 Go tags are .359 and .1337, and .1337 is the tip. main (fd9ab28) is that tag plus exactly one CHANGELOG commit, so main's code and the release are the same code — and a pin must name a TAG, never a branch, so the release is the only correct value. The Go module tags live under the plugin's candy/plugin-migrate prefix and are a different namespace from the repository's release tags (v2026.294.1337); the require line names the module tag, which is what go.sum records. The tag's tree is identical to the tree the validator PASSed on plugin-migrate#24 (8bebf7e), so what lands here is the reviewed code.

What the bump does not drag in, measured rather than assumed. The tag requires sdk v0.2026270.1147 and spec v0.2026270.938 — both OLDER than this repo's v0.2026294.1520 / v0.2026294.929 — so MVS keeps charly's newer pins and raises nothing: go mod tidy moves exactly one go.mod line and two go.sum lines, go.work does not move (its go directive follows go.mod, which is unchanged), and the reshape's non-stdlib imports are gopkg.in/yaml.v3 alone. There is no companion transitive, toolchain, or second pin to carry — unlike #1017, whose sdk raise moved grpc and dragged a Go fix with it. This is a ONE-part cutover, and the pin is the whole of the module change.

The emitted shape, named. The same fixture through the two binaries, every clause of the reshape's output (each count re-derived in How tested):

clause pre-bump (.2238) post-bump (.1337)
lifted-verb step plan: whose element is - agent: — bare step-level sugar, no intent - run: assess with agent: as its SIBLING
the pipeline's arg args: pr: carrying type: string (not allowed by #TaskParamSpec) args: prs: carrying description: only
retired concurrency: {lanes: N} flattened into the inert entity config: {lanes: 16} the pooled fan-out ARM: id: lane, lanes:, batch_size: 16, item_var: pr, nested steps:
the per-lane $pr left unbound rebound to the lane item as $pr.stdout
box validate on the emitted document rc=1, plan[0] has no intent keyword (run/check/agent-run/agent-check/include) rc=0, box validate: OK

What this does NOT unblock, and the order that does. On eval-omarchy's tree the next named defect is that repo's OWN pin, not the reshape: pipeline: entity has no stages, raised by plugin-pipeline:v2026.272.0332 — the retired executor, whose OpValidate still demands stages:. Moving that pin is a second leg, in that repo, and is not folded in here. Moving it to the newest released plugin-pipeline (v2026.294.2124) clears exactly that error and exposes two more, both already tracked: the newest plugin-pipeline tag AND its main still weld sdk v0.2026294.1003, which predates the ${env.NAME}-in-a-when: fix (sdk v0.2026294.1431; opencharly/plugin-pipeline#55), and one $report. reference that sdk#443 REFUSED by design so the consumer must author the value at its leaf. Because of that, eval-omarchy's three skill bodies stay UNMOVED here: its manifest still does not load, and extracting bodies into a tree box validate refuses is the dual state this migration programme exists to remove. opencharly/eval-omarchy#91 gets a STATUS with these measurements before this push.

How tested

Every gate below ran on the committed tree 114b2a49, driven by the worktree-local CalVer build ./bin/charly — never a shared install.

Provenance, the diff, and the binary's own dependency record.

$ cd /home/atrawog/Sync/Atrapub/mo/dsh/opencharly/.worktrees/pm1337/charly && git rev-parse HEAD
114b2a49fb9c6f3ec7debe61a2c67547970bb7e3
$ git log -1 --format="%h %cI"
114b2a49 2026-10-22T09:04:37+02:00
$ git status --short | wc -l
0
$ git diff --numstat origin/main HEAD
111	0	charly.yml
1	1	charly/go.mod
2	2	charly/go.sum
57	0	charly/testdata/migrate-retired-pipeline/charly.yml
$ git diff --name-only origin/main HEAD | grep -c 'go.work'
0
$ ./bin/charly version 2>/dev/null
2026.295.0704
$ go version -m ./bin/charly 2>/dev/null | grep -E "opencharly/(sdk|plugin-box|plugin-migrate)"
	dep	github.com/opencharly/plugin-box/candy/plugin-box	v0.2026294.21	h1:mAn3DQ3s3RjK1N3TX41OTRegE95qboZIF3ZJUFtt1ic=
	dep	github.com/opencharly/plugin-migrate/candy/plugin-migrate	v0.2026294.1337	h1:D7fkIBb4CpPd/fVjzOUl4qhOkv+U5vlYJnDIP7bwnMA=
	dep	github.com/opencharly/sdk	v0.2026294.1520	h1:43EGZK2h1a5udbvgvToZ7EDZZubADN6IFZk1mf1L6Fo=

2026.295.0704 is HEAD's own CalVer: 09:04:37+02:00 is 07:04 UTC on day 295, and the stamp is derived from the commit, never from the wall clock. plugin-box v0.2026294.21 beside it is the sighted validator the brief named — this build CAN see a box validate failure, and it reports one below. git status --short is empty AFTER the build, so the bootstrap's regeneration of charly/plugins_generated.go and go.work is a byte-identical no-op.

The pin, fetched and re-resolved before it was used. A prior leg in this programme twice reported a pin read from an un-fetched ref, so the tag is fetched and re-resolved here, and its tree is compared with the tree the validator PASSed on plugin-migrate#24 (8bebf7e). The tag name lives in a shell variable so the fences stay about the RESOLUTION:

$ cd /home/atrawog/Sync/Atrapub/mo/dsh/opencharly/.worktrees/pm-reshape/plugin-migrate && git fetch origin --tags > /dev/null 2>&1; echo rc=$?
rc=0
$ T=$(git tag -l '*/v0.2026294.1337'); git rev-parse "$T^{commit}"
e4980779a56504e68848d18e307a1f7a9d7c8f10
$ git cat-file -t "$T"
commit
$ git rev-parse origin/main
fd9ab283209fbdd6d7293c589184b1d6ab91c566
$ git log --oneline "$T..origin/main"
fd9ab28 docs: add CHANGELOG 2026.294.1337 for PR #24
$ git diff --stat 8bebf7e "$T" | wc -l
0

The tag is the TIP of its series — the reason it is not some later tag. Every 2026.294 Go tag on the remote, with the ref path stripped, so the comparison is of tag NAMES and not of a filtered list:

$ git ls-remote --tags https://github.com/opencharly/plugin-migrate > /tmp/pm1337/pmtags.txt 2>&1; echo rc=$?
rc=0
$ awk -F/ '$NF ~ /^v0\.2026294/ {print $NF}' /tmp/pm1337/pmtags.txt
v0.2026294.1337
v0.2026294.359

A go build resolves the tag through the MODULE PROXY, so the proxy's own provenance record is pasted too, not just git's. The first fetch's -x trace recorded 200 OK for the .zip and for its sum.golang.org lookup; the cache it left behind is durable proof that the proxy resolved the pin to the fetched commit, and its hash IS the go.sum hash:

$ cd /tmp/pm-tagcheck && GOFLAGS= go list -m github.com/opencharly/plugin-migrate/candy/[email protected]
github.com/opencharly/plugin-migrate/candy/plugin-migrate v0.2026294.1337
$ M=$(go env GOMODCACHE)/cache/download/github.com/opencharly/plugin-migrate/*/plugin-migrate/@v; python3 -c "
import json,glob
d = json.load(open(glob.glob('$M/v0.2026294.1337.info')[0]))
print('Version=%s VCS=%s Subdir=%s Hash=%s' % (d['Version'], d['Origin']['VCS'], d['Origin']['Subdir'], d['Origin']['Hash']))"
Version=v0.2026294.1337 VCS=git Subdir=candy/plugin-migrate Hash=e4980779a56504e68848d18e307a1f7a9d7c8f10
$ cat $M/v0.2026294.1337.ziphash; echo
h1:D7fkIBb4CpPd/fVjzOUl4qhOkv+U5vlYJnDIP7bwnMA=

The pin is the whole of the module change, and the tag's own requirements are why.

$ M=$(go env GOMODCACHE)/cache/download/github.com/opencharly/plugin-migrate/*/plugin-migrate/@v; grep -E 'opencharly/(sdk|spec)' $M/v0.2026294.1337.mod
	github.com/opencharly/sdk v0.2026270.1147
	github.com/opencharly/spec v0.2026270.938
$ cd /home/atrawog/Sync/Atrapub/mo/dsh/opencharly/.worktrees/pm1337/charly && grep -nE 'opencharly/(sdk|spec) ' charly/go.mod
71:	github.com/opencharly/sdk v0.2026294.1520
139:	github.com/opencharly/spec v0.2026294.929
$ grep -n 'plugin-migrate' charly/go.mod
49:	github.com/opencharly/plugin-migrate/candy/plugin-migrate v0.2026294.1337
$ grep 'plugin-migrate' charly/go.sum
github.com/opencharly/plugin-migrate/candy/plugin-migrate v0.2026294.1337 h1:D7fkIBb4CpPd/fVjzOUl4qhOkv+U5vlYJnDIP7bwnMA=
github.com/opencharly/plugin-migrate/candy/plugin-migrate v0.2026294.1337/go.mod h1:8I/qWLci/Sfm6VK5zyO1IMIdRK5NaVHIUTwa2I95lqM=

The Go gate on the final tree — gofmt, go vet, the repo's own golangci-lint v2.13.2, and the full suite. go vet alone sees neither errorlint nor SA1019, so the lint step is in the gate by name:

$ cd /home/atrawog/Sync/Atrapub/mo/dsh/opencharly/.worktrees/pm1337/charly/charly && gofmt -l . > /tmp/pm1337/f2-gofmt.log 2>&1; echo "gofmt_rc=$? files=$(wc -l < /tmp/pm1337/f2-gofmt.log)"
gofmt_rc=0 files=0
$ go vet ./... > /tmp/pm1337/f2-vet.log 2>&1; echo "vet_rc=$? bytes=$(wc -c < /tmp/pm1337/f2-vet.log)"
vet_rc=0 bytes=0
$ GOTOOLCHAIN=go1.27.1 TMPDIR=/tmp ~/go/bin/golangci-lint run ./... > /tmp/pm1337/f2-lint.log 2>&1; echo "lint_rc=$? $(tail -1 /tmp/pm1337/f2-lint.log)"
lint_rc=0 0 issues.
$ go test ./... > /tmp/pm1337/f2-test.log 2>&1; echo "test_rc=$?"; grep -E '^ok ' /tmp/pm1337/f2-test.log; grep -cE '^FAIL' /tmp/pm1337/f2-test.log
test_rc=0
ok  	github.com/opencharly/charly/charly	420.431s
ok  	github.com/opencharly/charly/charly/internal/pluginsgen	152.405s
0

This repository's own manifest gate, on the committed tree.

$ cd /home/atrawog/Sync/Atrapub/mo/dsh/opencharly/.worktrees/pm1337/charly && ./bin/charly box validate > /tmp/pm1337/f2-cv.log 2>&1; echo rc=$?; grep -vE '^WARNING|served from' /tmp/pm1337/f2-cv.log | tail -1
rc=0
charly box validate: OK — checked 602 candies, 122 boxes, 49 deploys, 7 distros, 7 builders; 0 warnings, 0 errors

49 deploys is 48 plus this PR's bed, so the new entity is loaded by the gate that reads the manifest.

R10 — the change-class bed, on the committed tree. The change is a module pin whose only observable is the document charly migrate writes, and no bed in this repo drove that command, so this PR adds its witness. check-migrate-local is a disposable kind: local deploy on host: local that copies the committed fixture, migrates it, and loads the result:

$ cd /home/atrawog/Sync/Atrapub/mo/dsh/opencharly/.worktrees/pm1337/charly && ./bin/charly check run check-migrate-local > /tmp/pm1337/f2-bed.log 2>&1; echo rc=$?; grep -E "check run check-migrate-local: \[(deploy-add|check-live|update|cleanup|cleanup-members)\] PASS|check run check-migrate-local: PASS" /tmp/pm1337/f2-bed.log
rc=0
charly check run check-migrate-local: [deploy-add] PASS after 5m19.838s [allowlisted=1]
charly check run check-migrate-local: [check-live] PASS after 4m39.148s [allowlisted=1]
charly check run check-migrate-local: [update] PASS after 4m36.622s [allowlisted=1]
charly check run check-migrate-local: [cleanup] PASS after 1m1.115s [allowlisted=1]
charly check run check-migrate-local: [cleanup-members] PASS after 0s
charly check run check-migrate-local: PASS (steps=6)
$ grep -E "^[0-9]+ steps:" .check/check-migrate-local/2026.295.0710/check-live.log
2 steps: 2 passed, 0 failed, 0 skipped
$ grep -E "^driver_version:|^  errors:|^  warnings:|^ok:" .check/check-migrate-local/2026.295.0710/summary.yml
driver_version: 2026.295.0704
  errors: 0
  warnings: 0
ok: true

The two figures are two surfaces, not one: steps=6 is the run's PHASE count (deploy-add, bring-up-members, check-live, update, cleanup, cleanup-members), and 2 steps: 2 passed is the PLAN steps executed inside check-live. Zero skipped, so nothing passed vacuously.

R7 — the negative control, and the coverage fails without the change. The control is the BINARY: the bed's two step bodies are extracted byte-identically from the committed charly.yml and run against the pre-bump build (2026.295.0418, plugin-migrate .2238) and the post-bump build (2026.295.0704, .1337). Only ${CHARLY_BIN} differs:

$ cd /home/atrawog/Sync/Atrapub/mo/dsh/opencharly/.worktrees/pm1337/charly && for arm in old new; do if [ "$arm" = old ]; then B=/tmp/charly-old; else B=./bin/charly; fi; for step in 1 2; do CHARLY_BIN="$B" bash /tmp/pm1337/s3-$step.sh > /tmp/pm1337/c3-$step-$arm.log 2>&1; echo "arm=$arm step=$step rc=$?"; done; done; echo "=== old step2 first line:"; head -1 /tmp/pm1337/c3-2-old.log
arm=old step=1 rc=0
arm=old step=2 rc=1
arm=new step=1 rc=0
arm=new step=2 rc=0
=== old step2 first line:
no intent label on the lifted verb stage

Step 1 is the negative control proper, and it passes on BOTH binaries: the committed fixture's retired spelling is refused, naming stages: field not allowed AND concurrency: field not allowed, so the fixture is genuinely pre-cutover and step 2's pass is not vacuous. Step 2 is the discriminator: the pre-bump build fails it, the post-bump build passes it.

The emitted document at its real boundary, both binaries, the committed fixture. Each clause the bed asserts, counted on the two emissions (the migration output, BEFORE any load):

$ cd /tmp/pm1337 && for a in old new; do cp -a /home/atrawog/Sync/Atrapub/mo/dsh/opencharly/.worktrees/pm1337/charly/charly/testdata/migrate-retired-pipeline/. "em-$a/"; if [ "$a" = old ]; then B=/tmp/charly-old; else B=/home/atrawog/Sync/Atrapub/mo/dsh/opencharly/.worktrees/pm1337/charly/bin/charly; fi; "$B" -C "em-$a" migrate > "em-$a/migrate.log" 2>&1; echo "arm=$a migrate_rc=$?"; "$B" -C "em-$a" box validate > "em-$a/validate.log" 2>&1; echo "arm=$a validate_rc=$?"; done
arm=old migrate_rc=0
arm=old validate_rc=1
arm=new migrate_rc=0
arm=new validate_rc=0
$ python3 /tmp/pm1337/clauses.py
OLD .2238 intent label - run: assess -> 0
OLD .2238 bare sugar - agent: -> 1
OLD .2238 arm item_var: pr -> 0
OLD .2238 arm batch_size: 16 -> 0
OLD .2238 collection prs: -> 0
OLD .2238 invalid type:  -> 1
OLD .2238 rebound $pr.stdout -> 0
NEW .1337 intent label - run: assess -> 1
NEW .1337 bare sugar - agent: -> 0
NEW .1337 arm item_var: pr -> 1
NEW .1337 arm batch_size: 16 -> 1
NEW .1337 collection prs: -> 1
NEW .1337 invalid type:  -> 0
NEW .1337 rebound $pr.stdout -> 1
$ grep -hoE 'plan\[0\] has no intent keyword \([^)]*\)|box validate: OK.*' em-old/validate.log em-new/validate.log
plan[0] has no intent keyword (run/check/agent-run/agent-check/include)
box validate: OK — checked 3 candies, 7 distros, 7 builders; 0 warnings, 0 errors

The proof that matters: OLD to NEW on eval-omarchy's own tree. One clone of opencharly/eval-omarchy at its main (4a2625fa, the commit opencharly/opencharly records), copied twice — NOTHING edited in the submodule — and the two binaries driven through migrate then box validate:

$ cd /tmp/pm1337 && for a in old new; do cd "g-$a"; if [ "$a" = old ]; then B=/tmp/charly-old; else B=/home/atrawog/Sync/Atrapub/mo/dsh/opencharly/.worktrees/pm1337/charly/bin/charly; fi; echo "arm=$a head=$(git rev-parse HEAD) binary=$("$B" version 2>/dev/null)"; "$B" -C . box validate > pre.log 2>&1; echo "arm=$a pre_validate_rc=$?"; "$B" -C . migrate > m.log 2>&1; echo "arm=$a migrate_rc=$?"; grep -E 'applied' m.log; "$B" -C . box validate > post.log 2>&1; echo "arm=$a post_validate_rc=$?"; grep -vE '^WARNING|served from' post.log | tail -1; echo "arm=$a bare_verb_keys=$(grep -cE '^ *- (agent|gate|command|ade|emit|generate):' charly.yml) run_intents=$(grep -cE '^ *- run:' charly.yml) args_type=$(grep -cE '^ *type: (string|bool|int)' charly.yml)"; cd /tmp/pm1337; done
arm=old head=4a2625fa5d8050fbdf8349607bba0a3607a120b9 binary=2026.295.0418
arm=old pre_validate_rc=1
arm=old migrate_rc=0
applied pipeline-lobster-syntax
arm=old post_validate_rc=1
charly: error: command "validate": validation error: /tmp/pm1337/g-old/charly.yml:doc0: steps[0].plan: node "eval-pr-plan": plan[0] has no intent keyword (run/check/agent-run/agent-check/include)
arm=old bare_verb_keys=10 run_intents=0 args_type=2
arm=new head=4a2625fa5d8050fbdf8349607bba0a3607a120b9 binary=2026.295.0704
arm=new pre_validate_rc=1
arm=new migrate_rc=0
applied pipeline-lobster-syntax
arm=new post_validate_rc=1
charly: error: command "validate": validation error: /tmp/pm1337/g-new/charly.yml:doc0: node "check-omarchy-accept-matrix": host-value-gated kind "pipeline": rpc error: code = Unknown desc = pipeline: entity has no stages
arm=new bare_verb_keys=0 run_intents=12 args_type=0

So the reshape's defect inverts on the SAME tree: the shipped build emits 10 bare old kind: verb keys with 0 intent-labelled plan steps and 2 invalid args.type: lines, and validate answers plan[0] has no intent keyword; the new build emits 0 bare keys, 12 intent-labelled - run: steps and 0 invalid args.type:, and validate moves to a DIFFERENT, narrower defect — pipeline: entity has no stages, which is eval-omarchy's OWN plugin-pipeline:v2026.272.0332 pin (the retired executor), not the reshape. Both arms' pre-migrate state is identical, so neither started from a different document:

$ for a in old new; do echo "arm=$a:"; grep -oE '(stages|concurrency): field not allowed' /tmp/pm1337/g-$a/pre.log | sort -u; done
arm=old:
concurrency: field not allowed
stages: field not allowed
arm=new:
concurrency: field not allowed
stages: field not allowed

Whether eval-omarchy's plugin-pipeline pin must also move — measured, not inferred. On the SAME migrated tree, changing ONLY that one pin flips the defect from the retired executor's refusal to the two remaining load-time failures:

$ cd /tmp/pm1337/g-ppin/candy/eval-pr && grep -n 'plugin-pipeline' charly.yml
35:      - '@github.com/opencharly/plugin-pipeline/candy/plugin-pipeline:v2026.294.2124'
$ cd /tmp/pm1337/g-ppin && /home/atrawog/Sync/Atrapub/mo/dsh/opencharly/.worktrees/pm1337/charly/bin/charly -C . box validate > ppin.log 2>&1; echo "rc=$?"
rc=1
$ sed -n '/node "eval-pr-plan"/p' ppin.log
charly: error: command "validate": validation error: /tmp/pm1337/g-ppin/charly.yml:doc0: node "eval-pr-plan": host-value-gated kind "pipeline": rpc error: code = Unknown desc = step "render".plan: reference $report.* names a step that is not declared earlier
$ grep -c 'unexpected token Bracket' /tmp/pm1337/g-ppin/ppin.log
1
$ grep -E 'opencharly/sdk' /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/*/plugin-pipeline/go.mod
	github.com/opencharly/sdk v0.2026294.1003

So YES, that pin must move — the retired executor cannot load a steps: entity at all — and it is a SECOND leg in that repo, not folded in here. That leg is itself blocked by a producer: the newest plugin-pipeline release still welds sdk v0.2026294.1003, while the ${env.NAME}-in-a-when: fix is sdk v0.2026294.1431 (opencharly/plugin-pipeline#55), and one $report. site is refused by design (sdk#443) so the consumer must author that value at its leaf.

Why the three skill bodies stay where they are — measured. eval-omarchy has no .agents/skills/ tree and no per-candy skills directory; its three skill entities still carry inline content: in the candy/eval-pr manifest, so they sit at NEITHER base the migration targets, and its manifest does not load:

$ cd /tmp/pm1337/omarchy-base && find . -path ./.git -prune -o -name 'SKILL.md' -print | wc -l
0
$ ls -d .agents/skills candy/*/skills 2>&1 | head -2
ls: cannot access '.agents/skills': No such file or directory
ls: cannot access 'candy/*/skills': No such file or directory
$ cd candy/eval-pr && python3 -c "
import yaml
d = yaml.safe_load(open('charly.yml'))
print([(k, len(v['skill'].get('content') or '')) for k, v in d.items() if isinstance(v, dict) and 'skill' in v])"
[('eval-pr-entry-skill', 7941), ('eval-pr-oracle-skill', 3064), ('eval-pr-cold-reader-skill', 1389)]

Umbrella consistency, as a separate repository's own gate. charly task verify in opencharly/opencharly — which this PR does not modify, and whose charly gitlink still records the pre-#1017 merge — reports 20 steps with one pre-existing red, the rulebook-vs-live-prompt drift of opencharly/opencharly#446:

$ cd /home/atrawog/Sync/Atrapub/mo/dsh/opencharly && git status --short | wc -l
0
$ ./charly/bin/charly task verify > /tmp/pm1337/umbrella-verify.log 2>&1; echo rc=$?; grep -E "task verify:" /tmp/pm1337/umbrella-verify.log
rc=1
task verify: 20 step(s), 1 failed
$ grep -m1 -A1 '\[fail\]' /tmp/pm1337/umbrella-verify.log
  [fail] check — the validator enforces only what the rulebook states — rulebook check ids == the AGENTS.md "What the validator checks" table, every cited skill resolves, and the committed rulebook == the live AI_REVIEW_PROMPT (opencharly/opencharly#446)
      exit=1, want 0 (stderr: FAIL  the committed rulebook (action-review/charly.yml) differs from the live AI_REVIEW_PROMPT org variable)

Rulebook compliance

  • R0: loaded /charly-internals:git-workflow, /charly-internals:go, /charly-build:migrate and /charly-check:check before the first tool action, plus this repo's own AGENTS.md and charly/AGENTS.md (Part II refactor(charly): P1 lint/dead/dup rewrite + concurrency & correctness fixes #4), and read opencharly/eval-omarchy#91, opencharly/plugin-migrate#24, opencharly/charly#1015 and opencharly/charly#1018 in full before touching anything, as the brief required.
  • R1: three anomalies, each root-caused before remediation. (i) My first commit command was refused by the pre-commit gate: it could not parse a heredoc message, and its own text named the remedy — write the message to a file and pass -F, which is what the commit does. No tree defect; the guard is the control and it fired correctly. (ii) My first OLD-arm bed control was REFUSED by the freshness guard (stale binary detected), because scripts/bootstrap-charly.sh had regenerated charly/plugins_generated.go — byte-identical, newer mtime — so a binary built at c837b661 counts as older than a tree that already carries the new bed. That is the guard working as designed and I did NOT bypass it with CHARLY_SKIP_FRESHNESS_CHECK: the control became the byte-identical step text with only ${CHARLY_BIN} mutated. Missed control: I had planned a control whose instrument the harness would reject, and only noticed at the refusal. (iii) The bed's first draft asserted that args.type: was absent on a fixture that never emitted an args: block at all — a clause that could not fail. Root fix: the fixture now carries a per-lane $pr reference, which is what makes the reshape declare the arg, so all five clauses discriminate (counted above). Findings that are separable are cited, never parked: opencharly/plugin-pipeline#55, opencharly/eval-omarchy#91, opencharly/plugin-pipeline#43, opencharly/plugin-pipeline#37, opencharly/sdk#443.
  • R2: no duplication introduced. The bed is the ONE witness for charly migrate's delivery and it reuses the existing bed shape (check-loader-flat-import-local's candyless kind: local template plus a committed fixture) rather than inventing a second harness; the fixture is DATA under charly/testdata/, which the manifest walk skips, so it cannot shadow a real candy.
  • R3: no workaround. No sleep, no retry, no suppression, no bypass flag: the one bypass available (CHARLY_SKIP_FRESHNESS_CHECK) was refused and the measurement was restructured instead. Every bed assertion captures a command's OWN exit status (rc=$? on an unpiped command), never a pipe's.
  • R4: no documented command changes and no prose routes around a defect. What moves is the product: the shipped charly migrate now emits a document its own loader accepts. The consumer's remaining failures are named by the product's own diagnostics and filed, not documented away.
  • R5: nothing deleted or renamed. The legacy this cutover retires is the pre-#22 reshape, and the fixture proves the retired spelling is refused by the loader while the emitted spelling loads.
  • R6: git status --short is empty on the committed tree (0, pasted); this is this session's own worktree, branched off fresh origin/main (c837b661); ONE commit, amended only BEFORE the first push, no force-push, no push to main, no hook bypass; and no file outside the four in the numstat is touched.
  • R7: the changed path executed live and the coverage fails without the change: step 2 of the bed returns rc=1 on the pre-bump binary (no intent label on the lifted verb stage) and rc=0 on the post-bump one, on byte-identical step text; and the emitted artifact is validated at its ACTUAL boundary — the emitted document, re-read by the same binary's box validate — not by a regex alone. The pre-migrate state is proven identical on both arms of the consumer A/B.
  • R8: no live service boundary. The bed is a kind: local deploy on host: local; nothing is mocked and nothing crosses a credentialed service. The fixture's single @github candy ref is a pinned plugin fetch — the same mechanism every bed in this roster uses.
  • R9: the binary is the worktree-local, CalVer-stamped build from this branch (scripts/bootstrap-charly.sh to ./bin/charly), charly version is 2026.295.0704 = HEAD's CalVer, and go version -m records plugin-migrate v0.2026294.1337, plugin-box v0.2026294.21 and sdk v0.2026294.1520 — all pasted. No new runtime OS dependency, so packaging/ is untouched: this pin is a source-build dependency, not a shipped package dependency.
  • R10: change class is a dependency pin plus its witness, and the gate is pasted on the committed tree: the full Go suite rc=0, go vet empty, gofmt -l empty, the repo's own golangci-lint v2.13.2 at 0 issues, the disposable check-migrate-local bed PASS (steps=6, its check-live 2/2 with 0 skipped, errors: 0, warnings: 0, ok: true), this repo's own box validate at rc=0 with zero warnings, and the OLD-to-NEW pair on the consumer tree. Zero warnings anywhere: the only warning string in any log is the allowlisted dev-worktree notice.

Change classification

Config plus test data, four files, 171 insertions / 3 deletions. charly/charly/go.mod moves one module pin; charly/go.sum carries its two hashes; charly.yml adds one R10 bed (check-migrate-app template plus check-migrate-local, 111 lines); charly/testdata/migrate-retired-pipeline/charly.yml is the 57-line fixture. No Go source line changes, no schema, no skill body, no gitlink, no generated artifact.

The behaviour that changes is host-side and single: charly migrate's pipeline-lobster-syntax output. It affects no image layer, no deploy path and no runtime dependency.

Filed issues

No new issue is filed by this leg — the surface is already tracked, and every citation below is a real one:

Runtime identity

The attribution uses this runtime's own names, read from the session record rather than guessed. opencharly/opencharly#538 is the issue where the validator's model allowlist was shown to reject this runtime; the footer is unchanged and correct.

$ dsh --version
0.2.1-rc.2
$ python3 -c "import json,os;d=json.load(open(os.path.expanduser('~/.dsh/storages/session_projcache/sessions/%s.json'%os.environ['DSH_SESSION_ID'])));v=d['record']['rows']['modelSelection']['val']['lastUsed'];print('provider:',v['provider']);print('model:',v['model'])"
provider: ollama-cloud
model: deepseek-v4.1-flash

The delivered system message for this session reads, verbatim: "You are a coding agent powered by the deepseek-v4.1-flash model." — and the runtime context block names the harness itself as Current DeepSeek Harness implementation checkout: /home/atrawog/.local/share/mise/installs/node/26.11.1/lib/node_modules/@deepseek-ai/dsh/. DeepSeek Harness is the harness, ollama-cloud the provider, deepseek-v4.1-flash the model id.

Agent: charly

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

…s a loadable pipeline

charly's module graph pinned github.com/opencharly/plugin-migrate/candy/plugin-migrate
v0.2026280.2238 — two releases behind the reshape that makes `charly migrate`'s own output
loadable (plugin-migrate#22 -> v2026.294.0359, #24 -> v2026.294.1337). The compiled-in
`command:migrate` is a Go module pin, so no released charly could reach the fix: the shipped
reshape emitted a lifted verb as bare step-level sugar, declared the pipeline arg with an
invalid `type:`, left the retired per-lane `$pr` unbound, and flattened `concurrency: {lanes:
N}` into an inert `config:` knob — so the file it wrote failed its own loader with `plan[0] has
no intent keyword`.

The pin moves to the released v0.2026294.1337 (fetched, re-resolved to e4980779, whose tree is
the tree PR #24 passed on), and go.sum carries its two hashes. `go mod tidy` moves nothing
else, `go.work` does not move (its `go` directive follows go.mod), and the tag requires
sdk v0.2026270.1147 / spec v0.2026270.938 — older than this repo's pins, so no transitive
raise and no toolchain directive move.

One new R10 bed, check-migrate-local, witnesses the DELIVERY (no bed in this repo drove
`charly migrate`): a committed fixture carries the retired `kind: pipeline` grammar (`stages:`
+ a lifted-verb `kind:` + a `$pr` reference + `concurrency: {lanes: N}`). Step 1 is the
negative control (the retired spelling is refused, naming both retired keys); step 2 copies the
fixture, migrates it, asserts every emitted-shape clause (intent label with the verb key as its
sibling and no bare sugar, the pooled lane arm, the `prs:` collection arg with no invalid
`type:`, and the `$pr` -> `$pr.stdout` rebinding) and then loads it with `box validate` rc=0.
The same step text against the pre-bump binary fails at the intent-label assertion.

Closes #1018

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

Copy link
Copy Markdown
Contributor

Review — PASS

What the PR does

A one-line module-pin bump (plugin-migrate v0.2026280.2238 → v0.2026294.1337), the two matching go.sum hashes, a new R10 bed (check-migrate-app template + check-migrate-local), and a 57-line retired-grammar fixture. I re-derived every claim against the diff.

Per-file verification

charly/go.mod (+1/−1) — Exactly the claimed pin move. The require line now names v0.2026294.1337; no other module line moves, consistent with the body's "one-part cutover" and with the pasted MVS reasoning (tag requires older sdk/spec, so nothing is raised).

charly/go.sum (+2/−2) — The /go.mod hash is byte-identical old→new (h1:8I/qWLci…), exactly as the body asserts ("dependency SET did not change"), and the content hash h1:D7fkIBb4CpPd/fVjzOUl4qhOkv+U5vlYJnDIP7bwnMA= matches the proxy ziphash pasted in "How tested". No stray transitive entries appear, matching the claim that the tag drags nothing in.

charly.yml (+111/−0) — check-migrate-app is a candyless kind: local template (no host:), following the existing check-loader-flat-import-* shape; check-migrate-local is the disposable host: local bed with a two-step plan. The assertions line up one-for-one with the body's emitted-shape table: retired stages:/concurrency: gone, - run: assess present with no bare - agent: sugar, item_var: pr / batch_size: 16 / prs: present, $pr.stdout rebound, no type: under args:, and the emitted document re-loaded via box validate with 0 warnings, 0 errors. Step 1 is a genuine negative control — it fails if the fixture is not refused, or if the refusal does not name both retired keys, so step 2 cannot pass vacuously. YAML indentation is internally consistent and valid.

charly/testdata/migrate-retired-pipeline/charly.yml (+57/−0) — Carries the retired grammar verbatim (stages: with lifted-verb kind:, concurrency: {lanes: 16}), pins the kind: pipeline provider at a fixed tag (needed, since without it the loader errors before the intent gate), and the $pr reference is genuinely load-bearing (it is what forces the reshape to declare args: and rebind to $pr.stdout). It lives under testdata/, which the manifest walk skips, so it cannot shadow a real candy — consistent with the repo's box validate still passing.

Body honesty / consistency

  • Numstat (111/1/2/57 insertions, 3 deletions) exactly reproduces the diff; total 171/3 checks out.
  • CalVer 2026.295.0704 is derivable from the commit timestamp (2026-10-22T09:04:37+02:00 → day 295, 07:04 UTC), matching the claim that the stamp is commit-derived.
  • go version -m hash for plugin-migrate matches go.sum; plugin-box/sdk versions are consistent.
  • The 49 deploys = 48 + 1 reconciliation is defensible: check-migrate-app lacks a host: and is a template, so only check-migrate-local counts as a deploy; the pasted box validate line reports 49.
  • R7 discrimination is coherent: step 1 passes on both binaries (fixture is pre-cutover), step 2 fails on the pre-bump binary (no intent label on the lifted verb stage) and passes post-bump — so the coverage genuinely fails without the change.
  • The consumer A/B (eval-omarchy) is internally consistent: both arms share an identical pre-migrate state, the old build leaves 10 bare verb keys / 0 intent steps / 2 invalid args.type:, the new build yields 0 bare keys / 12 intent steps / 0 invalid types, and the residual error (pipeline: entity has no stages) is correctly attributed to the consumer's own plugin-pipeline pin, not this reshape.

Tests

The added bed is the correct witness for a module pin whose only observable is the emitted document: it validates the artifact at its real boundary (re-read by the same binary's box validate) rather than by regex alone, and it ships a negative control. Without the bump, step 2 fails.

Security / scope

No secrets, no injection surface, no privilege change. The fixture's single @github ref is a pinned plugin fetch, the same mechanism the existing bed roster uses. Four files, all directly tied to the change; no Go source, schema, gitlink, or generated artifact touched; no legacy path duplicated (the bed reuses the established template+fixture pattern).

Comments

The comment thread is empty — no maintainer/operator sign-off exists, and none is required since the change stands on its own pasted evidence.

Minor, non-blocking observations

  • check-migrate-app's charly-present step is not part of the check-live two-step count, implying from: overrides the template plan; it remains runnable standalone, so it is not dead, but the body does not state which semantics apply.
  • The body's 48 + 1 deploy arithmetic depends on the template not being counted as a deploy (no host:); the pasted 49 is consistent with that reading, but the reasoning is implicit rather than stated.

Neither affects correctness of the pin bump or the witness.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants