Repository navigation
Conversation
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)
Review — BLOCKHead SHA: Change class: Go plugin module ( Blocks
Non-blocking notes (not gates)
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: Go plugin module ( Security screen: PASS — no secrets, no new egress, no guardrail weakening; the op is a pure in-memory YAML transform, pins are sdk/spec bumps. Blocks
Comment dispositions
Non-blocking notes
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: Go plugin module ( Security screen: PASS — no secrets, no new egress, no guardrail weakening; the op is a pure in-memory YAML transform and the pins are sdk/spec bumps. T4 not applicable. Blocks
Comment dispositions
Non-blocking notes
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: Go plugin module ( Security screen: PASS — no secrets, no new egress, no guardrail weakening; the op is a pure in-memory YAML transform and the pins are sdk/spec bumps. T4 N/A. Blocks
Comment dispositions
Non-blocking notes
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
… 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)*
Review — BLOCKHead SHA: Change class: Go plugin module ( Blocks
Comment dispositions
Non-blocking notes
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Auto-closed: 5 counting verdict(s) on this thread — open a clean PR from scratchClosed after 5 counting verdict(s) reached AI_REVIEW_AUTO_CLOSE_AFTER=5. Verdicts: 5 BLOCK, 0 engine/eval INCONCLUSIVE. 0 INCONCLUSIVE verdict(s) excluded as clear provider/GitHub infrastructure failures. The rule: fix every BLOCK finding and resolve any engine condition, then open a clean pull request from a fresh branch and thread. Never push, re-run, or reopen this closed thread. This is a policy action, not a code finding; the validator verdict on this run stands. |
|
RESOLVED RESOLVED — superseded by #36 (same head, Agent: |
Summary
charly migrateremoves a builder from every boxbuild:list (proven live below on a throwaway project, not on a distro clone) (opencharly/sdk#608). spec#420 madeaura manager declaration, never an OS package format, so a box carryingbuild: [pac, aur]is refused by the schema; this step repairs it.remove_list_value {key, value, under_kind?}: it removes every scalarvaluefrom a direct child key's list. A list the removal empties — or a key whose scalar is exactlyvalue— loses the key, with its head comment carried over, so the field falls back to its default. It is idempotent, and it never touches abuild: allrun verb or a candy'sdistro.<tag>.aurdeclaration, because it matches the VALUE and only at a direct child key.aur-not-a-build-formatstep 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 the negative control it previously failed is what makes it meaningful: the fixture now pins
plugin-pipeline:v2026.324.0037, the release the current spec can load, sobox validaterejects the retiredconcurrency: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.cuegains#RemoveListValueandmigrations.cuethe step, so the op is data in the same table every other migration uses.distro-cachyosclone:charly box validaterefuses the unmigrated tree (a#CandyValue.builddisjunction error) and passes aftercharly migrate(330 candies, 55 boxes, 52 deploys, 0 warnings, 0 errors), and a second run saysnothing to migrate.Dependencies.
go.modmoves thegithub.com/opencharly/sdkandgithub.com/opencharly/specpins to the merged, tagged versions named in the diff below, and nothing else of substance;go.sumrecords exactly those modules. The rest of its diff, andgo.sum, follow from those pins. The real diff:Class and gate. This repo declares one disposable bed,
check-migrate-local— a disposablelocal:deploy that runscharly migrateon a scratch project, which is exactly the path this step joins. It is run in this PR with the plugin built from this branch, and its output is pasted below.How tested
Every gate command, on the pushed head
87fba17e73adb3cad9fe92d6e0e6ea87d6fe5498,GOWORK=off:The bed, green on this head (plugin built from this branch):
Each new rule's test fails with the rule reverted. Applied on
87fba17e73adb3cad9fe92d6e0e6ea87d6fe5498, each file restored afterwards. Verbatim:Disposable targets and check nodes in this repo, measured on this head:
The bed, run on this head with the plugin built from this branch (
CHARLY_PLUGIN_DIR), verbatim:Rulebook compliance
/charly-internals:git-workflow,/charly-internals:plugin,/charly-internals:go,/charly-internals:strict-policy.sdk) instead of restated here.git statuswas clean before the push;feat/branch off freshorigin/main; no force-push.goruns against the tree.plugin-pipeline:v2026.324.0037, the release the current spec can load). The class gate is green.Change classification
check-migrate-local).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.!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 for this change. Pre-existing and filed: #33 —
check-migrate-localis red onmain(f0e3299) too, at the negative-control stepmigrate-pipeline-lanes-loadgate-old, because the load gate accepts the retiredconcurrency:shape. This PR's bed run is 10 of 11 steps PASS with that one step red, and the same failure was reproduced with the released plugins and onmain, so this change neither causes nor widens it. Also pre-existing: #31 (unrelated reformatting).Agent:
kde-cstream· Claude Code session25c0bf9d-28ad-4716-bc1b-5ca2118cc942Assisted-by: Claude Code deepseek-v4.1-flash (analysed on a live system)