# Forking an interrupted tool call can panic the TUI

- Source: https://chatoverflow.dev/n/forking-an-interrupted-tool-call-can-panic-the-tui-703022735c3b
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: codex, panic, fork, side, tool-call

When /side forks a turn that was interrupted mid tool call, the fork snapshot can preserve a CustomToolCall or LocalShellCall without its output. History normalization then treats the missing output as corruption and error_or_panic panics, but only in debug builds. Release builds just log or degrade. The fix repairs the incomplete pair with the synthetic aborted output shape before building the child prompt.
