Target branch: feature/issue-1-registry-refactor (based off develop)
All PRs for this work should target this branch, not main.
Parent PRD
#1
What to build
Rewrite register_task to split registration across both registries: domain functions go to the HandlerRegistry, build hooks (preprocess, postprocess, validate) go to the BuildHooksRegistry. Update all register_task(...) call sites across the codebase to use the new API with explicit string keys. Remove key: ClassVar[str] from all config dataclasses.
Acceptance criteria
Blocked by
User stories addressed
- User story 1
- User story 12
Parent PRD
#1
What to build
Rewrite
register_taskto split registration across both registries: domain functions go to theHandlerRegistry, build hooks (preprocess, postprocess, validate) go to theBuildHooksRegistry. Update allregister_task(...)call sites across the codebase to use the new API with explicit string keys. Removekey: ClassVar[str]from all config dataclasses.Acceptance criteria
register_task(key, config_type, ...)writes domain functions toHandlerRegistryand build hooks toBuildHooksRegistryregister_taskcall sites migrated (hadrons, milc, contract, grid)key: ClassVar[str]removed from all config dataclassesBlocked by
User stories addressed