Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

chore: drop codex full auto flag

cyhhaoa4c89bee5b75
diff --git a/.env.example b/.env.example
index 995a7ea58..0c3257442 100644
--- a/.env.example
+++ b/.env.example
@@ -45,8 +45,6 @@ LOG_LEVEL=INFO
CODEX_ENABLED=true
# Override Codex CLI binary (defaults to "codex")
CODEX_CLI_PATH=codex
-# Allow Codex to run with --full-auto (write access)
-CODEX_ENABLE_FULL_AUTO=false
# Extra CLI args appended to every codex exec invocation (use shell-style quoting)
CODEX_EXTRA_ARGS=
# Optionally force a specific Codex model
diff --git a/README.md b/README.md
index 90472b25b..9b990b6de 100644
--- a/README.md
+++ b/README.md
@@ -114,7 +114,6 @@ python main.py
- Install the [Codex CLI](https://github.com/openai/codex) (e.g., `brew install codex`) and sign in (`codex --help`).
- `CODEX_ENABLED=true` (default) enables the agent; set to false only if the Codex CLI is unavailable. `CODEX_CLI_PATH` overrides the binary path.
-- `CODEX_ENABLE_FULL_AUTO=true` maps to `codex exec --full-auto` for write access.
- `CODEX_DEFAULT_MODEL` / `CODEX_EXTRA_ARGS` customize the underlying model or flags.
### Agent routing
diff --git a/README_ZH.md b/README_ZH.md
index b0bc7b667..5ec83eafb 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -114,7 +114,6 @@ python main.py
- 安装并登录 [Codex CLI](https://github.com/openai/codex)(执行 `codex --help` 验证)。
- `CODEX_ENABLED=true`(默认)启用 Codex;若环境没有 CLI 才需要设为 false。`CODEX_CLI_PATH` 可重定向可执行文件。
-- `CODEX_ENABLE_FULL_AUTO=true` 等同于 `codex exec --full-auto`,允许写操作。
- `CODEX_DEFAULT_MODEL` / `CODEX_EXTRA_ARGS` 可强制模型或追加命令行参数。
### Agent 路由
diff --git a/config/settings.py b/config/settings.py
index ba86e38e1..001de7665 100644
--- a/config/settings.py
+++ b/config/settings.py
@@ -89,7 +89,6 @@ class ClaudeConfig:
@dataclass
class CodexConfig:
binary: str = "codex"
- enable_full_auto: bool = False
extra_args: List[str] = field(default_factory=list)
default_model: Optional[str] = None
@@ -104,17 +103,10 @@ class CodexConfig:
extra_args_env = os.getenv("CODEX_EXTRA_ARGS", "").strip()
extra_args = shlex.split(extra_args_env) if extra_args_env else []
- enable_full_auto = os.getenv("CODEX_ENABLE_FULL_AUTO", "false").lower() in [
- "1",
- "true",
- "yes",
- "on",
- ]
default_model = os.getenv("CODEX_DEFAULT_MODEL")
return cls(
binary=binary,
- enable_full_auto=enable_full_auto,
extra_args=extra_args,
default_model=default_model,
)
diff --git a/docs/CODEX_SETUP.md b/docs/CODEX_SETUP.md
index 036a91f87..fe4fb3d75 100644
--- a/docs/CODEX_SETUP.md
+++ b/docs/CODEX_SETUP.md
@@ -19,7 +19,6 @@ In `.env` (copied from `.env.example`):
```
CODEX_ENABLED=true # default; set false only if CLI is unavailable
CODEX_CLI_PATH=codex # customise if the binary lives elsewhere
-CODEX_ENABLE_FULL_AUTO=true # optional, maps to --full-auto
CODEX_DEFAULT_MODEL=gpt-5-codex # optional
CODEX_EXTRA_ARGS=--ask-for-approval never # optional extra flags
```
diff --git a/modules/agents/codex_agent.py b/modules/agents/codex_agent.py
index eeb9e88ee..50c132739 100644
--- a/modules/agents/codex_agent.py
+++ b/modules/agents/codex_agent.py
@@ -107,9 +107,6 @@ class CodexAgent(BaseAgent):
cmd = [self.codex_config.binary, "exec", "--json"]
cmd += ["--dangerously-bypass-approvals-and-sandbox"]
- if self.codex_config.enable_full_auto:
- cmd += ["--full-auto"]
-
if self.codex_config.default_model:
cmd += ["--model", self.codex_config.default_model]