Custom instructions improperly appended to main prompt

Resolved 💬 2 comments Opened Apr 24, 2025 by thingersoft Closed Apr 25, 2025

What version of Codex is running?

v0.1.2504221401

Which model were you using?

o4-mini

What platform is your computer?

WSL1 on Windows 10

What steps can reproduce the bug?

Put custom instructions markdown in ~/.codex/instructions.md.

What is the expected behavior?

Custom instructions appended in a new section of the main prompt markdown.

What do you see instead?

Custom instructions markdown becomes part of the last list item of the main prompt:

!Image

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