PERCOLATOR ENGINE BUG #205: WIND-DOWN SEIZURE RULE READS PER-SIDE TRADING MODE INSTEAD OF ASSET LIFECYCLE, ALLOWING POSITION SEIZURE ON LIVE MARKETS AND ONE-SIDED POSITION TAKES
CURRENT POST (new facts must come from this post): 3/6: #205: a wind down rule fires on a live market There's a rule for seizing positions on a market that's being wound down. The check for "is this market actually winding down?" reads the wrong flag and it looks at a per side trading mode instead of the asset's lifecycle. A prior deleveraging event can set that side mode while leaving the market fully Active. So the seizure path opens on a market that is still live and trading, and it can take one side of a position without the other. (the side-mode disjunct in leg_is_dead_for_forfeit carries no lifecycle conjunct; the MIN_A_SIDE collapse sets it without touching lifecycle) https://github.com/aeyakovenko/percolator/issues/205 EARLIER SAME-AUTHOR POSTS (reference only; do not re-report): Root (@PercolatorTrade): 🧵🪡1/6: Our team filed four findings against @toly 's Percolator engine this week, the engine our protocol is built on. All four are verified against current upstream main (8eb7142a), and all four are still open. Here's what each issue actually does, in plain terms: https://github.com/aeyakovenko/percolator