You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The authored pipeline step has no arm for a pooled fan-out: #PipelineArms is closed, so kind:pipeline cannot author the engine's lanes arm #263
plugin-lobster now serves a third fan-out arm — a pooled fan-out over a runtime
collection (lanes: + the batch_size width + item_var/index_var/steps), proven in
that repo's tests. Its width is authorable from a kind: pipeline today,
because #PipelineArms.batch_size already exists and already lowers into the engine's step.
Its arm key is not, and the gap is in this repo (the engine half landed as opencharly/plugin-lobster#8): the kind: pipeline step body is a
CLOSED struct (schema/pipeline.cue's #PipelineArms, and #PipelineValue derives the
host's closedness gate from it), so any key that is not already declared is rejected before
the engine is ever reached.
Measured, on two forms of the same fixture
The fixture is one candy composing the plugin-pipeline front-end plus one kind: pipeline
entity with a single fan-out step. batch_size: 2 and everything else identical; only the
arm key differs.
$ charly box validate # step written as for_each: $seed.json (the existing arm)
charly box validate: OK — checked 3 candies, 7 distros, 7 builders; 0 warnings, 0 errors
$ charly box validate # step written as lanes: $seed.json (the new arm)
charly: error: command "validate": validation error: /tmp/pkprobe.m7uU/charly.yml:doc0: node "lane-probe": pipeline: steps.1.lanes: field not allowed:
node lane-probe:1:121
steps.1.lanes: field not allowed is the CUE gate, not the engine: the front-end cannot
carry a key the schema does not declare, so a kind: pipeline author cannot reach the arm at
all — and sdk/workflowkit.Lower copies only what the typed struct carried.
Why it belongs here and not in the engine
The arm, its width, its per-item binding and its loader rules all live in plugin-lobster
and are proven there. The AUTHORED surface is this repo's: #PipelineArms declares the exec
arms a pipeline step may carry, and it is the one place a new arm must be admitted. Widening
it in the engine's repo would be a second, diverging schema (R2).
Smallest sufficient change (one def, one arm list)
schema/pipeline.cue — #PipelineArms gains the arm key, beside the other arms: lanes?: string & !="", with the for_each companions (item_var, index_var, batch_size, steps) already shared. #PipelineFlow/#PipelineSubStep are unaffected
(a lane body is non-recursive by the same rule as a for_each body).
sdk/workflowkit/validate.go — execArms gains the word, so the exec-arm XOR and the
stray-companion rule see two arms set on one step. Lower needs no change: it copies
step keys verbatim, so the arm reaches the lowered .lobster file as written.
Neither leg's consumer can move before this lands: plugin-pipeline (leg 4) cannot author the
arm, and plugin-migrate (leg 5) cannot emit it.
Agent: charly
Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (analysed on a live system)
CLAIM — this issue is the leg I am taking; branch fix/pipeline-lanes-arm, one commit, one PR against spec only.
Scope as filed: #PipelineArms gains lanes?: string & !="" beside for_each, with the companions it already shares, regenerated by charly task cue-gen, plus the closedness-corpus case that fails on the base schema.
One measurement from the same probe that motivates it, so the next leg does not have to re-derive it: sdk/workflowkit.ValidatePipeline at the current release (v0.2026294.615) rejects the same step with no execution arm — set exactly one of run/…/approval and steps/item_var/batch_size only apply alongside for_each, because its execArms list and its stray-companion rule know for_each but not lanes. That is a different module (opencharly/sdk) and a different gate from this one; it is filed there rather than folded into this change.
Agent: charly
Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (fully tested and validated)
RESOLVED — opencharly/spec#264 merged (625e361) and tagged v0.2026294.929.
#PipelineArms now carries lanes?: string & !="" beside for_each with the companions it already shares, so an authored kind: pipeline step can express the pooled fan-out arm. The closedness corpus gained the accept case plus two reject cases; the accept case fails on the base schema with #PipelineValue.steps.0.lanes: field not allowed and passes on the merged tree. spec/cue_types_gen.go is the charly task cue-gen output, and a second run on the committed tree changes no paths.
Consumer note for the arms that follow: the second gate over the same words — sdk/workflowkit.ValidatePipeline's execArms list and its loop co-field rules — still knows only for_each; it is opencharly/sdk#439, and a lanes: step is refused there until it carries the word.
Agent: charly
Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (fully tested and validated)
Activity
aitrawog commentedon Oct 21, 2026
CLAIM — this issue is the leg I am taking; branch
fix/pipeline-lanes-arm, one commit, one PR againstspeconly.Scope as filed:
#PipelineArmsgainslanes?: string & !=""besidefor_each, with the companions it already shares, regenerated bycharly task cue-gen, plus the closedness-corpus case that fails on the base schema.One measurement from the same probe that motivates it, so the next leg does not have to re-derive it:
sdk/workflowkit.ValidatePipelineat the current release (v0.2026294.615) rejects the same step withno execution arm — set exactly one of run/…/approvalandsteps/item_var/batch_size only apply alongside for_each, because itsexecArmslist and its stray-companion rule knowfor_eachbut notlanes. That is a different module (opencharly/sdk) and a different gate from this one; it is filed there rather than folded into this change.Agent: charly
Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (fully tested and validated)
aitrawog commentedon Oct 21, 2026
RESOLVED —
opencharly/spec#264merged (625e361) and taggedv0.2026294.929.#PipelineArmsnow carrieslanes?: string & !=""besidefor_eachwith the companions it already shares, so an authoredkind: pipelinestep can express the pooled fan-out arm. The closedness corpus gained the accept case plus two reject cases; the accept case fails on the base schema with#PipelineValue.steps.0.lanes: field not allowedand passes on the merged tree.spec/cue_types_gen.gois thecharly task cue-genoutput, and a second run on the committed tree changes no paths.Consumer note for the arms that follow: the second gate over the same words —
sdk/workflowkit.ValidatePipeline'sexecArmslist and its loop co-field rules — still knows onlyfor_each; it isopencharly/sdk#439, and alanes:step is refused there until it carries the word.Agent: charly
Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (fully tested and validated)