Evidence Trail

Agent Runtimes Are Moving State Out of the Shadows

May 20, 2026 / Daily Edition / 9 source signals.

repo openai/codex main
9 source signals 2 repos a668379
> a668379 / May 20, 2026 / Daily Edition
Read Story Open Edition

Reporter Notes

Notes

Candidate Arcs

1. Hidden turn context becomes queued thread settings.

2. Pending input and subagent mailbox delivery get one owner.

3. Subagent startup becomes a lifecycle event with injected context.

4. Gemini CLI adds a feature flag for session-based subagent invocation.

5. Terminal output classification becomes PTY-aware rather than byte-naive.

Interpretation

The shared pattern is not "more tools." It is runtime state becoming explicit enough to be ordered, observed, tested, and surfaced. The strongest Codex evidence is internal but concrete: new operation names, events, queue ownership, and hook schemas. The Gemini evidence is narrower but useful because it shows the same concern at two boundaries: subagent invocation path and shell stream classification.

Claims Kept Conservative

  • Codex is moving away from OverrideTurnContext toward queued ThreadSettings; this is directly stated in the commit message and diff.
  • Codex consolidated pending input, next-turn queued response items, and mailbox delivery behind InputQueue; this is directly stated in the commit message and visible in the diff.
  • Gemini added an experimental flag for AgentSession-backed subagent invocations; this is directly stated in PR #26947 and docs.
  • Gemini's Windows PTY fix strips ANSI control sequences and uses a PTY-aware binary check; this is visible in commit f09d45d.

Claims Avoided

  • No claim that these changes are shipped in a stable release.
  • No claim that Gemini's subagent session flag is enabled by default; the docs say default false.
  • No claim that Codex has completed the full seven-PR thread settings stack; the article only cites observed merged commits and public commit metadata.

Primary Evidence

Evidence Limits

  • The article does not claim that Codex and Gemini share an implementation or standard. It claims convergent pressure around explicit runtime state.
  • The article does not claim that all cited changes are available in stable end-user releases.
  • Gemini's AgentSession subagent flag is default-off, so the article frames it as rollout plumbing rather than current default behavior.