mirror of
https://github.com/openai/codex.git
synced 2026-09-14 11:57:03 +00:00
## What changed - Use the same text rendering for model instructions in request settings and Responses Lite developer content. - Make `rewrite_known_segments` emit plain tags for recognized guidance, including collaboration and multi-agent instructions. Check message roles and complete tag boundaries so lookalike user or tool content stays visible, and retain generated compaction summaries. - Normalize working-directory, workspace-root, and temporary paths in permission guidance while preserving policy differences. - Separate text clipping from normalization and retain eight lines at each end of long sections, with fingerprints for omitted content. Update affected snapshots. ## Testing Add regression coverage for instruction rendering across transports, literal and rewritten guidance, malformed and lookalike tags, compaction summary preservation, and permission path normalization that keeps policy changes detectable. GitOrigin-RevId: 33b052911323c73b0387d650478f9cc3370fd001