Desktop 26.908.40834 creates unsolicited empty tasks in one project, even after restart; opening them fails with no rollout found
Environment
macOS, Codex Desktop 26.908.40834. One affected local project; exact project path and account identifiers omitted.
Observed
The user reports repeated unsolicited empty tasks in only one project, with no unsent new-task text. A complete quit and relaunch does not prevent recurrence.
On 2026-09-13, a new app process started at 11:46:04.863 UTC. At 11:46:41 UTC, a fresh task was created by a Desktop thread/start request (dynamic_tool_count=23). Opening it at 11:49:55.710 UTC produced JSON-RPC -32600, failureReason=rollout_not_found, and no rollout found for thread id <redacted>.
The task had no row in local_thread_catalog or state_5.sqlite.threads when inspected afterward. A separate earlier occurrence had the same failure.
Local workaround disclosure
Before the restart test, 16 verified empty catalog registrations were backed up and removed. A custom project-scoped SQLite BEFORE INSERT trigger ignores a narrowly matched empty initial metadata shape. The failure existed before this intervention and recurred afterward despite no matching catalog row. Other catalog rows were preserved. This intervention may affect catalog observations and is not a supported fix. The signed application bundle was not modified.
Investigation limits
The initiating UI event and whether the individual request was prewarm are not established. Inspection found both response observation and a live thread/started handler capable of adding a conversation independently of the catalog DB, but runtime notification ordering has not been captured.
Please investigate the source of the unsolicited creation and reconciliation of tasks without durable history. No full transcripts, raw logs, task IDs, usernames, or local paths are included.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #45191
- #45157
Powered by Codex Action
I reviewed #45191 and #45157. They share the missing-rollout symptom, but #45220 is a separate macOS Desktop issue involving unsolicited task creation in a local project. #45157 concerns Android Remote voice initialization on Windows, and #45191 concerns a single broken Windows chat. I’m keeping #45220 open.
Adding measurable detail to the "Investigation limits" section, because both open questions appear answerable deterministically on macOS desktop 26.1111.21308 (engine 0.169.0-alpha.11.1, local project):
- Initiating UI event: opening a new chat composer. The desktop client issues
thread/start(app_server.connection_id=0,app_server.client_name="Codex Desktop") before any text is sent; no user turn exists at that point. - Whether it is a prewarm: yes — and it is then abandoned at send. On the first send the same connection issues a second
thread/start, and the firstturn/startis dispatched into that second thread 277–330 ms after it was created. The prewarmed thread keeps0turns, receives noturn_input, and is absent fromthread/list. - That lifecycle explains the observations here: no row in
local_thread_catalog, and laterno rollout foundwhen the left-over thread is opened. In one sample the prewarmed thread did have a rollout file, but with zeroturn_contextrecords (empty, not missing). - 4/4 over two app sessions: 23:32:06.889 → 23:32:21.004 → +293 ms; 23:34:49.135 → 23:35:38.886 → +330 ms; 23:40:45.156 → 23:40:56.934 → +280 ms; 14:03:05.062 → 14:03:12.001 → +277 ms.
- The
prewarmConversationpath found in #61164's investigation still exists in 26.1111.21308 (app.asar), so this is the same code area one version later.
Full evidence — otel span excerpts from logs_2.sqlite, read-only RPC read-backs, and what was ruled out (no thread/archive / revert / delete / turn/interrupt from any other connection; only a read-only observer client) — is in #62541. If this is better tracked here, I am fine with #62541 being closed in favour of this issue.
Recurring path-titled empty threads on macOS — supplemental diagnostics
Additional sanitized observations, 2026-11-24. Related reports: https://github.com/openai/codex/issues/45220 and https://github.com/openai/codex/issues/60807.
Environment and reproducible observations
- macOS; desktop runtime logs identify release 26.1120.41243. App-server request traces identify client version 26.1117.31558. These are component observations, not proof of an invalid installation.
- One local folder-backed project repeatedly accumulates path-titled entries absent from the persistent thread index and rollout files. Real conversation histories remain readable.
- A bounded, reversible catalog intervention marked more than 1,700 individually verified orphan references as missing. It did not delete sessions or history. This intervention must be considered when interpreting catalog counts.
- After a complete quit/relaunch, the user confirmed that most unwanted entries disappeared. A new desktop-owned thread/start occurred 34 seconds after the new main process started.
- Multiple earlier empty threads have exactly 660 seconds between startup and shutdown with had_active_turn=false. No first user turn or persistent history was found for these inspected IDs. A missing rollout error was observed even before one such thread shut down.
- Standard thread listing/read/archive cannot resolve the abandoned references, despite their sidebar presence.
Static findings in installed package — not proof of runtime causality
- In app-server-host.js, response handling calls threadObservations.observe on the returned thread before prewarmedThreads.trackThread for a prewarm-marked response. The observer publishes the returned thread without receiving the prewarm flag.
- Its prewarm tracker hides tracked threads from thread/list. On expiration it deletes the tracking entry and unsubscribes the unconsumed thread; isThreadVisible then defaults to true for an absent tracking entry.
- The catalog coordinator in early-bootstrap accepts thread/started. Authoritative removal handles thread/archived and thread/deleted. No thread/closed branch was found in that coordinator.
- Its startup full-reconciliation predicate checks incomplete/absent previous reconciliation or history coverage. It does not impose an age-based full sweep for an otherwise complete local catalog. The observed local full reconciliation predates the incident by weeks.
- These mechanisms offer concrete hypotheses for publication/expiry/reconciliation defects. We have not proved which event path produced the observed entries. Please trace prewarm tagging, internal thread observations, remote desktop notifications, first-user-turn materialization and removal together.
Required fix and acceptance
Unused preparation sessions must stay out of ordinary sidebar conversations. When they expire without a first user turn, their live and persistent sidebar references must disappear. A consumed preparation session must become exactly one normal conversation with readable history. This must work through local and remote clients, app relaunch, and successive new chats, without manual cleanup or disabling approvals, normal chat creation, scheduled tasks or remote access.
No signed application files were patched. No security controls were disabled. No updater claim is made. User-specific paths, IDs, screenshots, account data, credentials and transcripts are intentionally omitted.