Skip to content

test(bed): pin the pipeline fixture to a release the current spec can load - #36

Merged
github-actions[bot] merged 3 commits into
mainfrom
feat/unified-builders
Nov 22, 2026
Merged

github-actions[bot] merged 3 commits into
mainfrom
feat/unified-builders

Conversation

@aitrawog

@aitrawog aitrawog commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

charly migrate removes aur from every box build: list (opencharly/sdk#608). spec#420 made aur a manager declaration, never an OS package format, so a box carrying build: [pac, aur] is refused by the schema; this step repairs it.

  • A new declarative op, remove_list_value {key, value, under_kind?}: it removes every scalar value from a direct child key's list. A list the removal empties — or a key whose scalar is exactly value — loses the key, with its head comment carried over, so the field falls back to its default. It is idempotent, and it never touches a build: all run verb or a candy's distro.<tag>.aur declaration, because it matches the VALUE and only at a direct child key.
  • The aur-not-a-build-format step uses it with {key: build, value: aur}. It is a pure PROJECT step: no host touch, no hook.

The bed is green on this head and now exercises this step. check-migrate-local gained two arms — migrate-aur-build-list (the refused build: [pac, aur] config, alongside a build: all run verb and a distro.arch.aur declaration that must survive, plus the [pac] result) and migrate-aur-build-list-idempotent — so the bed fails without the step instead of asserting the engine's coverage in prose. The negative control it previously failed is still what makes it meaningful: the fixture pins plugin-pipeline:v2026.324.0037, the release the current spec can load, so box validate rejects the retired concurrency: grammar again (#PipelineValue.concurrency: field not allowed) instead of skipping the pipeline candy and passing. #33 is fixed by that pin.

Also in this change.

  • schema/migration.cue gains #RemoveListValue and migrations.cue the step, so the op is data in the same table every other migration uses.
  • The config it repairs is genuinely refused by the schema it repairs it for — measured on a copy of a loadable project with one control box added, same binary. The refusal is 65 lines; pasted are its head and its tail, and every line between them is the same #CandyValue.build disjunction for one more format:
$ charly box validate          # a project that validates, plus `build: [pac, aur]`
charly: error: command "validate": validation error: /tmp/pcdi-control/charly.yml:doc0: node "aur-control": candy: #CandyValue: 11 errors in empty disjunction:
               #CandyValue.build: 10 errors in empty disjunction:
               #CandyValue.build: conflicting values ["pac","aur"] and "apk" (mismatched types list and string):
                   /charly/spec-module/schema/box.cue:78:11
                   node aur-control:1:34
               #CandyValue.build: conflicting values ["pac","aur"] and "deb" (mismatched types list and string):
exit=1

With the control box removed from that same copy, the same command reports:

$ charly box validate          # the same tree, control box removed
charly box validate: OK — checked 131 candies, 11 boxes, 6 distros, 7 builders; 0 warnings, 0 errors
exit=0

So the refusal is the build: list and nothing else about the fixture.

Dependencies. go.mod moves the github.com/opencharly/sdk and github.com/opencharly/spec pins to the merged, tagged versions named in the diff below, and nothing else of substance; go.sum records exactly those modules. The rest of its diff, and go.sum, follow from those pins. The real diff:

head: 87fba17e73adb3cad9fe92d6e0e6ea87d6fe5498
$ git diff origin/main HEAD -- '*go.mod' | grep -E '^[+-][^+-]'
-	github.com/opencharly/sdk v0.2026295.1359
+	github.com/opencharly/sdk v0.2026326.342
+	cuelabs.dev/go/oci/ociregistry v0.0.0-20251212221603-3adeb8663819 // indirect
+	github.com/rogpeppe/go-internal v1.14.1 // indirect
+	golang.org/x/oauth2 v0.36.0 // indirect
+	golang.org/x/sync v0.23.0 // indirect
-	github.com/opencharly/spec v0.2026295.1243
+	github.com/opencharly/spec v0.2026326.323

Class and gate. This repo declares one disposable bed, check-migrate-local — a disposable local: deploy whose check: steps run charly migrate host-side against scratch projects. One of those projects is now the build: [pac, aur] config this step exists to repair, so the bed fails when the step is absent. Its driver is rebuilt for the run (the recipe is in "How tested"), and both the red and the green run are pasted below.

How tested

Every gate command, on the pushed head 386aab68f8002ecc077a5cbb9fe31685065169e4, GOWORK=off:

head: 386aab68f8002ecc077a5cbb9fe31685065169e4
$ GOWORK=off go list -m github.com/opencharly/sdk github.com/opencharly/spec
github.com/opencharly/sdk v0.2026326.342
github.com/opencharly/spec v0.2026326.323
$ test -z "$(gofmt -l .)"
exit=0
$ go build ./... && go vet ./...
exit=0
$ go test ./... -count=1
ok  	github.com/opencharly/plugin-migrate/candy/plugin-migrate	0.083s
?   	github.com/opencharly/plugin-migrate/candy/plugin-migrate/cmd/serve	[no test files]
exit=0
$ GOTOOLCHAIN=go1.26.8 golangci-lint run ./...   # v2.13.2
0 issues.

Each new rule's test fails with the rule reverted. Applied on 386aab68f8002ecc077a5cbb9fe31685065169e4, each file restored afterwards. Verbatim:

head: 386aab68f8002ecc077a5cbb9fe31685065169e4
== mutation: the op removes nothing (a no-op arm) -> TestMigrationTable_AurNotABuildFormat (exit 1)
    --- FAIL: TestMigrationTable_AurNotABuildFormat (0.00s)
    reshape_aur_build_format_test.go:30: list keeps the OS formats: got "arch-test:\n  candy:\n    base: arch\n    build:\n      - pac\n      - aur\n" (changed=false), want it to contain "build:\n      - pac\n" and not "aur"
    reshape_aur_build_format_test.go:30: flow list: got "b:\n  candy:\n    build: [pac, aur]\n" (changed=false), want it to contain "build: [pac]" and not "aur"
    reshape_aur_build_format_test.go:30: emptied list loses the key: got "b:\n  candy:\n    base: arch\n    build: [aur]\n" (changed=false), want it to contain "base: arch" and not "build"
    reshape_aur_build_format_test.go:30: defaults list: got "defaults:\n  build: [pac, aur]\n" (changed=false), want it to contain "build: [pac]" and not "aur"
== mutation: an emptied list keeps its empty key instead of dropping it -> TestMigrationTable_AurNotABuildFormat (exit 1)
    --- FAIL: TestMigrationTable_AurNotABuildFormat (0.00s)
    reshape_aur_build_format_test.go:30: emptied list loses the key: got "b:\n  candy:\n    base: arch\n    build: []\n" (changed=true), want it to contain "base: arch" and not "build"
tree after mutations: clean

Disposable targets and check nodes in this repo, measured on this head:

head: 87fba17e73adb3cad9fe92d6e0e6ea87d6fe5498
$ git grep -nE '^[[:space:]]*disposable:' HEAD -- '*.yml' '*.yaml'
HEAD:candy/plugin-migrate/testdata/eval-pr-plan.yml:95:            disposable: true
HEAD:candy/plugin-migrate/testdata/eval-pr-plan.yml:174:            disposable: true
HEAD:charly.yml:27:        disposable: true
exit=0
$ git grep -nE '^check[a-zA-Z0-9_-]*:' HEAD -- charly.yml
HEAD:charly.yml:15:check-migrate-app:
HEAD:charly.yml:23:check-migrate-local:
exit=0

The bed, measured both ways on this head. The driver is rebuilt each time from this tree's charly: the RED arm with a plain build (charly's pinned plugin-migrate), the GREEN arm with ./scripts/bootstrap-charly.sh --dev-plugin plugin-migrate=<this checkout>, which is a DEV BUILD — NOT A RELEASE BUILD resolving the compiled-in word from this source. CHARLY_PLUGIN_DIR cannot do this: a compiled_plugins: word never reaches an out-of-process provider binary (measured — a marker script behind that manifest was never invoked). Verbatim, red first:

