[Bug]: V2 Codex subagent model stays "Not reported" after metadata lookup fails #15250
Before submitting#
- I searched existing issues. This is a V2 follow-up to closed #10185, with a captured child metadata lookup error.
- I included enough detail to investigate the problem.
Area#
apps/server
Steps to reproduce#
- Open a Codex thread in T3 Code Nightly with the parent using
gpt-6.1-sol. - Have the parent spawn a native Codex subagent using
gpt-6-lunawithmaxreasoning effort. - Hover the child in the Lineage list.
- Compare the model label with Codex's saved child metadata and turn records.
These steps describe an observed live session. The lookup failure was captured in its existing protocol trace. I have not established a deterministic fresh-session reproduction.
Expected behavior#
The child tooltip displays its actual model once that metadata is available. A temporary metadata lookup failure does not leave the child model permanently unknown. Unknown child settings should not inherit the parent's model.
Actual behavior#
The child appears as Luna Five Shutdown, with status and duration, but the tooltip's model label is Not reported.
The agent path is present as /root/luna_five_shutdown. The missing value is the model, not the task slug.
Read-only inspection of the same child confirms:
| Source | Model | Reasoning effort |
|---|---|---|
| Codex saved thread metadata | gpt-6-luna | max |
| Codex recorded turn contexts | gpt-6-luna | max |
| T3 V2 projected subagent record | null | Not part of this model-label report |
T3's t3_thread_list also reports the child's model as gpt-6.1-sol, matching the parent rather than the recorded child model.
Impact#
Minor bug or occasional failure.
Users cannot verify the child model in Lineage. The thread-list metadata can also report the parent's model while the actual child runs a different one. Codex's own records confirm that the requested Luna model is running.
Version or commit#
T3 Code Nightly 0.0.46-nightly.20261003.2610, commit 8ed276c246b6.
Environment#
macOS 26.7.1, Apple Silicon, desktop app, Codex CLI 0.159.2. Parent model gpt-6.1-sol, child model gpt-6-luna, child reasoning effort max.
Logs or stack traces#
Sanitized protocol trace for the affected child:
{"method":"thread/resume","params":{"threadId":"<child-thread-id>","excludeTurns":true}}
The matching response returns error -32603:
failed to read thread: thread-store internal error: failed to read session metadata <child-rollout-path>: rollout at <child-rollout-path> is empty
The rollout later contains the child's metadata and turn contexts, but T3's projected subagent still has model: null.
At the installed commit, CodexAdapterV2.ts does a one-shot thread/resume when task.model is null and catches the failure with Effect.catch(() => Effect.void). This explains why that lookup did not populate the model. The empty-rollout response supports a startup timing problem in this session; it does not establish the cause of every missing label.
Workaround#
No verified UI workaround. Read-only inspection of Codex's saved child records confirms the actual model and effort.
Related reports#
- #10185 covers the older Codex model/effort label issue and contains a similar active-child lookup failure. It is closed; this report concerns the V2 adapter in the current installed nightly.
- #15214 covers absent reasoning-effort labels in V2. This report focuses on the missing Codex model and failed metadata recovery.
Investigated with Codex in T3 Code. No application files, provider settings, or live databases were changed during the investigation.
juliusmarminge added labelsbug
juliusmarminge added labelscodex
juliusmarminge added labelsvia-triage
FYI worked with Sonnet 5.5, no bug there. Maybe not deterministic. Verify further.
la 3.10.2026 klo 19.56 Julius Marminge @.***> kirjoitti:
juliusmarminge left a comment (pingdotgg/t3code#15250) <https://github.com/pingdotgg/t3code/issues/15250#issuecomment-5971310561>
Note
Grok responding on behalf of Julius. Triage
Thanks @niko-itswld <https://github.com/niko-itswld> for the careful, read-only investigation and the captured protocol trace.
Confirmed on current main (aad732901e). Your nightly (8ed276c) is an ancestor of it, and this lookup path hasn't changed since. This is the V2 version of #10185 <https://github.com/pingdotgg/t3code/issues/10185>, which was closed when Orchestrator V2 shipped. It isn't #15214 <https://github.com/pingdotgg/t3code/issues/15214>, which is about missing reasoning effort. What I found
The Lineage title Luna Five Shutdown comes from the subAgentActivity path. That path registers the child with model: null and turns the agent path into the title. SubagentTooltipContent then prints Not reported whenever subagent.model is null.
The only recovery for that null is a single background thread/resume with excludeTurns: true, capped at five seconds. Any failure, including the -32603 empty-rollout error in your trace, is swallowed by Effect.catch(() => Effect.void), and nothing tries again once the rollout has metadata. thread/settings/updated and model/rerouted could still set the model later, but only if Codex sends them, and your projected subagent staying model: null means neither arrived.
t3_thread_list uses a different field. The child thread is created with the parent's modelSelection and keeps it while task.model is null. A later subagent.updated that carries a real model would switch it, but that never ran here, so the list still shows gpt-6.1-sol.
The existing adapter test covers a resume that succeeds and one that returns no model, but not one that errors at first and would succeed later. That's the same startup race seen on #10185 <https://github.com/pingdotgg/t3code/issues/10185>. Likely fix area
- Retry the child metadata read a bounded number of times after an empty-rollout error, and stop once the child is gone or a settings or reroute event has already set the model.
- Don't fall back to the parent's model in the tooltip. Once a real child model arrives, the existing thread sync should move t3_thread_list off the parent placeholder.
- If retries still can't read a model, consider not presenting the parent's model as the child's in the thread list.
Open PR #14108 <https://github.com/pingdotgg/t3code/pull/14108> doesn't cover this case. It tries thread/read first and falls back to thread/resume only when that read succeeds with an empty model, so an empty-rollout error still ends the single attempt.
A maintainer will decide on the fix direction.
— Reply to this email directly, view it on GitHub <https://github.com/pingdotgg/t3code/issues/15250?email_source=notifications&email_token=CMRD36TNDFS7U4763WPDUFD5SEVTHA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJXGEZTCMBVGYY2M4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-5971310561>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/CMRD36S7OIPOL2MJQBLLVW35SEVTHAVCNFSNUABGKJSXA33TNF2G64TZHMYTCNJTGEZTAMZUHE5US43TOVSTWNJWHEYTKOJTGI2DTILWAI> . You are receiving this because you were mentioned.Message ID: @.***>
Submitted a focused fix in https://github.com/pingdotgg/t3code/pull/15285.
This is low-hanging fruit for a quick review and merge: the existing Codex child-model lookup now retries the captured empty-rollout startup error within a fixed limit, preserves newer metadata, and stops retries for interrupted children. The regression fails before the fix; all 128 adapter tests and server typecheck pass afterward.
The PR links this issue and its triage comment, and records the verification limits. Maintainers decide merge timing.
Same bug on a newer build: T3 Code nightly
0.1.1-nightly.20261017.3238(desktop app, macOS 27 arm64, Codex CLI0.163.0). The parent rangpt-6.1-sol/xhigh. Every native subagent's chat view showed "Sol 6.1 xhigh", including one Codex ran asgpt-6-luna/high.New finding: Codex
0.163.0already puts the child's model in thesubAgentActivitystarteditem:{"type":"subAgentActivity","model":"gpt-6-luna","reasoningEffort":"high","kind":"started","agentPath":"/root/azure_design_luna"}registerSubagentActivity(CodexAdapterV2.tsL3053 at tagL2823), options included.v0.1.1-nightly.20261017.3238) passesmodel: nulland noreasoningEffort, and the generatedSubAgentActivityThreadItemschema doesn't include those fields. The fallbackthread/readandthread/resumewere sent in the same millisecond and both failed with-32603 … rollout at <rollout-path> is empty, so all four children in this run storedmodel: null. The child thread then kept the parent'smodelSelection(Regenerating the schema and passing
item.model/item.reasoningEffortfrom thestarteditem would fix this deterministically on current Codex, without depending on #15285's retry. The retry would still help older Codex CLIs that don't send these fields.Investigated via
t3 triagewith Claude Code (Claude Opus 5.5). No files, settings or databases were changed.Additional occurrence of the misleading child-model label:
I explicitly requested that subagents use GPT-6-Luna, Extra High. T3 Code's child view instead displayed GPT-6.1-Sol, Extra High, matching the parent conversation. This made it appear that the requested subagent-model restriction was being ignored.
Expected: show the child's own reported model and reasoning effort, or clearly mark the value as unknown. Do not silently present the parent's model as the child's model.
This is a user-visible report of the label mismatch, not a claim that execution was actually routed to the wrong model. No local session logs, identifiers, machine details, or project information are included.
Related: #17694. Adding this occurrence to the existing open report instead of filing a duplicate.
Reproduced on 1688f96568: when the one-time metadata lookup for a native Codex child failed, the child's model stayed "Not reported" through completion. https://git.cafe/pingdotgg/t3code/pulls/22830 adds bounded retries for that lookup; in an isolated runtime the child recovered the correct model and effort within seconds and kept them through completion. Claude children, the mobile card and remote modes remain unverified.
juliusmarminge linked this to #22830
I tried to reproduce this on the current build and could not.
Commit 36f011dfb7 (origin/main). I could not run the reporter's live flow because this VM has no Codex or ChatGPT account. Instead I wrote an adapter-level regression in apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.test.ts. It uses the existing resumeSubagentTranscript replay (a native Codex child registered from a subAgentActivity 'started' item) with a child-metadata reader that fails both lookups of the first attempt (thread/read, then thread/resume) with Codex's -32603 'rollout at is empty' error and returns model gpt-6-luna / effort max after that. After the child completes and the test clock advances 60s, the latest subagent update still has model null ('expected null to equal gpt-6-luna'). Control: letting the first lookup succeed makes the same test pass. Pushed as factory/repro-15250 (commit 71bb2e2574). The bug was earlier reproduced in an isolated runtime on 1688f96568, per the maintainer comment on the issue.
Closing as not planned. If it still happens for you, reply with the exact steps and the version you are on and it will be looked at again.
juliusmarminge closed this
This is still occurring in a live session on T3 Code Nightly
0.1.10-nightly.20261113.4643, after the November 13 closure.Environment: Windows desktop connected to a Linux x64 T3 server; desktop and server both have that version. Server Codex CLI is
0.169.0.I checked the running desktop UI with computer use and correlated it with the server's read-only projection records. In one parent thread, three native Codex children started during the same run:
- Child A: tooltip "Not reported", still running after 28m57s; subagent projection
model: null, nomodelSelection. - Child B: tooltip "Not reported", still running after 28m; same missing projection fields.
- Child C: tooltip "6.1 Sol · high", running after 33m35s; projection has
gpt-6.1-solandreasoningEffort: high.
The model labels were also populated for two completed reviews in another recent session and three completed native children in a third session.
In the installed tag's adapter,
registerSubagentActivityregisters the child withmodel: nulland does not pass through the initial event's model/effort. The recovery path makes onethread/read, falls back tothread/resume, applies a five-second timeout, then ignores the failure. There is no retry in that path.Existing provider protocol logs establish the following startup sequence (November 13, 2026, UTC; child identifiers omitted):
Child Metadata requests and responses Actual model/effort A thread/readat 23:42:08.261; error at .273; fallbackthread/resumeat .273; error at .285gpt-6.1-sol,highB thread/readat 23:40:11.811; error at .823; fallbackthread/resumeat .824; error at .827gpt-6-astra,highC thread/readat 23:41:59.097; success at .127, returning model and effortgpt-6.1-sol,highEach request was matched to its response by JSON-RPC ID. All four failed responses have code
-32603and the same form:failed to read thread: thread-store internal error: failed to read session metadata <child-rollout-path>: rollout at <child-rollout-path> is emptyFor A and B, the files now contain data. Their original
item/started/subAgentActivityevents already explicitly carried the model andreasoningEffort: high; the saved Codexturn_contextrecords independently confirm the settings above. Child B actually runs Astra although its synthetic child-thread model selection displays the parent's Sol. That child-thread value is not evidence of the executed model: the adapter explicitly falls back to the parent's model when the child selection is unknown.This captures the empty-rollout startup failure in a live authenticated session on this build, alongside a successful control. Ignoring model/effort already supplied by the initial activity event leaves these children dependent on a one-time lookup that can fail before the rollout is populated.
These are observations from existing sessions, not a fresh deterministic reproduction. No application code, settings or projections were changed. Private identifiers, paths and prompt/tool content are omitted. Please reconsider reopening this report.
- Child A: tooltip "Not reported", still running after 28m57s; subagent projection
Hey @juliusmarminge, just saw it today on nigtly, and had my agent investigate it. I hope it can help in some way
Sign in to join this conversation.
Note
Grok responding on behalf of Julius.
Triage#
Thanks @niko-itswld for the careful, read-only investigation and the captured protocol trace.
Confirmed on current
main(aad732901e). Your nightly (8ed276c) is an ancestor of it, and this lookup path hasn't changed since. This is the V2 version of #10185, which was closed when Orchestrator V2 shipped. It isn't #15214, which is about missing reasoning effort.What I found#
The Lineage title Luna Five Shutdown comes from the
subAgentActivitypath. That path registers the child withmodel: nulland turns the agent path into the title.SubagentTooltipContentthen prints Not reported wheneversubagent.modelis null.The only recovery for that null is a single background
thread/resumewithexcludeTurns: true, capped at five seconds. Any failure, including the-32603empty-rollout error in your trace, is swallowed byEffect.catch(() => Effect.void), and nothing tries again once the rollout has metadata.thread/settings/updatedandmodel/reroutedcould still set the model later, but only if Codex sends them, and your projected subagent stayingmodel: nullmeans neither arrived.t3_thread_listuses a different field. The child thread is created with the parent'smodelSelectionand keeps it whiletask.modelis null. A latersubagent.updatedthat carries a real model would switch it, but that never ran here, so the list still showsgpt-6.1-sol.The existing adapter test covers a resume that succeeds and one that returns no model, but not one that errors at first and would succeed later. That's the same startup race seen on #10185.
Likely fix area#
t3_thread_listoff the parent placeholder.Open PR #14108 doesn't cover this case. It tries
thread/readfirst and falls back tothread/resumeonly when that read succeeds with an empty model, so an empty-rollout error still ends the single attempt.A maintainer will decide on the fix direction.