Extract Guardian planned-action assembly into the reviewer crate (#57509)

## What changed

Move planned-action construction from the core Guardian prompt builder into the exported `codex_guardian_reviewer::build_guardian_planned_action` helper. Keep the existing action kinds, MCP tool and connector descriptions, and reason selection unchanged.

GitOrigin-RevId: 119323523ed2e199c998c1139fb8e6255bc730d9
This commit is contained in:
jif
2026-10-27 16:37:01 +00:00
committed by copyberry
parent 2d1984b9f7
commit 73bdd06fed
4 changed files with 54 additions and 38 deletions
-1
View File
@@ -67,7 +67,6 @@ pub(crate) use codex_context_fragments::AdditionalContextToolOutput;
pub(crate) use codex_context_fragments::AdditionalContextUserFragment;
pub use codex_context_fragments::AnsweredQuestion;
pub use codex_context_fragments::ContextualUserFragment;
pub(crate) use codex_guardian_context::GuardianToolDescriptions;
pub(crate) use codex_guardian_context::PermissionContext as GuardianPermissionContext;
pub(crate) use codex_prompts::MultiAgentRoleInstructions;
pub use codex_prompts::PermissionsInstructions;