WindowTerminalPortal.synchronizeHostedView (Sources/TerminalWindowPortal.swift:1186-1502) repeats a near-identical hide/retry block three times, and the copies diverged: only one of the three has the production-build recovery fallback. The two without it can leave a hosted view stuck hidden in release builds when the retry path is taken.
Fix: extract the block once with the fallback included, call it three times.
From the 2026-07-09 nuclear review (10 module reviewers + Codex cross-model pass, disprove-first). Line refs are against the reductive-audit branch (PR #81).
WindowTerminalPortal.synchronizeHostedView(Sources/TerminalWindowPortal.swift:1186-1502) repeats a near-identical hide/retry block three times, and the copies diverged: only one of the three has the production-build recovery fallback. The two without it can leave a hosted view stuck hidden in release builds when the retry path is taken.Fix: extract the block once with the fallback included, call it three times.
From the 2026-07-09 nuclear review (10 module reviewers + Codex cross-model pass, disprove-first). Line refs are against the
reductive-auditbranch (PR #81).