Refactor validators into built-in registry chains
This commit is contained in:
@@ -511,6 +511,20 @@ Add explicit report schema metadata, for example:
|
||||
|
||||
Make validators as easy to reason about as modules.
|
||||
|
||||
## Implementation status (2026-05-13)
|
||||
|
||||
This workstream is now implemented for built-in validator composition:
|
||||
- first-class built-in validator registry exists in `internal/validators`;
|
||||
- stable validator keys are defined and used for built-in chains and runtime validator names;
|
||||
- explicit built-in module validator-chain definitions are implemented and resolved through registry-backed chain wiring;
|
||||
- production module constructors use built-in chain resolution instead of ad hoc manual validator construction;
|
||||
- runner execution preserves deterministic ordering (deterministic validators before LLM-backed validators);
|
||||
- report validator decision/rejection records now carry stable validator keys.
|
||||
|
||||
Current boundary:
|
||||
- validator chains are built-in and not user-configurable.
|
||||
- prompt-asset registries, prompt metadata, scheduler utilization diagnostics, correction ledgers, and generated summaries remain planned.
|
||||
|
||||
Validators are now central runtime components. They are reused across modules, have deterministic and LLM-backed implementations, produce diagnostics, and affect final correction acceptance. They should therefore have stable identities, registry metadata, and composable chain definitions.
|
||||
|
||||
## Package structure
|
||||
|
||||
Reference in New Issue
Block a user