Files
codex/codex-rs/core/tests/suite
Dylan Hurd ff2ee6212c Track additional context in conversation world state (#63769)
## Why

The baseline for comparing additional context submissions lived in memory,
so resuming a conversation could append context that was already in its
history.

## What changed

Persist the rendered fingerprints and history item IDs for active context
entries in world state. Reuse unchanged entries across turns and resumes,
and use their IDs to restore active items during compaction.

A client submission replaces the active set. Tool-provided context updates
only its own keys and is recorded after tool results, before the next
prompt.

## Testing

Extend scenario coverage to check deduplication after resume for both
message and tool-output rendering. Verify that edits in the truncated
portion of application context do not produce duplicate developer messages.

GitOrigin-RevId: 12a65a70d871f8dcefa082825c0ec4e9446efb56
2026-11-24 23:55:40 +00:00
..