Skip to content

iOS Remote Control hides prior assistant/tool turns in long chats, making transcript impossible to scroll back #41377

Open

Description

@arjunyerevan95-dot

What issue are you seeing?

In Codex Remote Control on iOS, long-running chats can lose large portions of their visible transcript. Earlier assistant/tool turns disappear from the iOS chat UI, so scrolling back no longer shows the actual conversation history.

The underlying session appears to retain at least some of the missing context: if I send a follow-up such as “The last turn disappeared. Resurface it.”, Codex can often reconstruct/restate the missing content. This makes the problem look less like backend conversation loss and more like a transcript rendering/hydration/state-sync bug in the iOS Remote Control UI.

This is especially disruptive for long agentic workflows with many tool calls/work-order steps, where prior turns are needed to audit what happened.

What steps can reproduce the bug?

  1. Start or connect to a Codex Remote Control session from iOS.
  2. Run a sufficiently long task that produces many assistant/tool turns.
  3. Continue interacting with the same thread for a while.
  4. Scroll upward in the iOS transcript.
  5. Observe that many earlier turns are no longer present / reachable in the visible transcript.
  6. Send a message like: The last turn disappeared. Resurface it.
  7. Codex can often restate the missing turn, suggesting the conversational state survived while the iOS-visible transcript did not.

Expected behavior

All prior user, assistant, and tool turns in the active Remote Control session should remain accessible by scrolling, even in long-running chats.

If the client virtualizes older content for performance, it should rehydrate those turns as the user scrolls rather than silently omitting them.

Actual behavior

Large portions of prior assistant/tool output disappear from the iOS transcript and cannot be reached by scrolling. The session can still appear to “remember” the missing content.

Environment

  • iOS 26.6.1
  • ChatGPT iOS app build: 32543289983
  • Device class: iPhone17,2
  • Codex Remote Control / in-app browser-control workflows
  • Observed repeatedly in long sessions involving many tool turns

Related / possibly adjacent issues

I searched before filing. The closest result I found was #27644, but that concerns xterm.js/TUI scrollback gaps and appears technically distinct from this iOS Remote Control transcript problem.

There also appear to be other Remote Control state-sync/transcript issues, so this may share a root cause with client hydration/session synchronization rather than terminal rendering.

Additional diagnostic clue

The most useful clue is that prompting Codex to “resurface” a disappeared turn often works. That suggests the missing turn may still exist in conversation/session state while the iOS client fails to render or hydrate it.

I have screenshots showing the same session after turns disappeared and the manual “resurface” workaround if maintainers need them.

