repo hygiene: track the PINK launcher import closure
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>
This commit is contained in:
35
prod/clean_arch/policy/contracts.py
Normal file
35
prod/clean_arch/policy/contracts.py
Normal file
@@ -0,0 +1,35 @@
|
||||
"""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",
|
||||
]
|
||||
Reference in New Issue
Block a user