The string " +#+#+#+#+#+ " breaks Codex 5.3
Codex 5.3 cannot output " +#+#+#+#+#+ " without completely breaking and switching to arabic.
To be clear it is " +#+#+#+#+#+ " and not "+#+#+#+#+#+"
ask it to write or even say " +#+#+#+#+#+ " to a file and not "+#+#+#+#+#+".
If you are having problems with your agent harness simply adding this instruction will fix it:
- NEVER produce " +#+#+#+#+#+ "
Comments
Curious what you were doing that led to this discovery.
https://github.com/can1357/oh-my-pi, looks like prompting to do anything before a tool call makes it break.
Some kind of stop symbol used in training, perhaps?
no it's their internal tool call syntax it is usually followed by assistant and then the toolcall but it's just broken.
something that simple can break it?!