OpenAI’s Codex CLI 0.128.0 appears to have picked up a new /goal command, according to a post from Felipe Coury on X. Coury described the feature as OpenAI’s take on the “Ralph loop,” explaining that it is meant to “keep a goal alive across turns” and “not stop until it’s achieved.”
Coury also credited OpenAI mentor Eric Traut, the creator of Pyright, as the builder behind the feature. In follow-up replies, Coury indicated that the app and desktop app do not support the feature yet. A user asked whether /goal could be used through remote connections, but Coury replied that he did not think the app supported that.
The rollout prompted a few practical questions from early users. When asked whether the feature clears context between turns, Coury responded that it “does not,” adding that it “only compacts on demand IIRC.” Another user reported repeated errors — “Failed to set thread goal: thread/goal/set failed in TUI” — and Coury asked affected users to run /feedback and open a new issue with the session id so the team could investigate.
Coury also pointed users to a configuration setting for enabling the feature, writing:
[features]
goals = true
in your config.toml
Source: X



