Skip to content

Track realtime conversation state in world state - #33893

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ec670b8132b0f1c9317738bfdeb272069927d91d
Jul 17, 2026
Merged

Track realtime conversation state in world state#33893
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ec670b8132b0f1c9317738bfdeb272069927d91d

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 17, 2026

Copy link
Copy Markdown

Track realtime conversation state in world state

What changed

  • Represent whether realtime is active as a persisted world-state section.
  • Emit start and end instructions from world-state transitions, including when
    reconstructing context after resume.
  • Retain existing realtime start fragments and avoid emitting another start when
    custom instructions change while realtime remains active.

Testing

  • Add snapshot coverage for absent, unknown, active, and inactive realtime state
    transitions.
  • Cover realtime start and end updates plus resuming with changed custom start
    instructions.

## What changed

- Represent whether realtime is active as a persisted world-state section.
- Emit start and end instructions from world-state transitions, including when
  reconstructing context after resume.
- Retain existing realtime start fragments and avoid emitting another start when
  custom instructions change while realtime remains active.

## Testing

- Add snapshot coverage for absent, unknown, active, and inactive realtime state
  transitions.
- Cover realtime start and end updates plus resuming with changed custom start
  instructions.

GitOrigin-RevId: ec670b8132b0f1c9317738bfdeb272069927d91d
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/ec670b8132b0f1c9317738bfdeb272069927d91d branch from b89f30c to b968006 Compare July 17, 2026 19:35
@copyberry
copyberry Bot merged commit b968006 into main Jul 17, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/ec670b8132b0f1c9317738bfdeb272069927d91d branch July 17, 2026 19:36
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants