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.

View File

@@ -663,6 +663,13 @@ Update configuration/pipeline ownership documentation/comments.
## Stage 23 — Centralize Catalog-Independent Layout
**Completed.** Configuration validation and complete resolution share a detached
catalog-independent layout for normalized identities, step ordering, and sorted
lanes. Missing profile IDs use the validated config map key without mutation;
empty composable steps remain accepted by config and rejected by resolution.
Independent shape/reference/ownership tests and the specified package checks pass.
Module and reference-slot selection remains for the following stages.
**Coverage:** CAT-014 structure. **Prerequisites:** Stage 22.
Implement LayoutPipeline, reusing it in config structural validation and complete