Skip to content

[Bug]: Mobile folds a confirmed final answer into Worked for when the run continues without a steer #36110

Closed

Description

@Alb11747

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

  1. Have a Codex thread whose single run goes: user message → assistant message with phase: "final_answer" → a completed command → a second assistant message with phase: "final_answer" → run completed. There is no steer between the answers. A Codex goal run that reports the goal as met and then keeps verifying in the same run produces exactly this.
  2. Open the thread on web.
  3. Open the same thread in the Android (or iOS) app.

I seeded the thread by driving upstream's own command_output_streaming Codex replay transcript through the real Codex adapter and orchestrator, with the commentary message switched to a final_answer and new text. The events and projections are genuine, and no real provider was used.

Expected behavior

Mobile matches web. Web keeps every final_answer message outside the collapsed "Worked for" fold and folds only the command:

Web on upstream main: both final answers visible below "Worked for"

Actual behavior

On mobile only the last answer stays visible. The first confirmed final answer ("Goal met. …") is folded into "Worked for", so the reply that says the goal is done is hidden.

Collapsed:

Android on upstream main: only the last answer is visible

Expanded, showing "Goal met." inside the fold:

Android on upstream main with the fold expanded

Root cause (at 6790f85):

Real flows that hit this: Codex same-run continuations, most visibly goal runs, where the agent states a final answer and then keeps working before the run ends.

Related: #8879 (same symptom, open), #34501 (kept final replies visible after steering), #27991 (the earlier cross-client fix).

A fix is in #36026 (closed by the open PR limit, queued to reopen).

Impact

Minor bug or occasional failure

Version or commit

main @ 6790f85

Environment

Android 15 emulator (API 35, x86_64) running the T3 Code Dev client built from upstream main; web on Chromium; Codex provider (replayed transcript, gpt-6-luna).

🤖 Generated with Claude Code

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions