Under the hood
Headless SDK turns now wait briefly for side-effect events to settle before ending.
Headless SDK sessions now wait for pending turn-side-effect events to settle, via a new severable event collector, before completing a turn. A configurable settle timeout bounds this wait; if the events don't settle in time, the turn ends anyway and a warning notes that their late notes were dropped.