# Codex CLI 에 /goal 기능 추가

> Clean Markdown view of GeekNews topic #29158. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=29158](https://news.hada.io/topic?id=29158)
- GeekNews Markdown: [https://news.hada.io/topic/29158.md](https://news.hada.io/topic/29158.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2026-05-04T18:28:19+09:00
- Updated: 2026-05-04T18:28:19+09:00
- Original source: [x.com/fcoury](https://x.com/fcoury/status/2049917871799636201)
- Points: 4
- Comments: 0

## Topic Body

- 0.128.0 버전에서 **목표 기반 자동 반복 실행** 기능인 `/goal` 기능이 추가됨  
- **Ralph loop** 개념을 Codex CLI에 적용한 것으로, **설정한 목표가 완료될 때까지** 에이전트가 목표 달성 여부를 스스로 평가하며 **자율적으로 루프를 반복** 실행  
- 목표가 완료되지 않았더라도 설정된 **토큰 예산이 소진**되면 자동으로 루프 중단  
- 구현은 주로 두개의 **프롬프트 템플릿**을 통해 이루어지며, 각 턴 종료 시 자동 주입되는 방식  
  - `goals/continuation.md`: 목표 지속 여부를 판단하는 프롬프트  
  - `goals/budget_limit.md`: 예산 한도 도달 시 처리하는 프롬프트  
- 데스크탑 버전은 아직 개발중  
- 0.128.0 으로 업데이트 해도 안보인다면 config.toml에 다음 추가  
  ```  
  [features]  
  goals = true  
  ```

## Comments



_No public comments on this page._
