Answer validation
How a typed or supplied answer is checked by the template's own validator before it is accepted.
The CLI calls /api/template/validate with the answers so far and the new value. The template replays to that question and runs its validator; an error text means invalid. Headless mode validates every supplied answer the walk reaches, and keeps only the answers to questions the template asked.
Where it lives
sulfone.iridium/cyanprompt/src/domain/services/template/validate.rssulfone.helium/sdks/node/src/domain/template/service.ts
Stub: summary only.