b5be54b8ef
When hasAssistant guard returns early, set flushed=false so the next persist (after assistant arrives) writes all entries including the user message.