What variant of Codex are you using?
CLI
What feature would you like to see?
spawn_agent exposes fork_context, but custom subagent frontmatter/config cannot express the same capability.
This creates a config/runtime mismatch: context inheritance is available at spawn time, but not in the declarative definition of a reusable subagent.
For subagents that depend on caller-thread context, this forces an execution property to live in ad hoc spawn logic instead of the agent definition itself.
The imperative API and the declarative config layer are out of sync on a meaningful feature.
Feature request:
- add declarative support for context inheritance in custom subagent config
- define precedence relative to explicit
spawn_agent arguments
Additional information
No response
What variant of Codex are you using?
CLI
What feature would you like to see?
spawn_agentexposesfork_context, but custom subagent frontmatter/config cannot express the same capability.This creates a config/runtime mismatch: context inheritance is available at spawn time, but not in the declarative definition of a reusable subagent.
For subagents that depend on caller-thread context, this forces an execution property to live in ad hoc spawn logic instead of the agent definition itself.
The imperative API and the declarative config layer are out of sync on a meaningful feature.
Feature request:
spawn_agentargumentsAdditional information
No response