Fix nested exec thread ID restore (#16882)
Addresses #15527 Problem: Nested `codex exec` commands could source a shell snapshot that re-exported the parent `CODEX_THREAD_ID`, so commands inside the nested session were attributed to the wrong thread. Solution: Reapply the live command env's `CODEX_THREAD_ID` after sourcing the snapshot.
E
Eric Traut committed
feb4f0051a5952310f8e08207418a4ba26bd4b4e
Parent: 8250652
Committed by GitHub <noreply@github.com>
on 4/7/2026, 4:26:22 PM