Connect with ChatGPT rejects Codex subagents and leaves the chat unable to continue #17679
What happened#
A Mac desktop app connects to a Linux T3 Code background server. Subagent spawning triggers subscription_sharing_unsupported_capability, with param set to input. The user confirms that continuing the same failed chat still fails. A new chat works when supplied with the prior output and instructed to avoid subagents.
The user has two separate accounts. The primary account is logged in through Codex and connected to T3 Code; it works with subagents. The secondary account is connected through T3 Code's "Connect with ChatGPT" option; it fails after subagent spawning. This is a failure during execution after successful login. Because both the account and the login method differ, this comparison does not isolate whether the cause is account-specific or related to the authentication route.
The supplied screenshot shows a page-building request with an image attachment, followed by two failed subagents and a provider error.
Diagnosis#
The provider event logs confirm that Codex app-server returned the rejection to T3 Code. The affected page-building session uses openai_token_sharing.
T3 Code's CodexManagedRuntime.ts in v0.0.45 and main configures managed ChatGPT sign-in to use this provider with the Responses API at https://api.openai.com/v1. The exact installed nightly source could not be fetched. These references establish the route, not the rejected input item.
The logs do not contain the full Responses request body, so the specific unsupported item is unknown. The observed failures follow subagent starts. A logged follow-up failed immediately, consistent with the user's confirmation that continuing the same chat fails. The successful new chat suggests that retained conversation history may contribute to continued rejection, but this mechanism is not confirmed.
Steps to reproduce#
Observed sequence, not a verified deterministic reproduction:
- Connect the Mac desktop app to the Linux server.
- Use the managed Codex subscription-sharing route with GPT-6.1-Sol and low reasoning effort.
- Ask to add a page matching an attached image.
- Have the agent start subagents. Observe the child turns and then the parent turn fail with the provider rejection.
- Continue in the same failed chat. The rejection persists.
- Start a new chat, supply the prior output, and instruct the agent to avoid subagents. The user reports that this works.
The user confirms that standalone execution does not trigger this problem. The precise unsupported item introduced by subagent execution still needs to be isolated.
Version#
The triage CLI reports 0.0.45. The service log records an update to 0.0.46-nightly.20261009.2861 at 2026-10-09 11:56 UTC, before the observed failures. The active database is statev2.sqlite.
Environment#
Linux x64, kernel 7.2.5-3-omarchy. Node v26.8.2. The CLI on PATH reports codex-cli 0.162.0; the managed provider's binary version was not independently verified. Mac desktop client version is unknown.
Evidence#
All timestamps are UTC on 2026-10-09:
- 14:24:03: Sol child turn rejected.
- 14:26:05: Astra child and parent turn rejected.
- 14:39:06: follow-up rejected with no intervening agent output or new subagent execution.
- Separate session:
openaiprovider starts at 12:54:58, followed by completed turns. This supports a route-specific workaround but does not prove equivalence between requests.
Error fields: type=invalid_request_error, param=input, code=subscription_sharing_unsupported_capability.
Related issues#
No confirmed duplicate found after GitHub connector searches across open and closed issues for the exact error, openai_token_sharing, subscription sharing, and subagent failures.
- https://github.com/pingdotgg/t3code/issues/8355 and https://github.com/pingdotgg/t3code/issues/8322 are closed reports of chats becoming unusable after subagents. Both fail during local
thread/resumeschema decoding of a persisted activity kind. This report instead captures an OpenAI subscription-sharing rejection returned by Codex, so those reports are related symptoms rather than confirmed duplicates. - https://github.com/openai/codex/issues/42996 concerns reasoning-effort changes and configuration updates. The exact subscription-sharing error appears in its discussion, but it does not establish the subagent trigger reported here.
Fix applied or workaround#
No settings, source, credentials, or database data were changed. The user-confirmed workaround for the secondary account is to start a new chat, provide the prior output, and avoid subagents. Continuing the same failed chat does not work. The primary account connected through Codex works with subagents. Connecting the secondary account through Codex has not been tested.
Filed by#
Draft prepared by Codex via t3 triage. This session's exact model identifier is not exposed. The read-only how explainer used gpt-6.1-sol.
Additional reproduction on Windows, plus a working alternative delegation path.
Environment
- T3 Code desktop:
0.0.46-nightly.20261009.2873(reported in the app-server initialize request). - Managed Codex provider, using ChatGPT subscription sharing. The Codex session metadata identifies
model_provider: openai_token_sharing. - Codex app-server:
0.156.1(session metadata). - Model:
gpt-6-astra, medium reasoning, full access.
Observed failure
I asked the agent to have a subagent review a GitHub PR while the parent helped test the PR's remaining checklist items. T3's injected orchestration instructions prefer native subagent tools for compatible same-provider work.
Normal local commands and T3 MCP calls succeeded. The agent then used native
spawn_agent. The child failed withsubscription_sharing_unsupported_capability(param: input); the parent subsequently failed with the same error.The local Codex rollouts contain this sequence on 2026-10-10 (UTC):
15:23:01.544 parent: function_call, name=spawn_agent 15:23:02.930 child: response_item, type=agent_message, author=/root, recipient=/root/review_pr17 15:23:04.228 child: subscription_sharing_unsupported_capability 15:23:11.361 parent: response_item, type=agent_message, author=/root/review_pr17, recipient=/root (contains the child's failure notification) 15:23:12.633 parent: subscription_sharing_unsupported_capabilityThis makes
agent_messagea suspected unsupported input item. These are local rollout/provider logs, not a captured outgoing Responses HTTP body, so the exact rejected wire item is not independently confirmed. I have not tested continuing the failed chat.Working workaround
I tried the suggested prompt explicitly selecting T3-owned delegation, and it works:
Use the t3-code MCP
delegate_tasktool for the review, not nativespawn_agentor collaboration tools. Delegate a review of the PR using providercodexand modelgpt-6-astra, while you help me test its unchecked items. Track the review withtask_status.The project path and PR URL have been omitted here because they are incidental to the provider failure. This is a user-confirmed working workaround for the requested task, not an independently captured trace of every tool call or a test of #17499.
It would be useful for the managed subscription-sharing route to select a compatible delegation mechanism automatically, and for a child failure to avoid introducing history that causes the parent to fail as well.
- T3 Code desktop:
maria-rcks closed this
The issue still reproduces after updating the Linux background server to
0.0.46-nightly.20261011.2994.The reporter tested both the existing failed chat and a new chat. The installed server bundle contains both launch overrides added by #17499:
features.multi_agent=falseandfeatures.multi_agent_v2=false. The service state identifies.2994as active, and the failing provider's initialize request reports that same version.New-chat reproduction on 2026-10-12, UTC:
- At 01:47:07, a new provider thread starts.
- Send the text-only prompt
try callin' a subagentusing GPT-6.1-Sol, low reasoning effort, full access, andopenai_token_sharing. - At 01:47:21, native subagent activity appears.
- At 01:47:22, the child fails with
subscription_sharing_unsupported_capability. - At 01:47:26, the parent fails with the same error.
The provider log also records a native collaboration wait call. The outgoing
thread/startconfig does not explicitly re-enable multi-agent features. The exact spawned process arguments and rejected Responses request body have not been captured, so the reason native delegation remains available is not yet established. This is evidence that the merged prevention fix is insufficient in this installation, rather than only a retry of contaminated history.Environment: Linux x64, kernel 7.2.5-3-omarchy, Node v26.8.2. The affected provider's status cache reports Codex
0.162.1; the running executable version has not been independently confirmed. Current client platform has not been confirmed in this follow-up.The reporter confirms that the workaround works in a new chat when explicitly requesting T3's
delegate_taskandtask_statustools and avoiding nativespawn_agentand collaboration tools. Native delegation still fails as described above.No configuration, credentials, database data, or source was modified during this investigation.
Prepared by Codex via T3 triage. The primary session's exact model identifier is not exposed.
Still reproducing on
0.0.46-nightly.20261014.3132. I traced why the #17499 overrides don't prevent native subagents: the model catalog takes precedence over those feature flags.Environment
- T3 Code desktop
0.0.46-nightly.20261014.3132, macOS 27.0.1 (arm64) - Codex CLI
0.162.1, managed provider via "Connect with ChatGPT" (openai_token_sharing) - Model:
gpt-6-astra,ultrareasoning
Timeline (UTC)
05:47:45New thread, text-only prompt.05:48:20Parent callsspawn_agent(task_name: refactor_server_domain). The child is spawned withgpt-6-astra/xhigh.05:48:22Child receives anagent_messageinput item (author: /root). At05:48:24the child fails withsubscription_sharing_unsupported_capability.05:48:37Parent spawns a second child and receives the first child'sagent_message. At05:48:38the parent fails with the same error.
Root cause
The running app-server has
-c features.multi_agent=false -c features.multi_agent_v2=false, andcodex features listwith those flags reports both asfalse. Native multi-agent v2 is still active because the model catalog (models_cache.json) sets it per model:gpt-6.1-sol multi_agent_version=v2 multi_agent_reasoning_effort=xhigh gpt-6-astra multi_agent_version=v2 multi_agent_reasoning_effort=xhigh gpt-6-sol multi_agent_version=v2 gpt-6-luna multi_agent_version=v2In
rust-v0.162.1,codex-rs/core/src/config/mod.rs:pub(crate) fn multi_agent_version_override(&self) -> Option<MultiAgentVersion> { if self.features.enabled(Feature::MultiAgentV2) { Some(MultiAgentVersion::V2) } else if !self.agents_enabled { Some(MultiAgentVersion::Disabled) } else { None } } pub(crate) fn multi_agent_version_for_model(&self, model_multi_agent_version: Option<MultiAgentVersion>) -> MultiAgentVersion { self.multi_agent_version_override() .or(model_multi_agent_version) .unwrap_or_else(|| self.multi_agent_version_from_features()) }Disabling the features only yields
Nonefrom the override, so the catalog'sv2wins. Onlyagents.enabled = false([agents] enabled) returnsDisabledahead of the catalog. Launching the managed provider with-c agents.enabled=falseshould be the effective fix. Codex accepts the key, but I haven't verified the end-to-end behavior in T3.The rejected input item is most likely
agent_message: both failures happen right after anagent_messageenters the turn input, and it isn't in the allowed list. The request body isn't logged, though.- T3 Code desktop
Still reproducible on the latest stable T3 Code v0.1.0, on 2026-10-17. Adding this to the existing issue because it matches the same child-failure -> parent-failure -> unrecoverable follow-up sequence.
Verified environment
- Local macOS desktop/server, macOS 26.7.1, arm64.
- T3 Code 0.1.0: confirmed both from the installed package and the affected app-server
initialize.params.clientInfo.version. - Running Codex app-server reports 0.159.0 in its initialize result; the CLI on PATH also reports 0.159.0.
gpt-6.1-sol, full access; follow-upturn/startrequests useeffort: xhigh.- The affected
thread/startresult explicitly reportsmodelProvider: openai_token_sharing.
Observed timeline (2026-10-17, UTC)
13:41:08.550 parent turn completed successfully 13:50:29.390 native subAgentActivity started for a plan-review child 13:50:31.809 child: subscription_sharing_unsupported_capability 13:50:39.775 parent: same error 13:51:18.481 follow-up: same error 13:51:58.130 text-only "continue" follow-up: same error 13:54:51.687 another follow-up: same errorThe three follow-up runs fail after about 1.5-2.1 seconds and do not produce assistant output. Error fields are consistently:
{ "type": "invalid_request_error", "param": "input", "code": "subscription_sharing_unsupported_capability" }Normal planning, local commands and T3-owned OpenCode delegation had worked before the native Codex child was started. The task was repository planning/documentation; no application build or service was involved.
Launch-argument evidence
A read-only process inspection of the running T3-managed Codex app-server confirms these overrides:
model_provider=openai_token_sharing features.multi_agent=false features.multi_agent_v2=falseThere is no
agents.enabled=falseargument. Native child activity is nevertheless present in the affected protocol log. This matches the prevention gap described above and the proposed change in #20270, which is still open at the time of this report.Impact / limits
The existing conversation cannot continue with ordinary text follow-ups. A separate fresh conversation on the same T3 provider/model is working for this investigation, without spawning native subagents. The outgoing Responses HTTP body was not captured, so I cannot independently identify the exact rejected wire item or prove that retained
agent_messagehistory is the cause. I have not tested #20270, repaired the old conversation, or switched to paid API access.Please consider reopening this issue, or linking it to the active fix/recovery tracker: the failure is still present in stable 0.1.0, and the proposed prevention fix explicitly does not repair existing affected history.
Prepared with Codex assistance from read-only local protocol logs, durable T3 run records and upstream issue/PR metadata. Credentials, local paths, conversation identifiers, private prompts and raw logs are omitted.
Sign in to join this conversation.
Additional reproduction from a new screenshot supplied by the reporter:
Calling a subagent.Delegation Checkappears and fails after approximately one second.type: invalid_request_error,param: input, andcode: subscription_sharing_unsupported_capability.The screenshot shows GPT-6.1-Sol, low reasoning effort, and full access. This narrows the observed reproduction to a simple delegation check; it does not identify the exact rejected Responses API input item.
Added by Codex via T3 triage.