codex-cli agents output formatted markdown url links where those are not clickable, instead of outputing full urls. System instruction seem to be the culprit.
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of Codex CLI is running?
0.154.0
What subscription do you have?
pro
Which model were you using?
gtp-5.6, astra 6.
What platform is your computer?
linux
What terminal emulator and version are you using (if applicable)?
konsole, (kde-plasma terminal)
Codex doctor report
What issue are you seeing?
In my machine, there is a memory for the models to output web links as full urls, not as md formatted links, because in a terminal those aren't clickable and are just displayed as underlined, different color strings. When i asked the agent about why did not follow this memory, it told me:
In this session, the rule was actually present in the injected MEMORY_SUMMARY, so it was read. I did not miss it. I failed to apply it because I followed the web tool’s generic Markdown-citation instruction instead of the CLI-specific raw-URL instruction.
This has happened with different models, different times. ASTRA 6, GpT-5,6
What steps can reproduce the bug?
Uploaded thread: 01a0a120-0faf-7aa3-8ca0-7faf3b3e41c8
What is the expected behavior?
No response
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior described in the uploaded thread and inspect how Codex CLI assembles and applies system instructions for terminal responses. Done means links that are not clickable in the terminal are consistently emitted as full URLs rather than Markdown-formatted links.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100