Menu

1 / 2

Codex v0.128.0: /goal Keeps Working Until It's Done -- Even Across Sessions

DEV Community·Evan-dong·6 months ago
#jyTRfxOv
#ai#api#tutorial#goal#codex
Reading 0:00
15s threshold

Every AI coding assistant forgets what it was doing the moment you close the terminal. Codex just fixed that.

OpenAI shipped v0.128.0 on April 30th with two features that matter more than they sound: /goal for persistent cross-session objectives, and /pet for ambient agent status feedback.

The Session Amnesia Problem

You ask your AI assistant to refactor a module. It gets halfway through. You close the terminal, grab coffee, come back -- and it has zero memory of what it was doing.

You re-explain the task. It starts over. You lose 15 minutes of context every single time.

This is the intent persistence problem. Not context window size -- the model simply forgets your objective when the session ends.

/goal: Define It Once, Codex Keeps Going

/goal lets you set a persistent objective that survives across sessions:

/goal create "Increase test coverage in src/auth/ from 62% to 90%"

Enter fullscreen mode

Exit fullscreen mode

Close the terminal. Reboot. Come back tomorrow.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.