Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
OpenAI.Codex 26.1002.6548.0
What subscription do you have?
ChatGPT Pro 20x
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Codex Desktop on Windows progressively accumulates repeated local Node/MCP/CUA/node_repl helper process batches while the same desktop app-server remains running.
The process count and private committed memory increase over time during normal multi-session Codex work. Eventually this creates severe Windows memory pressure and paging, and Codex sessions become dramatically slower.
In my workload, tasks that normally finish in tens of minutes can take 2–4 hours when multiple Codex/Claude sessions are active.
Observed Codex process accumulation
During one long-running Codex Desktop app-server session, I measured:
- 200 Codex-owned Node-family processes in total
- 110 MCP-related Node processes
- 52 CUA Node processes
- 38 node_repl processes
- approximately 11.62 GB of private memory across those Node-family processes
The process creation timestamps showed repeated batches throughout the lifetime of the same app-server, including several bursts of exactly 11 processes.
Examples from the creation timeline:
2026-10-06 21:03 11
2026-10-06 21:06 11
2026-10-06 21:48 11
2026-10-06 22:35 11
The helpers were not simply the fixed startup cost of Codex.
Clean restart comparison
After fully exiting Codex Desktop:
- the Codex app-server disappeared
- Codex-owned node_repl/code-mode helpers disappeared
- Windows committed memory dropped from 63.06 GB to 41.44 GB
- this released approximately 21.62 GB of system commit
After starting Codex Desktop again, the clean baseline was only:
CodexNodeCount: 8
With three Codex sessions actively executing tasks, the process tree became:
NodeTotal : 44
MCP : 24
CUA : 12
NodeRepl : 8
NodePrivateGB : 2.54
CodexTreePrivateGB : 3.30
No additional visible Codex session was started.
Approximately 10 minutes later, while the same three sessions were still running:
NodeTotal : 55
MCP : 30
CUA : 15
NodeRepl : 10
NodePrivateGB : 3.18
CodexTreePrivateGB : 4.00
The increment was exactly:
+6 MCP
+3 CUA
+2 node_repl
= +11 processes
This looks like another complete local runtime/helper batch being created while previous batches remain resident.
System impact
The machine has approximately 32 GB physical RAM.
Before cleanup, under the full workload, I measured:
CPU average : 70.73%
CPU maximum : 100%
Available memory minimum : 494 MB
Committed memory : 87–90%
Pages/sec average : 6585.5
Page Reads/sec average : 918.7
Windows was under severe paging pressure.
Docker was initially also running and amplified the memory pressure, so I stopped Docker.
After Docker was stopped, system pressure improved substantially, but the Codex helper accumulation still reproduced:
Clean Codex start: 8 Node-family helpers
3 active sessions: 44 helpers
~10 minutes later: 55 helpers
Therefore Docker is not required to reproduce the Codex process accumulation.
There is no single application error dialog or explicit Codex error message. The observable failure is progressive helper-process accumulation, increasing committed/private memory, heavy paging, and severe degradation of Codex task throughput.
What steps can reproduce the bug?
-
Fully exit Codex Desktop.
-
Verify that the previous Codex app-server and its node_repl/code-mode helper tree have exited.
-
Start Codex Desktop again.
-
Immediately inspect the Codex app-server descendant processes. On my machine, a clean startup has approximately:
NodeTotal: 8
- Start several normal Codex sessions. In my reproduction I used three concurrently active sessions.
The tasks were normal software-development/agent tasks involving local tools. Reasoning effort was generally Low or Medium; Fast mode was not enabled.
- Periodically inspect the
codex.exe app-serverdescendant process tree.
For example, the following PowerShell script counts the Node-family descendants and classifies them without printing complete command lines:
$all = Get-CimInstance Win32_Process
$root = $all |
Where-Object {
$_.Name -eq "codex.exe" -and
$_.CommandLine -match "app-server"
} |
Select-Object -First 1
if (-not $root) {
throw "Codex app-server not found"
}
$rootId = [int]$root.ProcessId
$desc = New-Object 'System.Collections.Generic.HashSet[int]'
$null = $desc.Add($rootId)
$changed = $true
while ($changed) {
$changed = $false
foreach ($proc in $all) {
$childProcessId = [int]$proc.ProcessId
$parentProcessId = [int]$proc.ParentProcessId
if (
$desc.Contains($parentProcessId) -and
-not $desc.Contains($childProcessId)
) {
$null = $desc.Add($childProcessId)
$changed = $true
}
}
}
$nodes = $all |
Where-Object {
$_.Name -in @("node.exe", "node_repl.exe") -and
$desc.Contains([int]$_.ProcessId)
}
$runtime = @{}
Get-Process -ErrorAction SilentlyContinue |
ForEach-Object {
$runtime[$_.Id] = $_
}
$rows = foreach ($proc in $nodes) {
$text = "$($proc.ExecutablePath) $($proc.CommandLine)"
$category =
if ($proc.Name -eq "node_repl.exe") {
"node_repl"
}
elseif ($text -match "cua_node") {
"CUA"
}
elseif ($text -match "mcp") {
"MCP"
}
else {
"Other"
}
$processId = [int]$proc.ProcessId
$rp = $runtime[$processId]
[pscustomobject]@{
Category = $category
PrivateMB = if ($rp) {
[math]::Round($rp.PrivateMemorySize64 / 1MB, 1)
}
else {
0
}
}
}
$rows |
Group-Object Category |
ForEach-Object {
[pscustomobject]@{
Category = $_.Name
Count = $_.Count
PrivateGB = [math]::Round(
(($_.Group | Measure-Object PrivateMB -Sum).Sum / 1024),
2
)
}
} |
Format-Table -AutoSize
"Total Node-family processes: $($nodes.Count)"- With three active sessions, I observed:
NodeTotal: 44
MCP: 24
CUA: 12
node_repl: 8
- Approximately 10 minutes later, without starting another visible session:
NodeTotal: 55
MCP: 30
CUA: 15
node_repl: 10
This is an additional complete batch of:
6 MCP + 3 CUA + 2 node_repl = 11 processes
-
During a longer app-server lifetime, allow normal Codex work to continue. In my earlier run the same app-server eventually reached approximately 200 Codex-owned Node-family processes and ~11.6 GB of Node private memory.
-
Fully exit Codex Desktop.
The accumulated Codex helper tree is cleared and system committed memory drops substantially.
- Reopen Codex Desktop.
The process count returns to the clean baseline (approximately 8 on my machine), and then begins growing again as tasks execute.
Session/context information
This problem was observed across several concurrent Codex sessions rather than one specific prompt.
- Concurrent visible sessions during the clean reproduction: 3
- Reasoning effort: normally Low or Medium, rarely High
- Fast mode: normally disabled
- The issue appears related to local runtime/helper lifecycle rather than a specific model response or prompt
- Session IDs are not included in this public issue, but I can provide relevant thread/session identifiers privately if maintainers need them
What is the expected behavior?
Codex Desktop should keep the number of local MCP/CUA/node_repl helper processes bounded.
A new task, tool turn, subagent, or runtime context should not indefinitely add another complete local helper/MCP process batch.
When a runtime is no longer needed, its local stdio MCP/CUA/node_repl process tree should be terminated or safely reused.
Long-running Codex Desktop usage with several sessions should not require periodically restarting the entire application to recover tens of gigabytes of committed memory.
The expected behavior is:
- bounded helper-process count
- reuse or teardown of obsolete runtime/MCP process pools
- stable private/committed memory over long-running sessions
- no progressive Windows paging or system-wide slowdown caused by retained Codex helper processes
Additional information
Codex app-server configuration
The affected Codex Desktop app-server was launched with this general command shape:
codex.exe
-c features.code_mode_host=true
app-server
--analytics-default-enabled
-c features.prefer_mxc=true
-c [email protected]_servers.codex_app.enabled=true
-c [email protected]_servers.code-review.enabled=true
No credentials or private project information are included above.
Hardware
- approximately 32 GB physical RAM
- DDR5-5600
- Windows x64
- Docker was stopped during the clean reproduction described above
Important A/B observation
Before fully exiting Codex:
CommittedGB: 63.06
After fully exiting Codex:
CommittedGB: 41.44
Difference:
~21.62 GB system commit released
After restarting Codex:
Initial Codex Node-family helper count: 8
The helper count then increased again as normal Codex work continued.
This makes the condition highly reproducible and strongly tied to the lifetime of the Codex Desktop app-server/process tree rather than permanent OS memory usage.
Possibly related existing reports
This may be related to the same Windows MCP/helper lifecycle problem reported in:
- [Windows 26.818] MCP process-batch accumulation and incomplete cleanup still reproducible with 5 MCP servers #40579
- [Windows 26.707] Codex Desktop retains five MCP/Node process batches (147 node.exe, 13.9 GiB) #32797
- [Windows App 26.707.9981.0] MCP suites persist after subagents complete, reaching 10.9 GB private memory #33531
- Codex Desktop on Windows accumulates Node REPL/MCP/stdio app-server helper stacks during long multi-thread sessions #26327
I am filing this separately because the issue is still reproducible on the much newer Codex Desktop version 26.1002.6548.0, and I have a clean restart baseline plus process-count/memory measurements showing the progression from 8 -> 44 -> 55 -> approximately 200 helpers during longer-running usage.
Activity
github-actions commentedon Oct 7, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Sambhav242005 commentedon Oct 13, 2026
Additional Windows measurements from 2026-10-13, shared with the user's authorization.
Environment:
codex-cli 0.162.0-alpha.17.2.Observed snapshots during normal desktop use:
node.exehelpers with approximately 1,460 MiB of private committed memory.The distinction between private committed memory and resident working set matters here: an earlier snapshot showed only about 5 MiB resident across the helpers, despite substantial private committed memory. Most of the allocation was therefore not resident at that instant; low resident memory alone did not establish low overall memory overhead.
This is an additional observation of significant helper-process overhead on a 16 GB Windows machine. These snapshots do not establish monotonic process accumulation, a confirmed leak, that the helpers were obsolete, or how much physical RAM terminating them would recover. We did not terminate the helpers or perform a restart A/B comparison because they could support other chats and tools.
Please investigate whether local helper pools can be reused or safely released when their associated tool contexts are no longer needed, and whether the app can expose an idle-helper cleanup option or memory diagnostics.
No session transcripts, credentials, local usernames, project paths, or complete process command lines are included.
medz commentedon Oct 16, 2026
Additional macOS measurements, with a possible contributing mechanism in composer prediction forks. This is performance/resource-usage feedback; the trace does not establish a permanent memory leak.
Environment
codex-cli 0.163.0-alpha.10.2.Measurements
At 2026-10-17 00:23:59 UTC+08:
RSS includes shared pages. These totals are not exclusive physical memory, Activity Monitor footprint, or Windows private committed memory. We did not individually establish that all 19 temporary cohorts were composer predictions.
Each representative cohort contained a code-review server, app-tools server, CUA server/child, node_repl helpers, and an npm launcher plus XcodeBuildMCP service. Their temporary turns completed at 2026-10-16 23:43:30 and 23:43:52 UTC+08, adjacent to corresponding
cumberbatchprediction-decision log events. Both sets of helpers remained alive at 00:23:59, roughly 40 minutes after those prediction completions.During subsequent checks around 00:32 and at 00:33:55, all 16 tracked PIDs had exited. Across five older cohorts, 40 helper PIDs had exited, while the original app-server PID was unchanged. This diagnosis did not terminate those helpers or restart the application.
Other development tasks continued throughout, so these observations are not an isolated A/B test and do not establish monotonic accumulation.
Source-supported contributing mechanism
Read-only inspection of the installed desktop bundle shows that
composer_predictionsuses an ephemeral fork withexperimentalPredictionMode: true. Its shared generation helper callsunsubscribeThreadinfinally, ignoring errors.In the matching public tag, prediction forks inherit parent configuration, including client MCP extensions. Non-SubAgent sessions use Eager MCP startup. This provides a mechanism for short prediction requests to start a complete local toolchain even when they do not execute those tools.
The normal lifecycle deadline and timer use the later of the no-subscriber and inactive timestamps, plus 1800 seconds, followed by session shutdown and removal. We did not capture the actual last-unsubscribe timestamp. Forty minutes after prediction completion alone therefore does not prove a retention-deadline violation.
Could prediction forks retain the model's tool declarations and prompt-cache reuse while avoiding eager startup or extended retention of local tool processes they do not need to execute?
The confirmed observation is substantial helper-process overhead, with a source-supported contributing mechanism. Permanent retention and a heap leak remain unproven.
jaehyunseo-119 commentedon Oct 17, 2026
Additional Windows observations: helper accumulation and a short predictions-OFF comparison
Adding Windows measurements to complement medz's prediction-fork analysis. These observations do not establish a permanent leak or a confirmed root cause.
Environment and scope
OpenAI.Codex_26.1013.4894.0(package version, not CLI version).During extended use, conversations became increasingly unresponsive. Restarting temporarily improved responsiveness and substantially reduced process counts. No OOM diagnosis was captured.
Observations before disabling predictions
codex.execmd.exe, 59node.exe, 50node_repl.exe, and 29uvx.exenode.exesnapshotsThese are separate observations, not one continuous series. The system-wide Node counts are not a claim that every process belonged to Codex. The increasing batches included Codex tool runtimes; no project web-server listeners were found on the checked QA ports during that inspection.
Logs recorded
thread/forkand subsequent turn completion. The four retained processes were correlated by creation time and tool type, not an explicit thread-to-PID ownership mapping. Turn completion is not equivalent to thread teardown; this retention interval does not demonstrate a cleanup-deadline violation.After disabling Show predictions and restarting
The setting was turned OFF through the UI, followed by a full application restart. An initial approximately 41-second observation showed
node.exeremaining at 11, with no observed Node births/exits or newthread/forkrecords in the inspected logs.Four sequential text-only request/reply exchanges were then performed with one existing chat. The first exchange loaded another tool-runtime cohort: Node increased from 11 to 21. The receiving chat was instructed not to execute tools or resume project work.
The three additional exchanges and a later development-work checkpoint were sampled as follows (all counts are system-wide for the named executables):
node.execmd.exenode_repl.exeuvx.exeDuring the text-only test, all ten temporarily added processes had exited by the follow-up. The final text-only snapshot matched the baseline PIDs and creation timestamps. No additional
thread/forkrecords were found in the inspected interval. The source of the transient processes was not conclusively identified.¹ The 06:01:52 snapshot was taken approximately 80 minutes after the final text-only checkpoint, after concurrent development work had resumed with Show predictions still disabled. This was not continuous monitoring or an unchanged-workload comparison.
At this checkpoint, 125
node.exeprocesses were identified by parent-process traversal as descendants of three Codex app-server processes, with approximately 8,773 MiB of summed private memory—not physical RAM usage. Two of those app-server processes had started after the text-only test. The earlier text-only test did not yield a valid comparable memory measurement, so no memory-growth delta is claimed.Despite the higher process counts, the previously observed delays, timeouts, and UI unresponsiveness had not recurred according to the user’s observation during approximately one hour of concurrent work. This supports improved responsiveness during the observed period, but does not establish that process growth stopped or that retained helpers were unnecessary.
User-observed responsiveness after the change
Since disabling Show predictions and restarting Codex, the previously recurring conversation delays, timeouts, and application sluggishness have not recurred during continued use up to this update. Conversations are currently responsive. This is a clear user-observed improvement, although the separate effects of disabling predictions and restarting have not been isolated.
Interpretation and limitations
The predictions-OFF run did not reproduce sustained accumulation during this short, text-only test. This is consistent with predictions contributing to the earlier behavior, but disabling predictions and restarting were simultaneous interventions, and the workloads were not identical. Diagnostic activity may also affect process creation.
This does not establish causality, a permanent leak, a cleanup failure, or long-term stability under concurrent tool-heavy workloads. I am contributing the Windows observations and bounded follow-up rather than independently confirming the implementation mechanism described above.
No credentials, private project paths, session identifiers, or raw logs are included.
fkubrick commentedon Oct 18, 2026
Adding another Windows data point from October 18, 2026.
Environment: Windows desktop package
OpenAI.Codex 26.1013.4894.0, bundled CLI0.163.0-alpha.10.2, approximately 31.6 GiB usable physical RAM, several development chats and local stdio MCP servers configured.Observed before any local mitigation:
Measurement limits: these were snapshots during real concurrent work, not an isolated A/B experiment or continuous growth trace. System memory changes cannot be attributed entirely to Codex. Summed working sets include shared pages and are not exclusive physical memory or private committed memory. Multiple MCP instances can legitimately belong to distinct clients. We have not established a permanent leak, a missed teardown deadline, an OOM event, or a link to composer predictions.
The practical impact was application unresponsiveness requiring a restart. It would be useful to investigate the startup/retention cost of local MCP servers and npm/npx wrappers, including deferred startup until first use and bounded teardown of unused runtimes. Any reuse would need to preserve per-session state and credentials.
Only sanitized aggregate observations are included; no local paths, project names, credentials, session IDs, screenshots, or raw logs are attached.
pozafly commentedon Oct 19, 2026
Adding a macOS observation that complements the prediction-fork findings above.
Environment: Codex Desktop 26.1013.40934, bundled CLI 0.163.0. Composer predictions remained enabled. I set
thread_unload_delay_secs = 300and restarted the app before the observation.node_replprocesses, two Node MCP servers, and one CUA launcher. There was also a native event-stream helper outside that Node count.So this observation demonstrates repeated startup and temporary retention overhead, rather than establishing a permanent process leak. Reducing the unload delay limits how long these cohorts accumulate, but does not prevent a new cohort from starting for each prediction.
Could prediction forks skip or defer local MCP/helper startup while preserving composer predictions and normal chat tool access? Predictions are useful; a prediction-specific exemption would address this overhead without disabling the feature globally.
Personal information, local paths, process/thread identifiers, and raw logs have been omitted.
henrikogaard commentedon Oct 19, 2026
Additional macOS observation: ChatGPT desktop 26.1013.40934, build 20770; bundled Codex CLI 0.163.0-alpha.10.2; macOS 27.0.1.
After a normal conversation response, a temporary
composer_predictionsfork started a separate tool-worker bundle. The prediction completed after approximately 12 seconds. Six associated Node/Node REPL processes remained alive approximately 21 minutes later, with a summedvmmapphysical footprint of about 192 MiB.Backend logs show shutdown of the temporary thread exactly 30 minutes after prediction completion. All six workers subsequently exited without intervention, while the original app-server and conversation workers remained running.
This observation supports substantial temporary tool-runtime overhead, not a permanent leak or failed cleanup. Please investigate avoiding tool-process startup for composer predictions that do not use tools, or releasing their runtime resources sooner.
This was a read-only investigation of one observed prediction lifecycle, not an isolated repeated reproduction.
MaksymShostak commentedon Oct 19, 2026
Additional Windows incident evidence from October 19, 2026, posted with the workstation owner's authorization. Adding to this existing report rather than opening another duplicate; also relevant to #53285.
Environment verified during follow-up
OpenAI.Codex_26.1013.4894.0_x64.codex-cli 0.163.0-alpha.10.2.codex.exe app-serverhad been running since approximately 09:26 local time (UTC+03).Incident and recovery recorded in the owner's local diagnostic report
At approximately 17:00, the report recorded roughly 1,100 processes across Windows, with approximately 800 classified as Codex/MCP-related. Reported instance counts included:
node.execonhost.exenode_repl.execmd.exegithub-mcp-server.exeRepeated command families included Chrome DevTools through
cmd /c npx, GitHub MCP stdio, CUA/Node REPL, Codex Security, Codex App Tools, and Code Review. The report recorded approximately 29–35 copies of several server/launcher families beneath one live app-server. Severe workstation sluggishness was observed.The report's recovery at approximately 17:07 explicitly terminated 520 selected tool/launcher processes while retaining the app-server. Its before/after snapshots recorded:
The report summed approximately 23.8 GB of working sets before cleanup. That is not exclusive physical-memory attribution: shared pages may be counted multiple times. The observed approximately 7.66 GiB increase in available memory is a separate host-level before/after measurement during a live workload, not an exact per-component accounting.
Independent read-only follow-up
At 17:13 local time, I verified the original app-server PID and creation timestamp were unchanged. A fresh parent/child traversal found 121 descendants (35 direct children), including seven GitHub MCP processes with creation times after 17:07, eleven
node_repl.exeprocesses, and repeated DevTools/tool families. The host had 442 processes and approximately 10.61 GiB available physical memory.Other chats and diagnostic work were active. This follow-up establishes that helper processes were being created again under the same app-server after the reported cleanup; it does not establish that these newly created instances were obsolete or leaking.
Interpretation and requested investigation
The raw pre-cleanup per-PID capture was not included in the supplied report. Its stronger claims of universal orphaning, missing stdin-EOF handlers, missing Job Objects, and a proven permanent leak are therefore not independently established by this submission. A live app-server surviving child termination also does not prove every terminated child was unused.
The matching public configuration schema documents
thread_unload_delay_secswith a default of 1800 seconds, and unloading depends on both inactivity and no subscribers. The workstation's inspected user config has no override. Turn completion alone cannot establish that a teardown deadline was missed. No controlled HISEW-on/off or predictions-on/off reproduction was performed.HISEW Dev 0.1.0-dev.27 is installed on this workstation. Its installed manifest declares skills and SessionStart/Stop hooks, with no MCP server declaration. Its review workflows can cause additional agent sessions, so workload amplification is possible, but this evidence does not attribute the retention defect to HISEW.
Please investigate bounded lifetime/ownership for normal, subagent, and internal temporary sessions; avoid starting full local tool bundles for prediction/summary work that does not use them; and expose enough runtime ownership to distinguish actively needed workers from retained pools. Windows process-tree containment remains relevant at actual shutdown, but it would not by itself reclaim runtimes that Codex deliberately keeps alive.
No credentials, raw logs, session identifiers, local usernames, or private project paths are included. The incident measurements above are explicitly distinguished from the fresh follow-up and from causal hypotheses.
jordanlein commentedon Oct 19, 2026
Adding a related Windows data point, with the workstation owner's authorization. Detailed measurements and limitations are in #53285 (comment) to keep the full report in one place.
On Windows 11 Pro build 26300, desktop package 26.1013.4894.0, a live Codex process tree contained 24 node.exe helpers and 12 MATLAB MCP processes arranged as six parent/child pairs with distinct creation-time batches under the same backend. Several groups also included Firebase and computer-use helpers.
Summed desktop-tree working set/private bytes were 6692/6345 MiB before restart, 5591/5502 MiB after the user terminated and reopened Codex, and 5145/4838 MiB after MATLAB MCP removal. Corresponding node.exe counts were 24 -> 19 -> 10; MATLAB connector counts were 12 -> 4 -> 0. Two new helper batches appeared within approximately the first minute after reopening.
These are interactive diagnostic snapshots, not an isolated workload comparison. Shared pages are double-counted in summed working sets; private bytes are commit, not physical RAM. The observed decreases and cleanup do not establish a permanent leak or that retained helpers were unnecessary. The useful signal is repeated startup/retention overhead on this version, with a measured restart comparison.
efrasmsq-sudo commentedon Oct 19, 2026
Windows confirmation: composer prediction forks initialize MCP runtimes (2026-10-19)
Adding a source/runtime correlation to this existing report with the workstation owner's explicit authorization. This identifies a concrete contributing mechanism, not proof of a permanent leak or attribution of every helper process.
Verified environment: Windows x64; MSIX package
26.1013.4894.0; packaged desktop application26.1013.40934; executing backendcodex-cli 0.163.0-alpha.10.2. This was an existing, long-running profile with multiple configured MCP integrations, not an isolated clean-install workload.Local runtime evidence
cumberbatch_safety_decisionevents for composer predictions in the active conversation during the diagnostic window.rpc.method="thread/fork"->thread_spawn->session_init.mcp_manager_init-> MCP client initialization for multiple configured servers.Installed implementation and matching-version source
Read-only inspection of the shipped desktop JavaScript found:
experimentalPredictionMode: true,ephemeral: true, andthreadSource: "composer_predictions".unsubscribeThread; it does not request immediate runtime destruction. Unsubscribe errors are caught without surfacing a cleanup failure.The corresponding public version provides the rest of the lifecycle mechanism:
That allows repeated predictions to retain overlapping tool-runtime cohorts even when no extra task is visible. The 30-minute value is a source-confirmed default, not a measured teardown deadline or demonstrated missed deadline on this workstation. The public tag matches the backend's reported version; this is not a bit-for-bit build provenance claim.
Requested fix and evidence limits
Please avoid initializing full MCP/tool runtimes for prediction-only work that does not use tools, and release temporary-fork resources promptly through a bounded lifecycle. Expose runtime ownership so users can distinguish active workers, deliberate retention, and failed cleanup without periodically terminating processes.
No predictions-OFF controlled comparison or full idle-to-shutdown lifecycle was performed here. No claim is made that this mechanism explains all CPU use, all helpers, or a permanent leak. The concurrent access-denied catalog retry loop is reported in #53677, not established as the trigger for MCP spawning.
Intervention disclosure: selected helper processes had been terminated earlier in this incident. At least one later transport-closed error followed that cleanup and must not be used as evidence of the original defect. The subsequent source/runtime investigation did not repeat process termination or modify installed code, credentials, databases, caches, or security settings.
Privacy: no raw logs, private chat/request/account IDs, prompts, project names, personal paths, process command lines, credentials, screenshots, or attachments are included.
stud0709 commentedon Oct 21, 2026
Windows follow-up: 26.1016.6573.0 / 0.163.0-alpha.11 (2026-10-21)
Adding measured evidence with the workstation owner's explicit authorization, rather than opening a duplicate. Repeated helper accumulation remains observable on a newer desktop/backend version.
Verified environment
OpenAI.Codex 26.1016.6573.0.codex-cli 0.163.0-alpha.11.codex.exeprocesses in the later desktop tree; these totals are for the desktop tree, not an assertion that every helper belongs to one backend or chat.Measured process-tree growth
Parent/child traversal used PID plus process creation time to reject reused-parent identities. All counts below are attributable to that desktop root, rather than machine-wide executable counts. The root itself is included in the total.
node.exenode_repl.execmd.execonhost.exeChatGPT.execodex.exeThe later snapshot had 22 direct children, 491 total descendants, 4,897 threads and 89,108 handles. Its summed working sets were 18.782 GiB and summed private bytes were 16.486 GiB. Summed working sets double-count shared pages; private bytes represent commit, not resident physical RAM. The owner separately observed roughly 19-20 GiB in Task Manager's application group. These metrics are not interchangeable.
At 10:19, the Node groups included 21 Chrome DevTools servers plus 21 launchers (approximately 4.014 GiB private bytes combined), 38
mcp-remotelauncher/adapter processes (3.153 GiB), and 48 relativeserver.mjsruntimes (3.497 GiB). A subsequent command/ancestry sample showed 22 DevTools pairs, 20 CUA runtimes, 20 local MCP adapter/launcher pairs, and 50server.mjsruntimes. The snapshots were taken at different times; these counts are not combined into one inventory.The corresponding shells were predominantly wrappers: a later sample found 70
cmd.exeprocesses parented bycodex.exeand 42 by Node.Short inactivity comparison
Between 10:20:14 and 10:21:04 UTC, 107 of the initial 112 shells survived with the same PID/creation identities. Of those, 100 had unchanged CPU and I/O counters. Eighty shell trees also had unchanged counters for their observed descendants, with no new descendants present at the second sample. Twenty quiet shells had active/changing children. Some quiet shells were approximately 69 minutes old; process age does not establish 69 minutes of inactivity. Two snapshots cannot detect every transient process between samples.
Workload and limits
The prediction-fork observations already posted in this issue are a useful lead, but predictions were not disabled for an A/B comparison here, and no local trace proves that predictions caused these particular groups. The next proposed mitigation is the supported Show predictions toggle off, followed by a full application exit/relaunch and a fresh comparison. This has not yet been performed or verified on this workstation.
Please investigate bounded tool-runtime startup/retention and expose owning thread/source and unload deadlines, so active helpers can be distinguished from retained background cohorts without unsafe process-wide cleanup.
Privacy: this update contains no raw logs, screenshots, personal paths, project/source contents, private chat/account IDs, process command lines, credentials or attachments. Detailed local originals remain preserved.
Post-restart / predictions-OFF follow-up (same day)
The owner disabled the supported Show predictions setting and fully restarted the desktop app. A bounded follow-up used only the current chat, basic read-only tool calls and a lightweight sampler; the owner did not switch chats, and issue workers, browser operations and new subagents stayed stopped.
Seventeen snapshots over approximately 8 minutes 15 seconds (10:39:42-10:47:57 UTC) showed:
Private-byte range during this short capture: 2.821-3.745 GiB. No process termination was performed. Some helpers disappeared naturally; progressive helper accumulation was not observed in this window.
This is encouraging mitigation evidence, not a controlled predictions-ON/OFF comparison or proof of a permanent fix: restart and the setting changed together, workload was narrower, and the window was short. The two memory metrics retain the accounting caveats above. Longer observations will use an independent external process sampler so assistant monitoring itself need not wake additional sessions.
Follow-up: selecting idle desktop chats
Disabling Show predictions and restarting reduced the initial footprint, but did not eliminate later helper-process bursts. The same Windows desktop installation was sampled independently at roughly 15-second intervals, using PID plus creation-time identities and ancestry. The recorder itself runs outside the app process tree.
During a later window the user selected several existing desktop chats whose issue-processing tasks remained idle. One separately authorized test job was running. The attributed desktop process tree rose from 134 processes / 6.76 GiB summed working sets to a sampled peak of 267 / 11.98 GiB. A later sample contained 247 processes / 11.10 GiB. Between the baseline and that later sample:
An earlier recovered baseline was 47 processes / 3.61 GiB. Later, before this click-through burst, it was 139 / 6.70 GiB. Of the new surviving processes, 48 created around activation of another existing desktop chat were still present approximately 43 minutes later, totaling about 1.85 GiB working sets.
These observations support investigating helper initialization/retention when selecting chat views, in addition to prediction-related startup. They do not identify the internal trigger or establish a permanent leak. The recorder does not collect command lines or per-chat ownership; process totals include all attributed descendants. Summed working sets can double-count shared pages, and private bytes measure commit rather than physical RAM. UI-reported peaks and this sampled metric are not directly interchangeable. No processes were killed to manufacture recovery, and no raw logs, arguments, credentials or workspace paths are attached.
roddopasth-ai commentedon Oct 21, 2026
Additional Windows reproduction from one visible Codex chat (2026-10-21), shared with the workstation owner's authorization.
Environment: Windows desktop, Codex package
OpenAI.Codex_26.1016.6573.0. Only one visible chat was open for this investigation.Observed process ancestry and work:
codebase-memory-mcp.exeserver instances were children of the samecodex.exeapp-server (same parent PID).--index-worker index_repositorychild indexing the same local repository.codebase-memory-mcp.exe (2)entry showed about 13.6 GB and 21.1% CPU. Earlier per-worker samples were around 12 GB working set each; these are time-varying working-set readings and should not be summed as unique physical RAM.Comparative observation from that same Task Manager screenshot:
These groups were doing different work and are not a controlled apples-to-apples benchmark. They do show that, in this observed workload, Codex's local MCP/indexing overhead was substantially larger than the other visible agent group.
Please investigate why one app-server can start overlapping codebase-memory MCP/index workers for the same repository, how to bound their CPU/memory cost and reuse a fresh index, and how Codex can expose an accurate per-agent/runtime memory breakdown. No local repository path, screenshot, chat IDs, or credentials are included.
roddopasth-ai commentedon Oct 21, 2026
Additional idle-state observation from the workstation owner (Windows, 2026-10-21), shared with authorization.
The attached Task Manager screenshot was taken while no Codex task/chat was actively running according to the owner. It shows:
codebase-memory-mcp.exe (2)processes at approximately 5,228 MB and 8.4% CPU.codex.exerow at 0% CPU and approximately 219 MB.This supports the report that local MCP/indexing helpers can retain substantial memory and CPU while the user sees no active task. The screenshot is a single snapshot: it cannot establish how long the usage persisted, identify each helper's owner, or rule out background app activity. The app and agent group figures are not a controlled cross-agent benchmark.
Please investigate idle MCP helper retention and expose which session/runtime owns each process, whether it is actively doing work, and its memory/CPU use, with safe cleanup when no task needs it. No screenshot or private project paths are attached.
Nagi-Inaba commentedon Oct 21, 2026
Additional Windows measurements: 26.1016.6573.0 / 0.163.0-alpha.11 (2026-10-22 JST)
Adding evidence to this existing issue with the workstation owner's authorization.
The owner reports persistent sluggishness/freezes and states that no ordinary Codex work is currently running. A diagnostic chat and read-only process inspection were active during collection, so this is not a controlled idle test.
Verified environment
OpenAI.Codex 26.1016.6573.0package. This is the MSIX version, not an About-dialog version.codex-cli 0.163.0-alpha.11.Snapshot at 2026-10-22 02:33 JST (2026-10-21 17:33 UTC)
Process attribution used package/backend executable paths and parent-child traversal with PID plus creation time to reject reused-parent identities.
Within the attributed Codex tree:
conhost.exenode.exepython.execmd.exenode_repl.exeuv.exeuvx.exepy.exeChatGPT.execodex.exeDirect children of the desktop backends included repeated instances of several configured MCP/helper families: 17 code-review-graph launchers, 20 textlint launchers, 15 CUA launchers, and 19 launchers each for several other configured local services. Earlier inspection placed the bulk of these helpers under one unchanged desktop backend. Creation times span roughly 01:42–02:23 JST, consistent with multiple retained startup cohorts. A targeted earlier helper sample had valid parent identities; we did not demonstrate Unix-style zombie processes or establish that each helper was obsolete.
Dots / prediction hypothesis and limits
The owner suspects Dots involvement. We have not attributed these cohorts to individual Dot tasks, performed a Dots-on/off comparison, or correlated them with composer-prediction events. The prediction-fork observations already discussed above are a relevant investigation lead, not a confirmed explanation of this workstation's data.
Counts fluctuated during diagnosis; the machine-wide process count fell from 987 in an earlier snapshot to 946 here without intentional termination. These observations do not establish monotonic growth or a permanent leak. Private bytes measure commit, and summed working sets double-count shared pages; neither is an exclusive physical-RAM measurement.
There are additional system confounders: the system volume has only about 5 GiB free, and Windows has a LiveKernelEvent 141 report (display-engine timeout). Current physical RAM usage was about 60%, so we are not claiming ongoing RAM exhaustion at this exact snapshot or attributing all freezes to Codex.
Please investigate runtime ownership and teardown/reuse of repeated MCP/CUA/REPL cohorts, including whether Dot activity or temporary prediction contexts retain tool runtimes after visible work stops.
Process snapshots and the owner's Task Manager screenshots were preserved locally before the authorized full Codex shutdown. This comment records pre-shutdown evidence; recovery measurements are not yet available. No screenshots, raw logs, command lines, credentials, account/session IDs, host name, or private workspace paths are attached.
Nagi-Inaba commentedon Oct 21, 2026
Follow-up: helper cohorts reappear after full exit and relaunch; thread-loading and retention evidence
Following up on my pre-shutdown measurements, with the workstation owner's explicit authorization.
Recurrence after relaunch
The desktop was closed and the owner relaunched it at approximately 2026-10-22 02:40:14 JST (2026-10-21 17:40:14 UTC). The desktop backend started at approximately 17:40:24 UTC.
A later identity comparison found zero surviving matches among the 748 recorded pre-shutdown target identities, using PID plus creation time. The helpers seen after relaunch were newly created, including the console hosts visible in the owner's screenshots.
At 17:48:51 the attributed tree had 12.544 GiB private commit, with several local MCP launcher families repeated 10 times and others 12 times. At 17:56:16 it had 11.842 GiB private commit, with corresponding families at 9 and 11. Counts can fall without intervention; this is not evidence of monotonic growth or a permanent leak.
The original post-exit recorder stopped before saving its after-exit result. Therefore there is no immediate post-exit/clean-start memory baseline. The comparisons above are post-relaunch diagnostic observations, not a controlled idle benchmark.
What the runtime logs establish
Codex Desktopclient resumed seven distinct persisted chats: three classified asuserand four asautomationhistory. These classifications do not establish that those automation jobs actually ran.thread/forkrequests around 17:40:51 and 17:45:06 UTC. The resulting thread identities were absent from the persisted thread catalog. The second fork coincided with another fresh local MCP cohort.codex_chatgpt_ios_remote, resumed two more chats. Their request traces explicitly containthread_spawn -> session_init -> session_init.mcp_manager_init; new MCP cohorts were created at those times.This supports investigating per-loaded-thread MCP initialization and retention, including loading existing chats without starting an ordinary user task. It does not establish a one-to-one owner mapping for every process.
Installed desktop implementation provides a retention explanation
Verified versions: MSIX
26.1016.6573.0; installed application metadata26.1016.51333; executing backend0.163.0-alpha.11.Read-only inspection of the installed JavaScript bundle found:
experimentalPredictionModefork withthreadSource: composer_predictions. The generation helper unsubscribes in its final cleanup rather than explicitly shutting down the runtime. The prediction setting is defined as enabled by default; no explicit override was found in the inspected persisted atom settings.For context, the published upstream lifecycle implementation requires both no subscribers and inactivity before unloading, and the published config documents a separate default 1800-second unload delay. That upstream commit is context, not a claim that its backend is byte-identical to this installed alpha or that the effective unload delay was measured.
Dots attribution remains unconfirmed
The owner suspects Dots, but no collected request was positively attributed to a Dot. The seven initial local-desktop resumes and their cohorts precede the recorded iOS remote resumes. The iOS client label must not be treated as proof of Dot activity. No Dot-disconnected A/B test was performed. A remote subscriber extending runtime lifetime is an investigation lead, not an established cause here.
Please investigate avoiding eager MCP initialization when merely restoring/observing inactive chats, reducing or making the inactive-thread retention cost visible/configurable, and exposing per-thread/helper ownership. The recurrence is observable after relaunch, with both local loading and remote-resume paths implicated in additional runtime initialization.
The diagnostic assistant did not change settings, disable integrations, terminate processes, or intentionally start additional chats/tasks for a reproduction. Only sanitized counts/timestamps and implementation observations are posted; screenshots, raw logs, private thread/account IDs, command lines, and workstation paths remain local.
Nagi-Inaba commentedon Oct 22, 2026
Further recurrence after a Windows reboot; plugin identity and app-managed MCP activation
Another update from the same Windows workstation, with the owner's authorization. This is a partial local mitigation, not a claim that Desktop's MCP lifecycle is fixed.
The OS booted at approximately 2026-10-22 11:20:27 JST. Codex Desktop's backend started at approximately 11:25:14 JST. At 11:26:32 JST (02:26:32 UTC), the validated Codex descendant tree contained:
Private commit is not resident RAM; summed working sets are not used as an exclusive physical-memory measure. This was a live diagnostic session, not a controlled idle benchmark. At 11:44:29 JST there were 202 Codex-tree processes and 7.151 GiB private commit, so some cleanup does occur.
Why an initial plugin policy change did not stop the recurrence
The external Python MCPs had been disabled in user config and did not return in this snapshot. However, disabling the MCP parts under
build-ios-apps@openai-curated,codex-security@openai-curated, andcreative-production@openai-curateddid not affect the actually installed remote identities.plugin/listsubsequently confirmedbuild-ios-apps@openai-curated-remote,codex-security@openai-curated-remote, andcreative-production@openai-curated-remote.After the reboot, there were still multiple direct launcher groups for XcodeBuildMCP and Codex Security. Those processes were newly created by Desktop's backend, not survivors of the pre-reboot process tree. XcodeBuildMCP was starting through
npx -y xcodebuildmcp@latest mcpon this Windows machine without an Apple-build task in this diagnosis.The MCP policies have now also been set on the actual
@openai-curated-remoteidentities, while retaining the installed plugins and skills. A new ephemeral instance of the installed app-server, using the Desktop client name and checking actual process families, did not start XcodeBuildMCP/Security/Creative Production after this correction. This narrow probe does not establish that a subsequent full GUI session is clean; that verification is still pending.App-managed paths that a static user-config edit does not address
mcp_servers.node_replusingconfig/batchWriteduring browser/computer-use setup. The setting that had been disabled was enabled again after app startup; this is confirmed in the current config, not just inferred from the source.[email protected]_servers.codex_app.enabled=trueand[email protected]_servers.code-review.enabled=true.thread_unload_delay_secs=60has been saved as a local mitigation. A bounded 2-second test with the installed backend confirmed that unsubscribed inactive-thread helpers can exit. This does not release threads that the GUI continues to subscribe to; the installed GUI's inactive-owner retention described in my previous comment is a separate mechanism.On-demand workaround being validated locally
The optional stdio MCPs can instead be called through a local, bounded runner that starts a server only for a requested batch or interactive session. Same-server invocations are serialized. Windows Job Objects terminate descendants on normal exit, exceptions, timeout, and caller termination; interactive sessions also expire when idle. Real textlint calls, installed-server catalog access, explicit close, idle expiry, forced caller termination, and grandchild cleanup have been tested. This adds no daemon or listening port. It is a workaround for optional local tools, not an implementation of lazy activation inside Desktop.
There is still no direct evidence attributing these repeated Desktop-owned batches to Your dot/Dots or Sites. A separate Sites bridge process cannot by itself explain the measured descendant tree; an indirect effect on which threads are loaded remains possible and has not been excluded.
For a product-level fix, it would help to have actual demand-start/idle-stop behavior for unused stdio servers, avoid loading all MCP workers for synthetic or passive thread loads, and ensure Desktop-managed settings do not silently undo an intended opt-out. A cached/deferred tool catalog alone should not be treated as proof that the executable was never started.
Full GUI restart verification — 2026-10-22 12:30–13:56 JST
The pending full Desktop relaunch above has now been measured after the actual remote plugin policies and the local on-demand setup were applied.
The detached cleanup recorded 208 targeted old process identities, with zero survivors. The app-closed snapshot contained no processes attributed to the Codex tree. The helper observed the newly launched GUI, completed both timed captures, and exited; it is no longer running.
These are live snapshots with different loaded-thread/activity states, not an isolated idle or long-term leak benchmark. They demonstrate reduced current load, not a causal memory-saving estimate or a complete lifecycle fix. Browser processes deliberately excluded from the termination targets are not claimed to have been terminated.
After the relaunch and again in the later session, no Python, XcodeBuildMCP, Codex Security, Creative Production, textlint, Obsidian, patent-workbench, code-review-graph, Colab, or code-review worker was observed in the Codex tree. The plugins remain installed; optional tools can be invoked through the bounded local runner. Native PR GUI behavior after suppressing the code-review server has not been verified and should not be assumed unchanged.
For the bundled code-review MCP, disabling only the plugin activation could be overridden by Desktop's command line. A disabled user-config MCP registration with the same server name took precedence in the installed backend. A control run exposed the normal public CI-check tool and started a worker; the disabled run exposed zero tools and no worker. The subsequent full GUI snapshot also showed no code-review worker. The optional runner allows only the public CI-check tool, not the server's internal PR mutation APIs.
Composer predictions are also disabled. The app migrated the legacy persisted-atom value into
desktop.composer-predictions-enabled=falsein user config and removed the old atom; its absence from the legacy JSON did not mean the opt-out was lost. The installed settings-migration code and the destination value were checked.Remaining product-level problem: the GUI still creates multiple bundled app-tools, CUA, and Node REPL groups for loaded chats. At the later status check, this diagnostic chat was the only active local turn; this does not prove that all other loaded runtimes were unsubscribed. The +75-second snapshot already had five direct CUA groups and ten direct REPL launchers; the later session had more. Parent/launcher inspection identifies the otherwise unnamed Node workers as
launch_codex_app_tools_mcp.cmddescendants. The shortened unsubscribe delay cannot release a chat still retained/subscribed by the GUI. I could not establish a supported setting in this installed build that implements true first-call activation and automatic idle release for these bundled servers while preserving their normal on-demand availability.This therefore remains a partial local mitigation. A Desktop/backend lifecycle change is still needed to satisfy demand-start and post-use cleanup across all MCPs. Direct causation by Your dot/Dots or Sites remains unproven; the measurements do not justify attributing the problem to either.
2026-10-23: active subscription retention observed on 26.1016.8622.0
The user intentionally re-enabled the optional MCP servers in Settings; this is not evidence that Codex silently reverted the previous configuration.
A fresh read-only investigation found:
No app restart, configuration change, process termination, or coursework interruption was performed during this investigation. No private chat names/IDs, command lines, local paths, screenshots or raw logs are included here.
nueyprap commentedon Oct 22, 2026
Same pattern on macOS, so this is not Windows-only.
codex ... app-serverhad 70 child processes after about 1 h 23 min. They come in batches started in the same second, one batch per thread opened:cua_node/bin/node .../codex-security/.../mcp/server.mjs --stdio, twocua_node/bin/node ./server.mjs,node_repl(x2),cua-repl.mjs(with its ownnode_repl), plus each configured stdio MCP server.node_replchildren also startnode --experimental-vm-modules .../T/.tmpXXXX/kernel.jsandtrusted-worker.js.cua_nodeprocesses, roughly 1 GB, while the Mac was at memory pressure "warn" with 13 of 14 GB swap used.Expected: stop a thread's MCP servers and REPL kernels when the thread goes idle or is closed, or share one set across threads.
stud0709 commentedon Oct 22, 2026
I monitored Codex during the day. If a thread was active, its child processes remain in memory, the thread does not "cool down" to the extent that the dependent processes are terminated. For me, the biggest memory consumer was the integrated web browser. I disabled it, switched to chrome dev-tools mcp, and the memory usage remained under control after that. Agents open multiple browser tabs and don't close them, these are very memory-expensive
zod-cho commentedon Oct 23, 2026
Additional Windows observation: 219 Codex-related Node processes and approximately 13.5 GiB Node private memory
Adding a sanitized report from October 23, 2026 to this existing issue. This is a report of high helper-process overhead, not a confirmed memory leak or a proven update regression.
Environment
26.1016.8622.0.0.163.0-alpha.11.2.1.127.0was found in installation metadata. No VS Code process was found at the 17:25:25 KST check.User-observed behavior
After an app update, opening Codex and selecting/assigning the computer appears to bring back many Node processes even without submitting new work. This sequence is a user observation, not a controlled minimal reproduction, and update causation has not been established.
Measured observations
codex.exe.Troubleshooting and limitations
Expected behavior / request
Selecting a computer and loading existing chats should not impose unexpectedly large repeated MCP/helper overhead when no new work has been requested. Please clarify the expected helper count/lifetime and provide a supported way to safely release unused helpers without interrupting active work.
What supported, privacy-safe diagnostic collection would best identify the owning threads/subscriptions and distinguish expected retention from a lifecycle defect? Is there a supported workaround for repeated XcodeBuildMCP startup on Windows while preserving the plugin's availability when actually needed?
No screenshots, raw logs, local paths, computer/user names, account identifiers, session IDs, credentials, or project contents are included in this report. A shared root cause with this issue is not yet established.
tajemniktv commentedon Oct 27, 2026
And that's what we get out of the 28 Tibo Days - more issues, more usage cuts, more unnecessary models.
Yet things like those, are still unresolved and not addressed...
IvoArban commentedon Oct 29, 2026
Additional Windows reproduction on 2026-10-29, with impact on external SQL applications and recovery after a full Codex restart.
Environment:
OpenAI.Codex_26.1023.6621.0_x64(version from the running executable's package path).codex-cli 0.165.0-alpha.1.2; this is not a verified version of the Desktop-bundled backend.Observed before restart:
node_repl.exe, 26node.exe, 11dab.exeSQL/MCP connector processes, 64conhost.exe, 14ChatGPT.exe, and 3codex.exeprocesses. This count includes the diagnostic shells running at that moment; it is not a count of active agents or proven leaked processes.dab.exeprocesses had established TCP connections to a remote SQL Server. Their transaction/request state was not captured.CLOSE_WAITowned by the Codex app-server. No relationship between these sockets and SQL blocking has been established.Checks and limits:
Recovery:
The user fully terminated and relaunched Codex Desktop and then reported that SQL connections and both applications worked again without freezing. A subsequent snapshot verified that Codex Desktop had restarted and the Node-family runtime count was lower (10
node_repl.exeplus 9node.exeat that moment). This was already an active post-restart session, not a measured idle startup baseline.This is a single before/after recovery observation, not a controlled repeated reproduction. It strengthens the suspected association with Codex or its connector/helper lifecycle, but does not establish that Codex held an uncommitted SQL transaction. Transaction retention, connector/pool lifecycle, and helper/resource retention are hypotheses requiring maintainer investigation; a shared root cause with this issue is not yet established.
Please investigate whether abandoned/retained SQL MCP connections or helper contexts can affect other SQL clients, and provide a supported way to inspect ownership and safely release inactive runtimes/connections without restarting the entire app. A privacy-safe diagnostic procedure for capturing this before the next restart would be helpful.
This report intentionally excludes internal server/database names, IP addresses, credentials, screenshots, raw logs, project contents, and session/account identifiers.
jkaster commentedon Nov 5, 2026
Additional Windows incident evidence and request for runtime-lifecycle owner routing.
During a November 1, 2026 multi-chat incident, the initial inventory contained 31
node_repl.exeand 69node.exeprocesses. A subsequent ownership reconciliation used process creation identities, Desktop startup records, and child-chat ancestry, rather than process names or shared-parent ancestry alone. It classified 94 baseline identities as idle Codex-owned runtimes. All 94 were verified absent after coordinated manual retirement; five baseline helpers belonging to an active Claude session and one shared artifact service were preserved, together with the active Claude session and shared Codex app-server.This is evidence of retained runtimes during paused goals/completed or interrupted child-chat work. It is not a controlled attribution of memory growth, proof of one root cause, or proof that every retained helper had the same lifecycle defect as this issue. The successful manual cleanup is not recurrence prevention.
Version qualification: the currently installed Windows Desktop package on November 4 is
OpenAI.Codex 26.1029.7803.0. That is a later verification snapshot, not a proven package version for the original November 1 incident. A separately installed CLI version is not being substituted for the Desktop backend version. Raw process command lines, local paths, project contents, account identifiers, session IDs, and credentials are intentionally omitted.We independently repaired and checked our application's owned service-manager/subprocess boundary. Real concurrent Windows report tests now verify successful completion, missing-report failure, and hard owner cancellation: the owned checker and planted grandchild exit in each case. Separate managed-session tests verify that pending RPC timers retire on close and on synchronous circular/BigInt/throwing-
toJSONserialization failures. These application-level passes do not establish cleanup of Codex-owned MCP/CUA/REPL hosts.Please route the remaining issue to the Codex Desktop/app-server MCP/CUA/REPL runtime-lifecycle owner and link the owning work item or fix here. In particular, we need supported behavior and native verification for:
The inspected public app-server surface exposed background-terminal cleanup but no equivalent per-chat MCP/REPL-host retirement request. Terminal-only cleanup and a SessionEnd-only hook therefore have not been accepted as proof of this boundary. Please provide a supported privacy-safe diagnostic or verification interface if the owning implementation already exists. Existing related report: #30408. We have not installed a blanket cleanup hook, changed global runtime policy, or claimed an upstream fix is verified.
Prepared with Codex; posted on the user's explicit request to coordinate this incident with its actual owner.