From be212db0c838f0773b6fa7138d4ecae6a94cf50a Mon Sep 17 00:00:00 2001 From: Thibault Sottiaux Date: Thu, 8 Jan 2026 05:31:01 -0800 Subject: [PATCH] fix: include project instructions in /review subagent (#8899) Include project-level AGENTS.md and skills in /review sessions so the review sub-agent uses the same instruction pipeline as standard runs, keeping reviewer context aligned with normal sessions. --- codex-rs/core/src/tasks/review.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/codex-rs/core/src/tasks/review.rs b/codex-rs/core/src/tasks/review.rs index 56a1583e1..6a54f27d6 100644 --- a/codex-rs/core/src/tasks/review.rs +++ b/codex-rs/core/src/tasks/review.rs @@ -83,10 +83,6 @@ async fn start_review_conversation( ) -> Option> { let config = ctx.client.config(); let mut sub_agent_config = config.as_ref().clone(); - // Run with only reviewer rubric — drop outer user_instructions - sub_agent_config.user_instructions = None; - // Avoid loading project docs; reviewer only needs findings - sub_agent_config.project_doc_max_bytes = 0; // Carry over review-only feature restrictions so the delegate cannot // re-enable blocked tools (web search, view image). sub_agent_config