Files
codex/codex-rs/ext/goal/BUILD.bazel
rka-oai a9519cbcdd Make the update_plan tool opt-in (#41744)
## What changed

- Default `tools.update_plan.enabled` to `false`; users can explicitly enable it to expose `update_plan`.
- Remove bundled `update_plan` guidance from model, collaboration-mode, multi-agent, compaction, prewarm, and goal-continuation prompts when the tool is disabled.
- Preserve custom base instructions, model catalog instructions, collaboration policies, and user goal text even when they mention planning or `update_plan`.

## Testing

- Cover default and explicitly enabled tool registration, prompt consistency across request paths, and preservation of custom instructions.

GitOrigin-RevId: a53964e6e72f98e2557dd3090fdb7caccb956527
2026-08-31 00:53:30 +00:00

14 lines
306 B
Python

load("//:defs.bzl", "codex_rust_crate")
codex_rust_crate(
name = "goal",
compile_data = glob([
"templates/**",
]),
crate_name = "codex_goal_extension",
integration_compile_data_extra = [
"src/accounting.rs",
"src/steering.rs",
] + glob(["templates/**"]),
)