Share pipeline module and reference target selection

This commit is contained in:
2026-11-26 02:39:10 +00:00
parent 39e578dc60
commit 510a079976
6 changed files with 339 additions and 138 deletions

View File

@@ -58,6 +58,10 @@ names or defaults; decoding and resolution perform their own normalization.
[LayoutPipeline](../../internal/framework/pipeline/layout.go) interprets the
catalog-independent step and lane identities and ordering. It retains empty
composable steps; complete resolution requires selected steps to contain lanes.
[SelectPipelineTargets](../../internal/framework/pipeline/selection.go) selects
chunk and lane module specifications, artifact kinds, and declared slots before
reference values are required. Complete resolution owns binding validation,
type/codec checks, capabilities, validators, and digest construction.
Offline known-resource [preflight](../../internal/preflight/preflight.go) is
a separate composition check, not request execution or module construction.

View File

@@ -690,6 +690,13 @@ Update config/pipeline phase documentation.
## Stage 24 — Centralize Module And Reference-Slot Selection
**Completed.** A shared target inventory selects chunk and lane bindings,
artifact-kind variants, and declared slots without requiring reference values or
constructing modules. Resolution consumes the selected specs and preserves
configured-lane eligibility for reference defaults. Tests cover kind variants,
defaults, subsets, missing selections, explicit restrictions, and unselected
default targets; pipeline and preflight suites pass. CLI adoption follows next.
**Coverage:** CAT-014 selection. **Prerequisites:** Stage 23.
Implement target inventory with existing spec lookups, selecting defaults/kind