Centralize pure pipeline profile and binding copies

This commit is contained in:
2026-11-26 02:29:52 +00:00
parent 383b43ab08
commit ad357db22d
17 changed files with 271 additions and 257 deletions

View File

@@ -100,6 +100,9 @@ overrides, and exact reference changes to `pipeline.ResolvePipeline`.
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.
Pipeline-owned profile and binding copies use the framework's pure copy helpers;
they preserve configured values and supported nil/empty containers, while
interpretation and normalization remain separate responsibilities.
Presence-aware selections preserve explicit invocation profile clearing, cache
overrides, and zero semantic-turn controls rather than collapsing into omission.

View File

@@ -52,6 +52,9 @@ registries and the shared native engine. Builders receive independently owned
build requests. Exact Go type, codec, evidence-projector, registration, and
constructor checks happen before source parsing. There is no correction transport,
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.
Offline known-resource [preflight](../../internal/preflight/preflight.go) is
a separate composition check, not request execution or module construction.