fix(pi): fork and revert past turns whose session entry was never captured (#20521)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
8c8e187d01Henry Chu committed on 10/20/2026, 5:15:14 AM· committed by GitHubparentec967f3
2 files changedLine totals unavailable