Expand description
Bridge between provider QA specs and greentic-qa’s FormSpec engine.
Providers return a simple list of (id, i18n_key, required) questions.
This module converts that into a full qa_spec::FormSpec so the setup
engine can drive wizard flows using greentic-qa’s visibility, progress,
validation, and rendering.
Functions§
- build_
resolved_ i18n - Build a
ResolvedI18nMapfrom the provider’s i18n bundle. - normalize_
answer - Normalize a user’s answer based on the question type.
- provider_
qa_ to_ form_ spec - Convert provider QA spec JSON output + i18n translations into a
FormSpec.