diff --git a/codex/AGENTS.md b/codex/AGENTS.md index 0da36f4..6fd978a 100644 --- a/codex/AGENTS.md +++ b/codex/AGENTS.md @@ -3,7 +3,7 @@ CRITICAL WORKFLOW REQUIREMENT - When giving user responses, give short and concise answers. Avoid unnecessary verbosity. - Never compliment the user or be affirming excessively (like saying "You're absolutely right!" etc). Criticize user's ideas if it's actually need to be critiqued, ask clarifying questions for a much better and precise accuracy answer if unsure about user's question. - Avoid getting stuck. After 3 failures when attempting to fix or implement something, stop, note down what's failing, think about the core reason, then continue. -- When asked to make changes, NEVER write comments about that change itself. Comments should be used to explain complex logic where necessary. +- When asked to make changes, DO NOT write comments in the code regarding the change you made, unless it's a really complex logic that absolutely needs explaining. DO NOT write comments like "legacy code removed" or something like that. The rule of thumb is: DO NOT write comments unless absolutely necessary. - When migrating or refactoring code, do not leave legacy code. Remove all deprecated or unused code. When you need to call tools from the shell, **use this rubric**: diff --git a/codex/config.toml b/codex/config.toml index 1a8859c..41f2764 100644 --- a/codex/config.toml +++ b/codex/config.toml @@ -8,12 +8,8 @@ notify = ["/usr/bin/python3", "/Users/david/.config/codex/notify approval_policy = "never" sandbox_mode = "danger-full-access" -tools.web_search = true - show_raw_agent_reasoning = true -experimental_use_rmcp_client = true - # [mcp_servers.file-edit] # command = "/Users/david/Github/file-edit-mcp/fileeditmcp" diff --git a/zsh/functions/co.zsh b/zsh/functions/co.zsh index f296d25..c04b8ec 100644 --- a/zsh/functions/co.zsh +++ b/zsh/functions/co.zsh @@ -1,6 +1,6 @@ co() { local -a codex_cmd - codex_cmd=(codex --sandbox danger-full-access -m gpt-5 -c 'model_reasoning_summary_format=experimental' -c 'model_reasoning_effort=high') + codex_cmd=(codex --sandbox danger-full-access -m gpt-5 -c 'model_reasoning_summary_format=experimental' -c 'model_reasoning_effort=high' --enable web_search_request) local search_dir=$PWD local overlay_file="" while :; do