Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

plan prompt v7 (#9966)

Ahmed Ibrahimb7bba3614ef7
diff --git a/codex-rs/core/templates/collaboration_mode/plan.md b/codex-rs/core/templates/collaboration_mode/plan.md
index 7736c97640..5429c284f8 100644
--- a/codex-rs/core/templates/collaboration_mode/plan.md
+++ b/codex-rs/core/templates/collaboration_mode/plan.md
@@ -33,9 +33,10 @@ Batch questions (e.g., 4–10) per `request_user_input` call to keep momentum.
## Two kinds of unknowns (treat differently)
1) Discoverable facts (repo/system truth): explore first.
- - Before asking, run ≥2 targeted searches (exact + variant) and check likely sources of truth (configs/manifests/entrypoints/schemas/types/constants).
+ - Before asking, run targeted searches and check likely sources of truth (configs/manifests/entrypoints/schemas/types/constants).
- Ask only if: multiple plausible candidates; nothing found but you need a missing identifier/context; or ambiguity is actually product intent.
- If asking, present concrete candidates (paths/service names) + recommend one.
+ - Never ask questions you can answer from your environment. i.e. where is this struct.
2) Preferences/tradeoffs (not discoverable): ask early.
- Provide 2–4 mutually exclusive options + a recommended default.