67 production .py modules that the running PINK service imports but which were never committed: prod/bingx/ (HTTP client, market/user streams, journal, config), prod/clean_arch/ adapters/persistence/runtime/dita/dita_v2 production modules and their co-located tests. Rule going forward: every module imported by launch_dolphin_pink.py / pink_direct.py must appear in git ls-files. Excludes _backup dirs, __pycache__, and non-code files. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
96 lines
2.5 KiB
Python
96 lines
2.5 KiB
Python
"""DITA v2 prototype kernel.
|
|
|
|
This package is intentionally separate from the legacy v1 DITA surface so the
|
|
new execution kernel can be validated in isolation before any migration.
|
|
"""
|
|
|
|
from .account import AccountProjection, AccountSnapshot
|
|
from .control import (
|
|
BackendMode,
|
|
ControlPlane,
|
|
ControlUpdate,
|
|
build_control_plane,
|
|
InMemoryControlPlane,
|
|
KernelControlSnapshot,
|
|
KernelMode,
|
|
KernelVerbosity,
|
|
MirroredControlPlane,
|
|
ZincControlPlane,
|
|
)
|
|
from .contracts import (
|
|
KernelCommandType,
|
|
KernelDiagnosticCode,
|
|
KernelEventKind,
|
|
KernelIntent,
|
|
KernelOutcome,
|
|
KernelSeverity,
|
|
KernelTransition,
|
|
TradeSide,
|
|
TradeSlot,
|
|
TradeStage,
|
|
VenueEvent,
|
|
VenueEventStatus,
|
|
VenueOrder,
|
|
VenueOrderStatus,
|
|
)
|
|
from .journal import ClickHouseKernelJournal, KernelJournal, MemoryKernelJournal
|
|
from .rust_backend import ExecutionKernel
|
|
from .bingx_venue import BingxVenueAdapter
|
|
from .launcher import DITAv2LauncherBundle, LauncherVenueMode, LauncherZincMode, build_launcher_bundle
|
|
from .projection import HazelcastProjection, build_position_state_row, build_projection
|
|
from .venue import VenueAdapter
|
|
from .mock_venue import MockVenueAdapter, MockVenueScenario
|
|
from .zinc_plane import InMemoryZincPlane, ZincPlane
|
|
from .real_zinc_plane import RealZincPlane, RealZincUnavailable
|
|
from .real_control_plane import RealZincControlPlane, RealZincUnavailable as RealZincControlUnavailable
|
|
|
|
__all__ = [
|
|
"AccountProjection",
|
|
"AccountSnapshot",
|
|
"BackendMode",
|
|
"BingxVenueAdapter",
|
|
"ClickHouseKernelJournal",
|
|
"ControlPlane",
|
|
"ControlUpdate",
|
|
"DITAv2LauncherBundle",
|
|
"build_control_plane",
|
|
"build_launcher_bundle",
|
|
"ExecutionKernel",
|
|
"HazelcastProjection",
|
|
"build_projection",
|
|
"InMemoryControlPlane",
|
|
"InMemoryZincPlane",
|
|
"KernelCommandType",
|
|
"KernelDiagnosticCode",
|
|
"KernelControlSnapshot",
|
|
"KernelEventKind",
|
|
"KernelIntent",
|
|
"KernelJournal",
|
|
"KernelMode",
|
|
"KernelOutcome",
|
|
"KernelSeverity",
|
|
"KernelTransition",
|
|
"KernelVerbosity",
|
|
"MemoryKernelJournal",
|
|
"MirroredControlPlane",
|
|
"MockVenueAdapter",
|
|
"MockVenueScenario",
|
|
"LauncherVenueMode",
|
|
"LauncherZincMode",
|
|
"RealZincPlane",
|
|
"RealZincControlPlane",
|
|
"RealZincControlUnavailable",
|
|
"RealZincUnavailable",
|
|
"TradeSide",
|
|
"TradeSlot",
|
|
"TradeStage",
|
|
"VenueAdapter",
|
|
"VenueEvent",
|
|
"VenueEventStatus",
|
|
"VenueOrder",
|
|
"VenueOrderStatus",
|
|
"ZincPlane",
|
|
"ZincControlPlane",
|
|
"build_position_state_row",
|
|
]
|