{"version":"2.1.277","anchor":"session-process-exit-error-result-can-now-flag-a-terminal-se","canonical_anchor":"session-process-exit-error-result-can-now-flag-a-terminal-se","heading":"Session-process-exit error result can now flag a terminal setup failure","tier":"internal","area":"Session Lifecycle","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/session-process-exit-error-result-can-now-flag-a-terminal-se","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### Session-process-exit error result can now flag a terminal setup failure\n\nCrashed-session error reports can now flag that a setup failure was unrecoverable\n\n**What**\n\nWhen the process running a session crashes during its setup phase, Claude Code builds a synthetic error result describing what happened. That error-building function now accepts a `setupTerminal` option, and when it's set, the resulting `runner_exit` detail for a setup-phase failure includes `terminal: true`.\n\n**Why**\n\nThis lets whatever consumes these error reports distinguish a setup failure that can't be recovered from other, presumably retryable, setup failures.\n\n- Area: Session Lifecycle\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}