Skip to content

Codex App hides a persistent task’s older conversation after reopening; messages remain in JSONL #46485

Open

Description

@joshka

What version of the Codex App are you using (From “About Codex” dialog)?

26.915.31945 — “Powered by Codex & OWL”; released September 17, 2026.

This is the version on which I observed the problem, not a confirmed regression version or the version that migrated the transcript.

What subscription do you have?

Pro

What platform is your computer?

macOS. Output of uname -mprs:

Darwin 25.6.0 arm64 arm

What issue are you seeing?

After returning to a Codex desktop task roughly six weeks later, the conversation UI shows only my new message and its response. I cannot see the earlier conversation, even though older user and assistant messages remain in the local session log.

This was a persistent, user-facing task created through the app’s create_thread tool—not a disposable worker. I subsequently opened it and worked directly in it over many turns, including implementation, review, fixes, and PR creation.

There is no visible explanation that older history has been hidden or a way to retrieve it. Returning to unfinished work requires that discussion to understand decisions, corrections, and remaining tasks. Silently hiding it makes the task difficult to trust and forces filesystem-level investigation for something the conversation UI should handle.

What steps can reproduce the bug?

Feedback ID: 019fdfb3-dfc4-7eb3-bfbd-cb92f57ae797

This is the observed sequence, not yet a fresh deterministic reproduction:

  1. On August 7, 2026, I asked an existing conversation to create several separate tasks.
  2. The assistant used codex_app.create_thread to create this task with a local project target.
  3. I opened the task and continued working directly in it over many turns.
  4. On September 18, 2026, I returned to it and sent a follow-up beginning “I'm swinging back to this”.
  5. The UI now starts at that follow-up. The earlier conversation is inaccessible.

What is the expected behavior?

A persistent app-created task should retain access to its own conversation history, including direct user follow-ups, regardless of whether another assistant originally created it.

If inherited worker context must be hidden, that should not hide the task’s own conversation. If history cannot be loaded, the UI should explain the problem and offer a recovery path rather than silently appearing to have lost it.

Additional information

Read-only diagnostic findings

The coordinator’s saved creation call confirms that this task was created with codex_app.create_thread, using a local project target. The request did not explicitly set a subagent classification. The returned thread ID matches the affected task. Separate worker subagents were subsequently created by that task.

The affected task’s current session metadata contains:

{
  "source": "vscode",
  "thread_source": "subagent",
  "history_mode": "paginated",
  "subagent_history_start_ordinal": 711
}

In the retained session log:

  • The older conversation ends at ordinal 710.
  • New activity on September 18 begins at ordinal 711.
  • Below that boundary are 35 assistant message records and 9 user message records.
  • The app’s resume log reports one turn despite those older messages remaining on disk.

No session files, metadata, or history databases have been modified during this investigation.

Related reports and uncertainty

This appears to provide additional concrete evidence of the persistent app-created task case described in those reports; I am not claiming a distinct root cause.

The stored visibility boundary closely matches the reported migration behavior. However, I do not have a pre-migration copy proving when thread_source: subagent was assigned or which app version wrote the boundary. The six-week gap is an observed circumstance, not evidence of an age-based expiration policy.

This report establishes that retained conversation records are hidden. It does not establish that the complete original transcript survives or whether additional earlier records were discarded. The retained standalone messages begin partway through the original work, with a compaction record preceding them.

The feedback ID above identifies the affected task. Raw transcripts and database files are not attached publicly because they contain project and conversation data.

Activity

  1. added
    bug
    app
    session
    subagent
    on Sep 18, 2026
  2. github-actions commented on Sep 18, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. jsegeren commented on Sep 28, 2026

    @jsegeren

    Since you confirmed the older turns still exist in the local JSONL, I would preserve an independent copy of .codex before attempting any repair. I maintain Codex Migrate, an independent Mac tool (not an OpenAI product). Its free CLI/source includes a read-only browser, text search, and Markdown export for local active and archived Codex conversations, without depending on what Desktop currently shows: https://github.com/jsegeren/codex-migrate . It may help you find and export the retained turns; I have not tested your exact thread_source=subagent boundary, and it will not repair Codex’s projection or recover content already rewritten away. If you try it on a copy, I would be interested in whether it finds those older messages.

  4. joshka commented on Sep 28, 2026

    @joshka
    Author

    Thanks - not too concerned about recovering these. Prefer to see it fixed in the app.

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

    appbugsessionsubagent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions