Align D&D validator ordering
This commit is contained in:
@@ -298,6 +298,13 @@ canonical chunk JSON or artifact codec bytes. Validators execute in resolved
|
||||
order and stop at the first error or rejection. An empty chain approves the
|
||||
result.
|
||||
|
||||
Production D&D artifact chains keep generic JSON syntax validation first, then
|
||||
run every rejecting domain validator before generic JSON Schema validation. The
|
||||
domain validator therefore owns expected semantic diagnostics; the generic
|
||||
schema validator remains the final rejecting representation backstop, before
|
||||
warning-only relatedness validation. Explicitly configured validator chains
|
||||
retain their configured order.
|
||||
|
||||
`runWithRetry` applies the effective retry policy around module execution and
|
||||
its complete validation chain. A module or validator error becomes a framework
|
||||
error when attempts are exhausted. A rejection becomes a recorded
|
||||
|
||||
Reference in New Issue
Block a user