Share catalog-independent pipeline layout

This commit is contained in:
2026-11-26 02:33:25 +00:00
parent ad357db22d
commit 39e578dc60
8 changed files with 215 additions and 122 deletions

View File

@@ -97,6 +97,9 @@ HTTP/client settings and test provider options stay at engine construction.
`Config.Resolve` clones configuration, resolves an empty programmatic cache-root
selection, validates structure, and passes selected pipeline/lanes, profile/cache
overrides, and exact reference changes to `pipeline.ResolvePipeline`.
Structural validation uses the framework's catalog-independent layout; an omitted
profile ID is supplied from the validated map key on a detached value. Document
presence, map-key matching, and reference-source checks remain configuration-owned.
The framework resolves module/default/validator/type/reference compatibility and
concrete producer controls before execution. Input slices/maps and the original
configuration do not become mutable aliases of the effective result.

View File

@@ -55,6 +55,9 @@ asset registry, or persistent execution identity to collect.
Pure [profile and binding copies](../../internal/framework/pipeline/profile_copy.go)
detach supported mutable options, references, and controls without interpreting
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.
Offline known-resource [preflight](../../internal/preflight/preflight.go) is
a separate composition check, not request execution or module construction.