32 lines
928 B
Python
32 lines
928 B
Python
|
|
"""Unified Execution Layer — the "T" of DITAv2 (spec SPEC_UNIFIED_EXEC_LAYER_20260714.md).
|
||
|
|
|
||
|
|
Standalone, pure-policy foundation. Contract (§2) + whether-maker Router (§6). Zero I/O,
|
||
|
|
zero venue knowledge, zero importers elsewhere yet — adopting it breaks nothing.
|
||
|
|
|
||
|
|
Not yet wired: the PINK drive-loop port (§7), the venue dialect (§11), telemetry (§12).
|
||
|
|
Those bolt on above/below this pure core. Kill switch discipline (UV_SMART_EXEC=0, §2.3
|
||
|
|
promise #5) lives at the wiring layer, not here.
|
||
|
|
"""
|
||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
from .contract import (
|
||
|
|
ExecutionAdvice,
|
||
|
|
ExecutionRequest,
|
||
|
|
ProtectiveSpec,
|
||
|
|
Side,
|
||
|
|
UrgencyClass,
|
||
|
|
)
|
||
|
|
from .router import ExecutionMethod, RoutingDecision, TtlDiscipline, decide
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
"ExecutionAdvice",
|
||
|
|
"ExecutionMethod",
|
||
|
|
"ExecutionRequest",
|
||
|
|
"ProtectiveSpec",
|
||
|
|
"RoutingDecision",
|
||
|
|
"Side",
|
||
|
|
"TtlDiscipline",
|
||
|
|
"UrgencyClass",
|
||
|
|
"decide",
|
||
|
|
]
|