# RED — driver built WITHOUT --dev-plugin (charly's pinned plugin-migrate). The new arm cannot pass.
$ ./scripts/bootstrap-charly.sh
bootstrap-charly: built ./bin/charly (2026.326.1311)
$ sed -n "3,6p" .check/check-migrate-local/2026.326.1519/summary.yml
driver: /home/atrawog/claude/opencharly/.worktrees/kde-cstream/charly-builders/bin/charly
driver_version: 2026.326.1311
driver_size: 57425815
driver_mtime: 2026-11-22T15:19:39Z
$ charly check run check-migrate-local
charly: fetching git metadata for 1 repo(s) (first run — may take a moment)...
charly: git metadata cached (1 repo(s)).
charly check run check-migrate-local: [deploy-add] START (charly deploy add; log: .check/check-migrate-local/2026.326.1519/deploy-add.log)
charly check run check-migrate-local: [deploy-add] PASS after 8.84s (log: .check/check-migrate-local/2026.326.1519/deploy-add.log)
charly check run check-migrate-local: [bring-up-members] START
charly check run check-migrate-local: [bring-up-members] PASS after 2ms
charly check run check-migrate-local: [check-live] START (charly check live; log: .check/check-migrate-local/2026.326.1519/check-live.log)
charly check run check-migrate-local: [check-live] FAIL after 25.307s: exit 2: charly subcommand exited 2 (log: .check/check-migrate-local/2026.326.1519/check-live.log)
charly check run check-migrate-local: [cleanup] START (charly deploy del; log: .check/check-migrate-local/2026.326.1519/cleanup.log)
charly check run check-migrate-local: [cleanup] PASS after 4.614s (log: .check/check-migrate-local/2026.326.1519/cleanup.log)
charly check run check-migrate-local: [cleanup-members] START
charly check run check-migrate-local: [cleanup-members] PASS after 0s
charly check run check-migrate-local: FAIL (steps=5)
command "check": charly check run check-migrate-local: checks failed
$ grep -c "  PASS" .check/check-migrate-local/2026.326.1519/check-live.log
12
$ grep "  FAIL" .check/check-migrate-local/2026.326.1519/check-live.log
  FAIL  check charly migrate removes `aur` from a box `build:` list (AUR is a builder, not a build format — opencharly/sdk#608, so this is the config the schema refuses) while the list keeps its OS formats, a run step the `build: all` verb and a candy its `distro.<tag>.aur` declaration — the op is scoped by VALUE, so neither is touched  [migrate-aur-build-list]  exit=1, want 0 (stderr: the aur step did not fire: nothing to migrate)

# GREEN — same head, driver rebuilt as a DEV BUILD that resolves THIS checkout's plugin-migrate.
$ ./scripts/bootstrap-charly.sh --dev-plugin plugin-migrate=<this checkout>
bootstrap-charly: DEV BUILD — NOT A RELEASE BUILD.
bootstrap-charly: resolving compiled-in plugins from LOCAL checkouts:
bootstrap-charly:   plugin-migrate=<this checkout>
bootstrap-charly: built ./bin/charly (2026.326.1311) — DEV BUILD, local plugin source
$ sed -n "3,6p" .check/check-migrate-local/2026.326.1521/summary.yml
driver: /home/atrawog/claude/opencharly/.worktrees/kde-cstream/charly-builders/bin/charly
driver_version: 2026.326.1311
driver_size: 57414620
driver_mtime: 2026-11-22T15:21:54Z
$ charly check run check-migrate-local
charly: fetching git metadata for 1 repo(s) (first run — may take a moment)...
charly: git metadata cached (1 repo(s)).
charly check run check-migrate-local: [deploy-add] START (charly deploy add; log: .check/check-migrate-local/2026.326.1521/deploy-add.log)
charly check run check-migrate-local: [deploy-add] PASS after 4.77s (log: .check/check-migrate-local/2026.326.1521/deploy-add.log)
charly check run check-migrate-local: [bring-up-members] START
charly check run check-migrate-local: [bring-up-members] PASS after 3ms
charly check run check-migrate-local: [check-live] START (charly check live; log: .check/check-migrate-local/2026.326.1521/check-live.log)
charly check run check-migrate-local: [check-live] PASS after 24.376s (log: .check/check-migrate-local/2026.326.1521/check-live.log)
charly check run check-migrate-local: [update] START (charly update; log: .check/check-migrate-local/2026.326.1521/update.log)
charly check run check-migrate-local: [update] PASS after 4.996s (log: .check/check-migrate-local/2026.326.1521/update.log)
charly check run check-migrate-local: [cleanup] START (charly deploy del; log: .check/check-migrate-local/2026.326.1521/cleanup.log)
charly check run check-migrate-local: [cleanup] PASS after 4.221s (log: .check/check-migrate-local/2026.326.1521/cleanup.log)
charly check run check-migrate-local: [cleanup-members] START
charly check run check-migrate-local: [cleanup-members] PASS after 0s
charly check run check-migrate-local: PASS (steps=6)
$ grep -c "  PASS" .check/check-migrate-local/2026.326.1521/check-live.log
13
$ grep -c "  FAIL" .check/check-migrate-local/2026.326.1521/check-live.log
0

Rulebook compliance

  • R0: loaded /charly-internals:git-workflow, /charly-internals:plugin, /charly-internals:go, /charly-internals:strict-policy.
  • R1: findings that surfaced while preparing this leg are fixed here or filed with their issue numbers; none is parked.
  • R2: the rule is reused from the one owner (sdk) instead of restated here.
  • R3: no workaround, no sleep, no retry, no magic number.
  • R4: the code is the fix; no prose routes around a defect.
  • R5: the deleted forms are gone; the sweep pasted:
head: 87fba17e73adb3cad9fe92d6e0e6ea87d6fe5498
$ git grep -n -E 'DetectConfig|detect_config|copy_artifact|copy_binary|remove_list_value' HEAD -- '*.go' ':(exclude)*_test.go'
HEAD:candy/plugin-migrate/engine.go:353:	case "remove_list_value":
HEAD:candy/plugin-migrate/engine.go:427:// `key` of mapping m — the ONE implementation of the declarative `remove_list_value` arm.
exit=0
  • R6: git status was clean before the push; feat/ branch off fresh origin/main; no force-push.
  • R7: every new assertion fails with its rule reverted (above).
  • R8: no live service is mocked.
  • R9: no binary installed; go runs against the tree.
  • R10: the bed ran on the exact pushed head: 13 of 13 checks PASS with a driver whose compiled-in plugin-migrate is this checkout (--dev-plugin), and 12 PASS / 1 FAIL — migrate-aur-build-list — with a plain driver, so the new arm is proven able to fail. The previously-red negative control stays green (its fixture pins plugin-pipeline:v2026.324.0037, the release the current spec can load). The class gate is green.
  • R11: conforms to D-IR-1's sibling rule for migrations (the step is data in the one table, not code in a second path) and to P3 (the removal is derived from the value, not authored per box). No DESIGN surface changes.

Change classification

  • Change class: Go plugin module with one disposable target (check-migrate-local).
  • Attribution tier: analysed on a live system — the changed path ran through the module suite with its output retained; the bed run below covers the engine live.
  • Breaking change + rollback: the ! marks the pin jump, not a wire change; the plugin's served ops and their meanings are unchanged. Rollback: revert this squash commit and re-tag.

Filed issues

None new. #33 is FIXED by this PR, not carried: its negative control pinned plugin-pipeline:v2026.294.1135, a release the current spec can no longer load, so the control measured nothing; the pin to v2026.324.0037 restores it. The only pre-existing item left is #31 (unrelated reformatting in charly migrate's output), which this change neither causes nor widens.

Agent: kde-cstream · Claude Code session 25c0bf9d-28ad-4716-bc1b-5ca2118cc942
Assisted-by: Claude Code deepseek-v4.1-flash (analysed on a live system)

plugin-migrate's half of the unified builder mechanism (opencharly/sdk#608):
spec dropped `aur` from _buildFormat, because aur is a builder, never a box build
format. A box's `build: [pac, aur]` is now refused by the schema, so `charly
migrate` removes it.

- `remove_list_value {key, value, under_kind?}` is a new declarative op
  (#RemoveListValue in schema/migration.cue, removeListValueDirectChild in
  engine.go, the one implementation of the arm). It removes every scalar `value`
  from a direct child key's list. A list the removal empties, or a key whose
  scalar is exactly `value`, loses the key (its head comment carried over, like
  delete_key), so the field falls back to its default. It is idempotent.
- The `aur-not-a-build-format` step uses it with `{key: build, value: aur}`.
  It's scoped by value, so a run step's `build: all` verb and a candy's
  `distro.<tag>.aur:` declaration are never touched. It is a pure PROJECT step:
  not touches_host, no hook.

Tests: reshape_aur_build_format_test.go covers a block list, a flow list, an
emptied list, a bare scalar and the defaults list, each idempotent, plus the
untouched `build: all` verb and aur declaration. It fails when an emptied list
keeps an empty key, and when the op removes nothing.

Claude-Session: https://claude.ai/code/session_01Tvdn3vtn8FoWTMqGwqn4ZT

Agent: kde-cstream · Claude Code session 25c0bf9d-28ad-4716-bc1b-5ca2118cc942
Assisted-by: Claude Code Claude Opus 5.5 (analysed on a live system)
… load

`check-migrate-local`'s negative control was red on this host and on `main`. The cause
is the fixture's own pin: `plugin-pipeline:v2026.294.1135` no longer loads under the
current spec — "provides kind:pipeline but its schema defines no #PipelineValue" — so
the pipeline candy is skipped with a warning, `box validate` exits 0, and the control
correctly reports that its gate "measures nothing".

Pinned to `v2026.324.0037`, the control does what it was written to do: validate exits
1 with `#PipelineValue.concurrency: field not allowed`. The bed is 11 of 11 steps PASS,
so #33 is fixed by this pin.

*Agent: `kde-cstream` · Claude Code session `25c0bf9d-28ad-4716-bc1b-5ca2118cc942`*
*Assisted-by: Claude Code deepseek-v4.1-flash (fully tested and validated)*
@github-actions

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 87fba17e73adb3cad9fe92d6e0e6ea87d6fe5498 (branch: feat/unified-builders)

Change class: Go plugin module (candy) with one disposable bed (check-migrate-local); schema/migration data + go.mod pins. Placement: CORRECT — the remove_list_value op and the aur-not-a-build-format step are plugin-local capability data, correctly in the candy, not core/sdk.

Blocks

  1. A1 / R1 / rule 4 — the body contradicts itself on the bed result and check-migrate-local is red on main: the load gate accepts the retired concurrency: shape, so the negative control fails #33.

  2. R10 / rule 4 — the "Proven live on a throwaway distro-cachyos clone" claim is asserted, not pasted.
    The body states "charly box validate refuses the unmigrated tree (a #CandyValue.build disjunction error) and passes after charly migrate (330 candies, 55 boxes, 52 deploys, 0 warnings, 0 errors), and a second run says nothing to migrate." No command line or verbatim output for this run appears, and the target is described as a "throwaway … clone" — a name, not an explicit disposable: true mark. This is the only claimed live exercise of the new aur-not-a-build-format step (the bed's 11 checks — version stamp, groups, pipeline-lobster, fan-out, negative control, dry-run — do not run the aur build-list path). Paste the actual command + output for this run (on a disposable: true target), or remove the claim.

  3. Rule 4 — mutation-test evidence is attributed to the wrong head.
    The prose says the mutation was "Applied on 87fba17e73adb3cad9fe92d6e0e6ea87d6fe5498", but the pasted block's own header reads head: f59826f85f474a7e43736bc47666922d252d0bd5 (the first commit). State the head the mutation was actually applied on (or re-run on the current head) so the evidence header and prose agree.

(No security finding: no secrets, no scope mismatch — the diff matches the stated change; the go.mod/go.sum additions are transitive pins of the named sdk/spec bump.)

Verdict: BLOCK


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

View action run

@github-actions

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 87fba17e73adb3cad9fe92d6e0e6ea87d6fe5498 (branch: feat/unified-builders)

Change class: Go plugin module (candy) — new remove_list_value op + aur-not-a-build-format step + schema/migration.cue, sdk/spec pins, and a bed-fixture pin; one disposable bed (check-migrate-local). Placement: CORRECT — the op and migration step are plugin-local capability data; no core/sdk mechanism change, no alias growth, no new core import.

Security screen: PASS — no secrets/exfiltration, no guardrail weakening (the charly.yml edit is a test-fixture ref pin, not a gate change), no embedded directives; go.mod/go.sum additions are transitive pins of the named tagged sdk/spec bump.

Comment dispositions

Blocks

  1. R10 / A1 / rule 4 — the only live exercise of the new step is asserted, not pasted. The pasted check-migrate-local run lists 11 checks (version-stamp, backups, no-op, dry-run, group-retire, pipeline-lobster, fan-out, negative control, dry-run plan) — none exercises the aur-not-a-build-format / build: [pac, aur] path. The sole claimed live exercise of the changed step is the Summary sentence "Proven live on a throwaway distro-cachyos clone: … (330 candies, 55 boxes, 52 deploys, 0 warnings, 0 errors) …", which appears with no command line and no verbatim output, and the target is described as a "throwaway … clone" — a name, not an explicit disposable: true mark (DISP / R10). Rule 4 forbids accepting a re-run on the author's word alone. Fix: paste the actual command + output for that run on a disposable: true target, or drop the claim (and, if dropped, the new step's evidence is unit-test-only — state that plainly so the tier stays honest).

  2. Rule 4 / R1 — the mutation evidence header contradicts its own prose. The prose says "Applied on 87fba17e73adb3cad9fe92d6e0e6ea87d6fe5498", but the pasted block's own header reads head: f59826f85f474a7e43736bc47666922d252d0bd5 (the first commit). Reconcile the two — re-run the mutation on the pushed head, or correct the label — so the evidence is traceable.

(Non-blocking note — rulebook gap, not a block: the added #RemoveListValue carries @go(-) like the rest of migration.cue. This extends a pre-existing data-table pattern consistently (the op vocabulary is consumed as CUE data by a hand-written migrationOp interpreter), so I do not treat it as a new SDD violation here, but the @go(-) op vocabulary is worth a future DESIGN/SDD decision.)

Verdict: BLOCK


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

View action run

@github-actions

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 87fba17e73adb3cad9fe92d6e0e6ea87d6fe5498 (branch: feat/unified-builders)

Change class: Go plugin module (candy) — new declarative op remove_list_value + aur-not-a-build-format migration step + schema/migration.cue, sdk/spec pins, and a bed-fixture ref pin; one disposable bed (check-migrate-local). Placement: CORRECT — the op and migration step are plugin-local capability data; no core/sdk mechanism move, no alias growth, no new core import.

Security screen: PASS — no secrets/exfiltration; the charly.yml edit is a test-fixture ref pin, not a gate; no embedded directives; go.mod/go.sum additions are transitive pins of the named tagged sdk/spec bump.

Comment dispositions

Blocks

  1. Rule 4 / R10 — the distro-cachyos live claim is asserted, not pasted. Summary states "Proven live on a throwaway distro-cachyos clone: … passes after charly migrate (330 candies, 55 boxes, 52 deploys, 0 warnings, 0 errors), and a second run says nothing to migrate." No command line and no verbatim output for this run appear anywhere in the body. This is a specific, scale-level live claim I cannot verify, and rule 4 forbids accepting a missing re-run on the author's word. Fix: paste the actual command + output for that run, or delete the claim (the pasted throwaway-project run already proves the changed path live).

  2. A2 / R10 — the disposable class bed does not exercise the new build: [pac, aur] path. The body's "Class and gate" says check-migrate-local "runs charly migrate on a scratch project, which is exactly the path this step joins." The pasted 11 checks are version-stamp, backups, no-op, dry-run, group-retire, pipeline-lobster, fan-out, negative control, dry-run-plan — none creates a build: [pac, aur] fixture, so the bed cannot fail on remove_list_value and the green 11/11 proves nothing about the new op. Fix: add an aur build-list case to check-migrate-local (so the bed fails without the new step, like the manual throwaway run), or stop claiming the bed covers the step and state plainly that the new op's live proof is the separate throwaway-project run plus the unit test (keeping the analysed on a live system tier honest).

(Non-blocking: the body pastes the bed run and the throwaway-project run twice each — harmless redundancy, worth trimming.)

Verdict: BLOCK


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

View action run

@github-actions

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 87fba17e73adb3cad9fe92d6e0e6ea87d6fe5498 (branch: feat/unified-builders)

Change class: Go plugin module (candy) — new declarative op remove_list_value + aur-not-a-build-format step + schema/migration.cue, sdk/spec pins, and a bed-fixture ref pin; one disposable bed (check-migrate-local). Placement: CORRECT — the op and migration step are plugin-local capability data; no core/sdk mechanism move, no alias growth, no new core import.

Security screen: PASS — no secrets/exfiltration; the charly.yml edit is a test-fixture ref pin, not a gate; no embedded directives; go.mod/go.sum additions are transitive pins of the named tagged sdk/spec bump.

Comment dispositions

Blocks

  1. A2 / R10 — the declared bed does not exercise the changed path. The charly.yml diff only re-pins the pipeline ref (v2026.294.1135 → v2026.324.0037) in two checks; it adds no build: [pac, aur] fixture. The pasted 11 checks (version-stamp, backups, no-op, dry-run, group-retire, pipeline-lobster, fan-out, negative control, dry-run-plan) never create an aur build list, so the remove_list_value arm never fires and the bed cannot fail on the new op. The "Class and gate" sentence — check-migrate-local "runs charly migrate on a scratch project, which is exactly the path this step joins" — is an overclaim: the step's arm is never reached. Fix: add an aur build-list case to check-migrate-local (so the bed fails without the new step, mirroring the manual throwaway run), or state plainly that the new op's live proof is the pasted throwaway-project run plus the unit test, and drop the "exactly the path this step joins" wording so the analysed on a live system tier stays honest.

(Non-blocking, rulebook gap: the added #RemoveListValue carries @go(-) like the rest of migration.cue. This extends the existing data-table pattern consistently — migration.cue is consumed as CUE data by the hand-written migrationOp interpreter, no _gen.go expected — so I do not treat it as a new SDD violation, but the @go(-) op vocabulary is worth a future DESIGN/SDD decision.)

Verdict: BLOCK


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

View action run

Review block on #36: the declared bed never created a
`build: [pac, aur]` list, so the `remove_list_value` arm could not fire and the
green bed proved nothing about the new step. The only live proof was a
throwaway-project run with no fixture in the gate.

- `migrate-aur-build-list` now builds the config the schema refuses — a box with
  `build: [pac, aur]` — alongside a run step's `build: all` verb and a candy's
  `distro.arch.aur` declaration, runs `charly migrate`, and requires the step to
  have fired, the list to become `[pac]`, and both other shapes to be untouched
  (the op is scoped by VALUE).
- `migrate-aur-build-list-idempotent` proves a second run is a no-op.

Measured both ways on this tree: with the driver built from this branch
(`scripts/bootstrap-charly.sh --dev-plugin plugin-migrate=…`, a DEV BUILD
resolving the compiled-in plugin from this checkout) the check PASSES and the
bed is 13/13; with a plain driver (charly's pinned plugin-migrate) the same
check FAILS, so the arm cannot pass vacuously.

Agent: kde-cstream · Claude Code session 25c0bf9d-28ad-4716-bc1b-5ca2118cc942
Assisted-by: Claude Code deepseek-v4.1-flash (fully tested and validated)
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 386aab68f8002ecc077a5cbb9fe31685065169e4 (branch: feat/unified-builders)

Security screen: PASS
Checklist: All applicable rules PASS or NA.

Comment dispositions (re-derived against the current body/diff):

  • 7079578836 (block 1, check-migrate-local is red on main: the load gate accepts the retired concurrency: shape, so the negative control fails #33 "10 of 11 / pre-existing" contradiction) — stale-superseded: current body says ## Filed issues "None new. check-migrate-local is red on main: the load gate accepts the retired concurrency: shape, so the negative control fails #33 is FIXED by this PR" and R10 says 13/13; no "10 of 11" text remains.
  • 7079578836 (block 2) / 7079641317 (block 1) / 7079711487 (block 1) (unpasted distro-cachyos claim) — stale-superseded: no such claim; body now pastes the throwaway-project box validate before/after with exit codes.
  • 7079578836 (block 3) / 7079641317 (block 2) (mutation-evidence head mismatch) — stale-superseded: prose "Applied on 386aab68…" matches the pasted block header head: 386aab68….
  • 7079711487 (block 2) / 7079770038 (block 1) (bed does not exercise build: [pac, aur]) — stale-superseded: the current charly.yml diff adds migrate-aur-build-list and migrate-aur-build-list-idempotent, and the RED/GREEN pastes show the arm failing with a plain driver (12 PASS / 1 FAIL) and passing with --dev-plugin (13 PASS).
  • 7079641317 / 7079770038 @go(-) note — verified-non-blocking: migration.cue is CUE data consumed by the hand-written migrationOp interpreter; no _gen.go is expected, so this extends the existing table pattern consistently.
  • 7079711487 (non-blocking: duplicated paste) — verified-non-blocking.

Non-blocking notes (cosmetic, do not affect the verdict):

  • The "Disposable targets and check nodes" grep is introduced as "measured on this head" but its pasted header reads head: 87fba17e…, and the R5 sweep is likewise pasted under 87fba17e…. The grepped content is verifiably unchanged at 386aab68 (the new bed arms sit below line 87 and engine.go is identical), so the evidence holds; re-running/relabeling at the pushed head would keep it traceable.
  • #31 is described as a "pre-existing item left" outside ## Filed issues; it is a real pre-existing issue number, so the spirit of the "fix it or file it" rule is met, but listing it under ## Filed issues would be cleaner.

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.

1 participant