feat(strategy-state): persist instance-scoped slot maps
This commit is contained in:
@@ -564,7 +564,7 @@ def slot_to_dict(
|
||||
"forced_close_at": s.forced_close_at.isoformat() if s.forced_close_at else None,
|
||||
"universe_detached": getattr(s, "retired_at", None) is not None,
|
||||
# dcy-028/REQ-081 (BAT-042): per-occupancy guard counter — the strategy
|
||||
# daemon echoes this as expected_occupancy_seq on strategy_state writes.
|
||||
# Slot occupancy remains domain state; strategy-state writes do not use it.
|
||||
"occupancy_seq": getattr(s, "occupancy_seq", 0),
|
||||
}
|
||||
|
||||
@@ -638,4 +638,3 @@ def _sanitize(message: str) -> str:
|
||||
break
|
||||
return out[:200]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user