5# OCT-LINT: disable=tests_exist reason="Re-export shim; the module it names is covered by oc_orchestrator/tests/, and this path by test_272_hub_shims.py"
6"""
7The hub's default backend. — moved to :mod:`oc_orchestrator.hub_file`.
8
9Purpose
10-------
11Plan 272 P4. This module's code now lives in the standalone
12``oc_orchestrator`` package; this file keeps ``oc_chat.core.hub_file``
13working for every importer that has always spelled it that way —
14``tests/unit/test_259_dispatch_hooks.py`` and
15``tests/unit/test_272_hub_bus_carrier.py`` among them.
16
17It is a REBINDING, not a wrapper, for the reason ``core/hub.py`` gives:
18one object reachable by two names is what keeps ``isinstance``,
19``monkeypatch`` and every private name honest across the seam.
20
21Responsibilities
22----------------
23- Bind the moved module to this path. Nothing else.
24
25Diagnostics
26-----------
27Domain: OC_CHAT.MAIN
28Levels:
29 L2 - lifecycle events
30 L3 - semantic details
31 L4 - deep tracing (the rebinding)
32
33Contracts
34---------
35- Retirement rule (plan 272 P4): this path stays until an explicit
36 retirement plan retargets its importers. New code names
37 ``oc_orchestrator.hub_file`` directly.
38- Adds no behaviour of its own, so it can never drift from the module
39 it names.
40
41Dependencies
42------------
43- oc_diagnostics (structured debug logging via _dbg)
44- oc_orchestrator.hub_file (the moved module this path binds)