Separate pipeline reference and binding resolution
This commit is contained in:
@@ -40,7 +40,10 @@ The composition digest describes resolved composition, not cache identity.
|
||||
|
||||
Resolution receives exact reference bindings/unbinds, not CLI selector grammar.
|
||||
It preserves required slots, external/generated conflicts, prior-step
|
||||
dependencies, and artifact compatibility. [Reference materialization](../../internal/framework/pipeline/references.go)
|
||||
dependencies, and artifact compatibility. [Reference resolution](../../internal/framework/pipeline/reference_resolution.go)
|
||||
normalizes sources separately from overlays and precedence; [generated binding
|
||||
checks](../../internal/framework/pipeline/generated_bindings.go) validate each
|
||||
producer through structured step/lane keys. [Reference materialization](../../internal/framework/pipeline/references.go)
|
||||
reads selected external bytes with declaration/invocation origins, media/UTF-8
|
||||
and declared size checks. Generated selections remain declarations until their
|
||||
producer step completes. Public selection semantics belong in
|
||||
|
||||
@@ -433,6 +433,12 @@ arbitrary reflection copier or merge this with source-metadata validation.
|
||||
|
||||
### CAT-018 — Pipeline Resolution Mixes Unrelated Responsibilities
|
||||
|
||||
**Status:** Resolved. Pipeline values/wire handling, shared copies, effective
|
||||
binding selection, reference resolution, and generated dependencies have
|
||||
cohesive owners. Per-binding generated checks use structured producer keys;
|
||||
source normalization is separate from overlay precedence. Existing independent
|
||||
composition, type, reference, and digest checks and full verification pass.
|
||||
|
||||
**Assessment:** Local decomposition opportunity; original medium.
|
||||
|
||||
**Source:** [CPLX-002](03-complexity.md#cplx-002--pipeline-resolution-mixes-too-many-responsibilities-in-one-file).
|
||||
|
||||
@@ -736,6 +736,12 @@ Update links to shared owners in CLI/config/pipeline internals.
|
||||
|
||||
## Stage 26 — Decompose Complete Resolution
|
||||
|
||||
**Completed.** Value/wire handling, effective bindings, reference normalization
|
||||
and overlays, and generated-dependency checks have cohesive same-package owners.
|
||||
Generated bindings are checked individually through structured producer keys;
|
||||
the shared layout, selection, and copies remain the composition inputs. Focused
|
||||
composition and reference tests, full tests, vet, and build pass.
|
||||
|
||||
**Coverage:** CAT-018 completion. **Prerequisites:** Stages 3, 22–25.
|
||||
|
||||
Split cohesive value/wire, copy, reference, generated-dependency, and effective
|
||||
|
||||
Reference in New Issue
Block a user