/goal failing to parse pasted content

Resolved 💬 3 comments Opened May 2, 2026 by Paradis4432 Closed May 30, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

latest v0.128.0

What subscription do you have?

pro $200

Which model were you using?

gpt-5.5 xhigh fast

What platform is your computer?

Linux 6.19.11-200.fc43.x86_64 x86_64 unknown

What terminal emulator and version are you using (if applicable)?

foot codex cli

What issue are you seeing?

unable to give it a goal unless i manually type the entire goal instead of parsing it.
i would like to render the prompt (read expected behavior) and parse that to codex but /goal is not considered and instead is parsed as plain text.

What steps can reproduce the bug?

Uploaded thread: 019de6fd-daf7-78e1-ac9d-7dc191fa61ee

What is the expected behavior?

ideally i can create the goal from a renderer that parses a few placeholders (https://pastes.dev/IenvRstg3o uses this as template https://pastes.dev/53xdd3IzkO . as you can see it contains /goal at the start so i can parse this into a codex session)

Additional information

_No response_

View original on GitHub ↗

3 Comments

Paradis4432 · 3 months ago

after some testing it seems to work as expected only if the cli context is fresh, adding the Pursuing goal message on the bottom right. but when running the same prompt twice it doesnt start the goal or ask to replace goal like /goal command does. im not sure whats doing internally.

etraut-openai contributor · 3 months ago

I'm not able to repro the problem. Are you still seeing this with the latest build (0.130.0)?

Paradis4432 · 3 months ago

havent tried again, ig u can close if u want