maxStashBytes property
Byte cap on the engine-side in-memory KV stash. When agent swaps push past it, the oldest stashes are dropped (those agents re-prefill on their next turn). The most recent stash is always kept, even alone over the cap.
Implementation
final int maxStashBytes;