Wire resolved validator chains into runner
This commit is contained in:
@@ -208,8 +208,9 @@ The production CLI currently registers these module keys:
|
||||
- normalize: `noop`
|
||||
- output: `json`
|
||||
|
||||
Configured validator module lists are reserved for a future validator-chain
|
||||
feature and are rejected by current configuration validation.
|
||||
Validator chain overrides are configured on `chunk`, lane `extract`, lane
|
||||
`merge`, and lane `normalize` bindings. Validator keys are resolved against the
|
||||
registered validator catalog.
|
||||
|
||||
For YAML structure, Scriptorium profile sources, environment overrides, and
|
||||
module binding syntax, see [Configuration](config.md).
|
||||
|
||||
@@ -183,9 +183,11 @@ Within an artifact lane, the runner:
|
||||
|
||||
The current runner handoff is raw-output based. Extractors, mergers, and
|
||||
normalizers do not advertise validator chains through their module interfaces.
|
||||
Runner-side raw validation chains receive the raw module output plus
|
||||
stage, lane, module, source, and chunk provenance. Empty raw validation chains
|
||||
approve output by default.
|
||||
Runner-side raw validation chains receive the raw module output plus stage,
|
||||
lane, module, source, chunk, schema, session, reference, LLM client/profile,
|
||||
binding option, and run metadata context. Merge validators also receive the
|
||||
ordered extract outputs used by the merge, and normalize validators receive the
|
||||
accepted merge output. Empty raw validation chains approve output by default.
|
||||
|
||||
Resolved validator chains come from central default mappings unless a
|
||||
stage-local config override is set on `chunk`, lane `extract`, lane `merge`, or
|
||||
|
||||
Reference in New Issue
Block a user