mirror of
https://github.com/openai/codex.git
synced 2026-10-22 14:59:09 +00:00
## Why Guardian review threads use synthetic approval prompts as user messages. Deriving thread titles and previews from those prompts exposes large, unhelpful summaries in thread listings. ## What changed - Default Guardian threads to the title "Guardian review" and preview "Approval review" across metadata creation, rollout reads, and resume. - Skip synthetic user messages and goal updates when deriving Guardian display metadata, leaving `first_user_message` unset for new threads. - Preserve custom names, including legacy indexed names, when listing, reading, resuming, and migrating threads to paginated history. ## Testing Add regression coverage for compact metadata, resume without session metadata, custom names before and after migration, and app-server persistence, listing, and rename/resume behavior. GitOrigin-RevId: 42aa707db20c3e57ffa5fd4c91ee313710be10d7