fix(arch-030,arch-047): workflow steps resolve plugins via contracts at runtime

This commit is contained in:
Agent Zero
2026-08-23 12:50:53 +02:00
parent 44511a8fd7
commit d87fc4e55c
6 changed files with 89 additions and 27 deletions
@@ -63,6 +63,11 @@ class AutomationContract:
# ─── agent_comm ───
send_agent_message = staticmethod(send_agent_message)
@classmethod
def get_function(cls, name: str):
"""Return a callable exposed by this contract, or None if absent."""
return getattr(cls, name, None)
# ─── self-registration ───