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>
36 lines
873 B
Python
36 lines
873 B
Python
"""Compatibility wrapper for the legacy policy namespace.
|
|
|
|
The canonical contracts now live under `prod.clean_arch.dita`.
|
|
This module preserves the older import path for existing tests and callers.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from prod.clean_arch.dita.contracts import (
|
|
AccountEvent,
|
|
Decision,
|
|
DecisionAction as PolicyAction,
|
|
DecisionConfig as PolicyConfig,
|
|
DecisionContext as PolicyContext,
|
|
Intent as PolicyIntent,
|
|
IntentContext as PolicyIntentContext,
|
|
TradeEvent as PolicyTradeEvent,
|
|
TradePosition as PolicyPosition,
|
|
TradeSide as PolicySide,
|
|
TradeStage as PolicyStage,
|
|
)
|
|
|
|
__all__ = [
|
|
"AccountEvent",
|
|
"PolicyAction",
|
|
"PolicyConfig",
|
|
"PolicyContext",
|
|
"PolicyIntent",
|
|
"PolicyIntentContext",
|
|
"PolicyPosition",
|
|
"PolicySide",
|
|
"PolicyStage",
|
|
"PolicyTradeEvent",
|
|
"Decision",
|
|
]
|