cursus.step_catalog.builder_discovery¶
Builder class discovery via registry-interface synthesis.
Design B “Phase E”: file-based (package/workspace) builder discovery has been removed. Builders are
SYNTHESIZED from the registry interface — for each registry step that has a .step.yaml interface
and routes, a per-step TemplateStepBuilder subclass is fabricated at runtime. There is no longer
any AST scan of builder_*.py files, no descriptors, and no per-workspace precedence.
- class BuilderAutoDiscovery(package_root, workspace_dirs=None)[source]¶
Bases:
objectBuilder class discovery via registry-interface synthesis.
Builders are synthesized from the registry interface rather than discovered from files.
- discover_builder_classes(project_id=None)[source]¶
Discover all builder classes by synthesizing them from the registry interface.
- load_builder_class(step_name)[source]¶
Load builder class for a specific step by synthesizing from the registry interface.