"""Delegation backplane: job registry, MQTT publish/subscribe, and the subscriber daemon. The implementation moved here from ``multi-agent-mux-delegate-job/scripts/*.py`` in issue #5 phase 1. Those script paths are a wire contract (agent instructions, the bash wrapper, SKILL.md, BOOTSTRAP.md, deploy/install.sh and three test modules call them by literal path), so they remain as shims that bind *this package* to the tree next to themselves, once per process, without touching ``sys.path``. Package rules, enforced by tests: * modules here import each other as ``from lib_py.delegation import x`` -- never by top-level name, which would collide with ``lib_py.agents.registry``. * nothing here imports another ``lib_py`` module. Under a frozen loop the parent ``lib_py`` may resolve to a different tree than this package, so a sibling import would silently mix trees. """ from lib_py.delegation.daemon import ensure_subscriber_daemon # noqa: E402,F401 from lib_py.delegation.service import DelegationService # noqa: E402,F401 __all__ = ["DelegationService", "ensure_subscriber_daemon"]