Loading...
Searching...
No Matches
Go to the documentation of this file.
7Re-export shim for ``PromotedItem`` (Plan 142i [OP-5] relocation).
11The promoted-item source model was relocated to
12``oc_chat.registry.source.promoted_item`` so the ``source`` layer
13(``canonical``/``hashing``) can resolve it for full three-projection hash parity
14without ``source`` importing ``regenerate`` (a forbidden dependency direction).
16This module is retained as a **load-bearing re-export shim** so pre-existing
17importers outside Plan 142i's file scope keep working with zero edits
18(``tools/seed_142_ingest.py``; ``oc_chat/registry/regenerate/pipeline.py``; the
19render-refinements test). Do not add logic here — import ``PromotedItem`` from
20its new home for new code.
24- Re-export ``PromotedItem`` from its new home so legacy import paths resolve.
31 L3 - (n/a — pure re-export)
32 L4 - (n/a — pure re-export)
36- Pure re-export: ``PromotedItem`` is defined in ``source.promoted_item``.
40- oc_diagnostics (structured debug logging via _dbg)
41- oc_chat.registry.source.promoted_item (the relocated model)
43from __future__
import annotations
45from oc_diagnostics
import _dbg
49_dbg(
"OC_CHAT.MAIN",
"module",
"loaded", 4)
51__all__ = [
"PromotedItem"]