Activity

  1. added
    bug
    iOS
    session
    on Aug 28, 2026
  2. github-actions commented on Aug 28, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. yaco16 commented on Aug 29, 2026

    @yaco16

    I’m experiencing the exact same issue on Codex Remote in the ChatGPT iOS app.

    Environment:

    • Raspberry Pi 5
    • Debian Trixie
    • Codex CLI fully up to date
    • ChatGPT iOS build 32543289983
    • Issue started around 4–5 days ago

    Behavior:

    • A Codex Remote conversation initially displays correctly.
    • If I leave the conversation and reopen it later, most of the history is missing.
    • Usually only the initial prompt and the first Codex command remain visible.
    • I then have to ask Codex to repeat or reproduce its last response.
    • Codex is often able to do so, which suggested that the underlying session data was still present.

    I checked the session directly on the Raspberry Pi in:

    ~/.codex/sessions/

    The corresponding rollout JSONL file is still present and contains the missing conversation data.

    For one affected session, I verified:

    • 1,126 JSONL lines
    • 16 user messages
    • 7 assistant messages

    So the conversation does not appear to be deleted or truncated on the remote host. The issue seems to be with restoring/rendering/synchronizing the session history in Codex Remote / ChatGPT iOS after reopening the conversation.

    Reinstalling the ChatGPT iOS app did not fix the issue.

  4. yaco16 commented on Aug 29, 2026

    @yaco16

    Additional details that may help narrow this down:

    I’m also seeing what looks like a stale or broken session state in the iOS UI, not just missing transcript history.

    1. Sometimes I can type a new message in the input field, but the send arrow remains disabled/greyed out.

    The only way I have found to recover from this is to:

    • leave the app,
    • force-close ChatGPT from the iOS app switcher,
    • reopen the app,
    • return to the same Codex Remote conversation.

    My unsent text is still present after reopening, but the send arrow is then enabled again and I can submit it.

    1. When I reopen an affected conversation and most of the transcript has disappeared, Codex is often displayed as if it were still working on its very first action.

    This is incorrect: the actual remote session may already have progressed through several later steps, or even completed the task entirely.

    If I then send a new message, the session appears to “wake up” again and live reasoning/tool activity starts appearing normally immediately after that first visible action.

    However, the missing historical messages are still not restored.

    So there seem to be at least three related symptoms:

    • previous assistant/tool turns are not restored in the iOS transcript,
    • the UI can show an outdated “still working” state for an old action,
    • the message composer can become stuck with the send button disabled until the iOS app is force-closed and reopened.

    The underlying remote session itself still appears to be intact, because Codex continues from the correct actual state once a new message is successfully sent.

  5. evanpurkhiser commented on Aug 29, 2026

    @evanpurkhiser

    I also ran into this.

    I thought it might’ve had to do with being four or five minor versions behind on the server remote process, but upgrading and restarting the remote service did not fix anything and I’m still observing this bug as described.

  6. evanpurkhiser commented on Aug 29, 2026

    @evanpurkhiser

    Also worth noting, I see this same behavior in the desktop app (macOS) when controlling the remote codex instance

  7. smdubarry commented on Aug 29, 2026

    @smdubarry

    I'm experiencing the same issue on iOS connecting to remote via SSH. Haven't found a workaround.

  8. danielo-cmyk commented on Aug 30, 2026

    @danielo-cmyk

    Additional reproducible case on an iOS Remote client connected to a Linux x86_64 host.

    Environment:

    • Client: ChatGPT iOS Remote Control (exact app/iOS build not captured)
    • Host: Linux x86_64 over the supported Remote SSH path
    • Persistent runtime initially: codex-cli 0.145.0
    • Runtime after troubleshooting: codex-cli 0.151.0
    • Model: gpt-5.6-sol, reasoning effort high
    • Host runtime: codex app-server --listen unix://

    Observed behavior:

    • The iOS Remote transcript repeatedly collapses to only the initial user message and first assistant progress update.
    • Later progress messages and final answers disappear from the Remote UI, including a final answer immediately after it is shown.
    • The durable local rollout JSONL remains complete. In one affected long-running thread it retained 46 assistant progress messages, 2 final answers, and 246 recorded tool actions while the Remote/thread projection exposed only the initial message/update.
    • Git commits and build/test artifacts confirm that the omitted work actually completed; this is not an interrupted task or loss of repository state.
    • A second affected thread reproduced the same divergence while actively diagnosing the first.

    Troubleshooting already performed:

    1. Removed an older stale Remote proxy connection while preserving the current one.
    2. Restarted the persistent app-server completely.
    3. Updated the installed/runtime Codex version from 0.145.0 to 0.151.0 and verified that the new process uses the new binary.
    4. Reconnected the mobile client.

    The problem persisted after all of the above.

    Additional diagnostic signal:

    • The structured thread-reading surface returned only the first turn and marked it in progress even though the local rollout contained multiple completed turns and final answers.
    • After the app-server restart, thread reads also intermittently reported the host/thread as unavailable while the task list still showed the thread as active.

    This corroborates a Remote transcript hydration/projection/state-sync failure rather than physical transcript deletion. Raw transcripts, private thread IDs, repository paths, prompts, and project content are intentionally omitted. Sanitized diagnostics can be provided privately if maintainers need them.

  9. NEYMAR946 commented on Sep 1, 2026

    @NEYMAR946

    Independent Windows-host + iPhone Remote reproduction (2026-09-02): a long Codex Remote thread repeatedly snaps back to an older assistant/tool segment after the source task has reached a safe boundary. The mobile UI then shows the same earlier shell/tool message again and hides the newer completion/checkpoint turn. The desktop/app task state reports the source as idle and the durable checkpoint exists, so this is not a still-running task or a requested successor/migration. Reopening/returning to the iOS view reproduces the stale projection. This makes mobile supervision effectively blocked: the user cannot tell current progress from an older rendered segment. No private transcript, thread ID, host path, or account data included.

  10. NEYMAR946 commented on Sep 1, 2026

    @NEYMAR946

    Impact / triage request: this is not merely scrollback inconvenience. When iOS Remote renders an older segment after the source task has completed, the phone user cannot safely supervise, redirect, or approve a critical long-running task. The ambiguity forces unnecessary desktop checking and makes mobile-first continuation unreliable. Please prioritize triage for a durable fix or a supported recovery/status surface that always exposes the latest authoritative turn/checkpoint. If there is an official product-feedback, user-research, or compensation pathway for independently reproducible high-impact Remote reliability reports, please point contributors to it here. This report is not a security-vulnerability claim.

  11. NEYMAR946 commented on Sep 1, 2026

    @NEYMAR946

    Severity update (independent iPhone capture, 2026-09-02): after the iOS Remote view regressed to an older assistant/tool segment, the user could compose a recovery/feedback message in the same thread, but the send button remained disabled/greyed out. The message could not be sent, so the mobile client simultaneously (1) hid current state and (2) prevented the user from requesting recovery or steering the task. This is a functional dead-end, not only a transcript-view issue. Please treat the composer-enabled state and recovery path as part of the fix: when projection is stale, users need a still-available send/retry/status action rather than a disabled composer. Screenshot is retained privately; no thread ID, account, host, or project data is included here.

  12. bishwashere commented on Sep 8, 2026

    @bishwashere

    I’m seeing a closely related iOS Remote transcript hydration issue on a Mac-hosted Codex Desktop session.

    What happened

    After continuing a Codex Desktop task from ChatGPT iOS Remote, closing/reopening the mobile app, and logging out/back in, the iOS Remote view shows only:

    1. the original user message that created/opened the task, and
    2. the latest assistant message pasted later as a recovered history block.

    All intermediate user/assistant turns are missing from the mobile-visible transcript. In this case the missing turns included multiple measurement requests, corrected measurements, and a generated output file path.

    Important diagnostic clue

    The local host still has the complete session log under ~/.codex/sessions/.../*.jsonl. I was able to extract the full user/assistant message sequence from that local JSONL, including all of the turns missing from iOS. So this does not look like total local session loss; it looks like the iOS Remote transcript view is hydrating/rendering only a subset of persisted turns.

    Repro shape

    1. Start or open a Codex Desktop task on macOS.
    2. Continue the task from ChatGPT iOS Remote.
    3. Have several user/assistant exchanges with tool work in between.
    4. Close the mobile app / leave the task.
    5. Reopen the same Codex Remote task on iOS.
    6. Observe that only the first prompt and latest assistant response are visible; middle turns are not scrollable/recovered.
    7. Ask Codex to output the session history from the host JSONL; the missing middle turns can be recovered from local logs.

    Expected

    The iOS Remote transcript should show all prior user/assistant turns for the task, or page/rehydrate older turns as the user scrolls. A partial mobile view should not make the conversation appear lost.

    Actual

    The mobile UI presents a truncated conversation despite the host-side JSONL containing the full history.

    Environment

    • Host: macOS Codex Desktop / local project task
    • Mobile: ChatGPT iOS Remote
    • Observed: 2026-09-07 / 2026-09-08
    • Local session log exists and contains the missing turns; not attaching raw logs publicly because they include local project paths and task content.

    This appears to be the same class of issue as this report, with the more severe symptom that the iOS transcript can collapse to just the first and latest visible messages after reopening.

  13. diegocantarero commented on Sep 12, 2026

    @diegocantarero

    Related reproduction beyond a single long chat (sanitized, observed 2026-09-11/12 UTC): several Remote tasks load in the iOS list but open with a spinner, stale history, or an error loading messages; a mobile submission can be accepted by the desktop task while the newest response is not rendered on iOS. The same symptom was seen across more than one host, including Windows. Main tracking report: #28340. Please make transcript hydration revision-aware and invalidate stale pages when the mobile cursor or latest turn changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugiOSremotesession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions