uv(pass-a-r1): K-purge — Rev-4-FINAL compliance. A1: reconcile_ok replaced by stateless per-event tripwire (tripwire_ok + tripwire_last_event_id on AccountStateSnapshot). Detection latency = 1 event. A2: ASEXAccountV2.k_capital -> _k_capital_internal. 6 acceptance tests.
This commit is contained in:
@@ -88,8 +88,13 @@ class ASEXAccountV2:
|
||||
def snapshot(self) -> AccountSnapshotV2:
|
||||
return self._backend._proj.snapshot
|
||||
|
||||
# Rev-4-FINAL: NO public k_capital. Sizing reads E (available_margin,
|
||||
# wallet_balance) via the freshness-gated provider. K is kernel-internal
|
||||
# only — anything derived from it is forbidden from the region.
|
||||
# (Renamed _k_capital_internal with a docstring ban; deletion would break
|
||||
# kernel-internal usage — keeping it as _ for now.)
|
||||
@property
|
||||
def k_capital(self) -> float:
|
||||
def _k_capital_internal(self) -> float:
|
||||
return self._backend._proj.k_capital
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user