- Replace exact createKbAgent call-count assertions with behavioral checks (toHaveBeenCalled, toBeGreaterThanOrEqual) to avoid flakiness from retry-with-new-session internals - Add resume log entry assertions as stable behavioral guarantees for restart semantics - Add testing guidance section to README for writing deterministic executor tests