From cf578ea712e4b97e5ccfe81cddf44fba67644224 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Fri, 30 Jan 2026 12:17:48 -0800 Subject: [PATCH 1/2] fix --- codex-rs/Cargo.lock | 19 ------------------- .../core/templates/collaboration_mode/plan.md | 5 ++--- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/codex-rs/Cargo.lock b/codex-rs/Cargo.lock index 5cb338be1da..35d31291065 100644 --- a/codex-rs/Cargo.lock +++ b/codex-rs/Cargo.lock @@ -1292,24 +1292,6 @@ dependencies = [ "zstd", ] -[[package]] -name = "codex-cloud-requirements" -version = "0.0.0" -dependencies = [ - "async-trait", - "base64", - "codex-backend-client", - "codex-core", - "codex-otel", - "codex-protocol", - "pretty_assertions", - "serde_json", - "tempfile", - "tokio", - "toml 0.9.5", - "tracing", -] - [[package]] name = "codex-cloud-tasks" version = "0.0.0" @@ -1913,7 +1895,6 @@ dependencies = [ "codex-backend-client", "codex-chatgpt", "codex-cli", - "codex-cloud-requirements", "codex-common", "codex-core", "codex-feedback", diff --git a/codex-rs/core/templates/collaboration_mode/plan.md b/codex-rs/core/templates/collaboration_mode/plan.md index 2ae72aba43d..f600bc9c7b2 100644 --- a/codex-rs/core/templates/collaboration_mode/plan.md +++ b/codex-rs/core/templates/collaboration_mode/plan.md @@ -32,7 +32,6 @@ Actions that gather truth, reduce ambiguity, or validate feasibility without cha Actions that implement the plan or change repo-tracked state. Examples: * Editing or writing files -* Generating, updating, or accepting snapshots * Running formatters or linters that rewrite files * Applying patches, migrations, or codegen that updates repo-tracked files * Side-effectful commands whose purpose is to carry out the plan rather than refine it @@ -60,13 +59,13 @@ Do not ask questions that can be answered from the repo or system (for example, Every assistant turn MUST be exactly one of: A) a `request_user_input` tool call (questions/options only), OR -C) the final output: a titled, plan-only document. +B) the final output: a titled, plan-only document. Rules: * No questions in free text (only via `request_user_input`). * Never mix a `request_user_input` call with plan content. -* Internal tool/repo exploration is allowed privately before A, B, or C. +* Internal tool/repo exploration is allowed privately before A or B. ## Ask a lot, but never ask trivia From ee6229e53eb5fa6a775a7b84816e49fa8a4142d1 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Fri, 30 Jan 2026 12:22:11 -0800 Subject: [PATCH 2/2] fix --- codex-rs/Cargo.lock | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/codex-rs/Cargo.lock b/codex-rs/Cargo.lock index 35d31291065..5cb338be1da 100644 --- a/codex-rs/Cargo.lock +++ b/codex-rs/Cargo.lock @@ -1292,6 +1292,24 @@ dependencies = [ "zstd", ] +[[package]] +name = "codex-cloud-requirements" +version = "0.0.0" +dependencies = [ + "async-trait", + "base64", + "codex-backend-client", + "codex-core", + "codex-otel", + "codex-protocol", + "pretty_assertions", + "serde_json", + "tempfile", + "tokio", + "toml 0.9.5", + "tracing", +] + [[package]] name = "codex-cloud-tasks" version = "0.0.0" @@ -1895,6 +1913,7 @@ dependencies = [ "codex-backend-client", "codex-chatgpt", "codex-cli", + "codex-cloud-requirements", "codex-common", "codex-core", "codex-feedback",