Status: Shipped
PR: #110
Depends on: milestones/generation-model-strings.md (PR #107),
milestones/path-config-strings.md (PR #109)
Root narration_from_source.system_prompt / manim_scene_generation.model
are already typed at config load. Per-segment keys were not:
narration_from_source.segments.<id>.system_prompt/topic—str()turned a YAML list into a bracketed string used as the narration system prompt or topic line.manim_scene_generation.segments.<id>.class_name/system_prompt/scene_spec_system_prompt— same coercion into the Manim class name or scene-spec system prompt.
Empty system_prompt strings remain allowed (same as the root keys).
Fail closed at Config.from_yaml while walking those segment maps.
- Present per-segment
system_prompt/topic/scene_spec_system_promptmust be YAML strings (empty allowed). - Present per-segment
class_namemust be a non-empty YAML string. - Tests for list values of those keys.
-
ruff check src/ tests/ -
pytest tests/ -
docgen benchmark(no clock change)
wizard.default_guidancetype gating is separate.pages.docs_dir/titlepath and copy strings are separate.