test(block-h): gate H proof - plugin contributes all extension points without core changes

This commit is contained in:
Agent Zero
2026-08-23 14:17:02 +02:00
parent 59fdb614e0
commit 801743ba11
2 changed files with 174 additions and 0 deletions
+5
View File
@@ -61,6 +61,11 @@ def register_step_type(step_type: str):
return decorator
def unregister_step_type(step_type: str) -> None:
"""Remove a step handler (plugin deactivation lifecycle symmetry)."""
_HANDLERS.pop(step_type, None)
def get_step_handler(step_type: str) -> StepHandler | None:
return _HANDLERS.get(step_type)