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
Delete pyfm/a2a/register.py and the register_a2a calls in pyfm/a2a/__init__.py. The a2a module uses build_config and the BuildHooksRegistry directly — it has no domain handler functions to register. Update scripts/contract_a2a_diagrams.py to call build_config(ContractConfig, params, file_params) without passing a handler.
Acceptance criteria
Blocked by
User stories addressed
- User story 10
- User story 14
Parent PRD
#1
What to build
Delete
pyfm/a2a/register.pyand theregister_a2acalls inpyfm/a2a/__init__.py. The a2a module usesbuild_configand theBuildHooksRegistrydirectly — it has no domain handler functions to register. Updatescripts/contract_a2a_diagrams.pyto callbuild_config(ContractConfig, params, file_params)without passing a handler.Acceptance criteria
pyfm/a2a/register.pydeletedregister_a2acalls removed frompyfm/a2a/__init__.pyscripts/contract_a2a_diagrams.pyusesbuild_configwithout handler/get_handler parameterBlocked by
User stories addressed