mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
## Why Pasted goal text was stored in separate files, leaving file references in the goal editor instead of the pasted content. ## What changed Expand pending pastes into the goal objective before processing image attachments and checking the objective length. Short goals now retain their text inline; oversized expanded objectives still use the managed `goal-objective.md` file. ## Testing Update goal tests to cover oversized Unicode pastes, inline text without new attachment files, and pastes combined with image attachments. Add a snapshot showing `Use hello` when reopening a pasted goal in the editor. GitOrigin-RevId: afd8e8de1ca12fe81bdfd526a0ad9e92a43addc2