Resolve references across eligible pipeline targets
This commit is contained in:
@@ -31,21 +31,21 @@ before execution:
|
||||
The CLI writes the resolved pipeline and digest to diagnostics.
|
||||
|
||||
Pipeline profiles and artifact lanes may include reference binding maps keyed by
|
||||
extractor reference slot name. During resolution, pipeline-level bindings act as
|
||||
defaults for selected lanes whose extractor declares the slot, lane-level
|
||||
bindings override or add lane bindings, runtime `--reference` requests override
|
||||
config bindings, and runtime unbinds remove optional bindings. Flat runtime slot
|
||||
names are resolved only when exactly one selected lane declares the slot;
|
||||
otherwise the CLI requires `lane.slot`. Resolution validates bindings against
|
||||
extractor specs and stores the bindings in target-aware resolved reference
|
||||
holders. It does not read reference files or include reference bytes in source
|
||||
digests.
|
||||
reference slot name. During resolution, pipeline-level bindings act as defaults
|
||||
for selected chunk, extractor, and normalizer targets that declare the slot;
|
||||
target-local bindings override or add bindings for that target. Runtime
|
||||
`--reference` requests override extractor config bindings, and runtime unbinds
|
||||
remove optional extractor bindings. Flat runtime slot names are resolved only
|
||||
when exactly one selected extractor lane declares the slot; otherwise the CLI
|
||||
requires `lane.slot`. Resolution validates bindings against the declaring
|
||||
target specs and stores the bindings in target-aware resolved reference holders.
|
||||
It does not read reference files or include reference bytes in source digests.
|
||||
|
||||
During run preparation, resolved file references are materialized before any
|
||||
LLM-backed pipeline work. Config bindings resolve relative to the config file,
|
||||
CLI bindings resolve relative to the current working directory, and materialized
|
||||
reference content is passed only to the matching lane extractor through
|
||||
`ExtractionRequest`. Materialization accepts UTF-8 text files, computes
|
||||
During run preparation, resolved extractor file references are materialized
|
||||
before any LLM-backed pipeline work. Config bindings resolve relative to the
|
||||
config file, CLI bindings resolve relative to the current working directory, and
|
||||
materialized reference content is passed only to the matching lane extractor
|
||||
through `ExtractionRequest`. Materialization accepts UTF-8 text files, computes
|
||||
`sha256:` content digests, records file origins, infers canonical base media
|
||||
types from file extensions, enforces declared byte limits, and warns for empty
|
||||
bound files. Media-type acceptance is checked only when a slot declares
|
||||
|
||||
Reference in New Issue
Block a user