feat(async): add validator prevalidation #22
merged
@chrismichaelps wrote on 2026-09-28
Summary
- Add synchronous and awaited prevalidation hooks to async validators.
- Return early success or failures before selecting and awaiting ordinary rules.
- Preserve root context and prefix child prevalidation paths when the child rule is selected.
- Cover replacement, selection, collection indices, and continuation behavior.
Closes #21.
Validation
rg --files src test -g '*.pudu' | xargs pudu checkpudu lint src testpudu fmt --check src testpudu test test— 20 suites, 184 assertionspudu build src/Main.pudu -o /tmp/pudu-lang-validator- Compiled CLI
--versionsmoke run - Independent source and wiki review
