The logNativeSdkMessage function was missing the canonical threadId in the event payload and was passing null as the thread ID to nativeEventLogger.write(), routing all Claude native events to the global log instead of per-thread files. Add context.session.threadId to both the event object and as the second argument to write(), matching how the Codex adapter routes native events per-thread. Co-authored-by: Julius Marminge <[email protected]>