C.W.K.
Stream
Lesson 03 of 11 · published

Approval Mode — suggest / auto-edit / full-auto

~14 min · codex, approval, auto-edit, full-auto

Level 0🌱 입문자
0 XP0/70 lessons0/11 achievements
0/120 XP to next level120 XP to go0% complete

신뢰 다이얼, Codex 에디션

Codex 가 approval mode 셋 + --yolo. suggest (기본) — plan 보여주고 모든 action 전 승인 기다림. auto-edit — 파일 자동 edit, 셸 명령어 ask. full-auto — sandbox 안에서 edit + 명령어 run, prompt X. --yolo — 모든 게이트 제거 (Docker 만).

flag 레벨 등가물: --ask-for-approval untrusted (suggest), --ask-for-approval on-request (신뢰 코드 추천 기본), --ask-for-approval never (CI / sandbox VM 만). Mid-session 에 /permissions auto-edit 가 재시작 없이 모드 swap.

Code

All three modes, when to use each·bash
# suggest (default) — first time on a codebase, sensitive code
codex                              # equivalent to --ask-for-approval untrusted
codex --ask-for-approval untrusted

# auto-edit — familiar codebase, normal coding
codex --approval-mode auto-edit
# in config.toml: approval_policy = "on-request"

# full-auto — trusted local automation
codex --full-auto
# = --ask-for-approval on-request --sandbox workspace-write

# yolo — Docker / sandbox VM only
codex --yolo
codex --dangerously-bypass-approvals-and-sandbox
Mid-session toggle·text
# In the TUI:
/permissions

# Browse current settings, switch modes:
/permissions auto-edit
/permissions suggest

# Useful pattern: start in suggest while exploring,
# bump to auto-edit once you trust the agent's
# direction, drop back to suggest before risky changes.

External links

Exercise

실제 repo 에서 같은 작업을 세 모드 (suggest, auto-edit, full-auto) 다 run. 각 모드가 도움 되는 데와 방해되는 데 적어. 워크플로우의 default 픽 + config.toml 에 핀.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.