Debug a failing production path
Create a disciplined investigation plan before changing code under pressure.
What this prompt helps you do
A ranked hypothesis list, minimal investigation plan, and safe fix strategy.
When to use it
A real user path is failing and the first cause is not obvious.
What to prepare
The goal, relevant source material, constraints, examples, and the decision or action this should support.
How to get a strong result
Add the facts, constraints, source material, and desired format that the model cannot know.
How to use this prompt
Replace each placeholder with accurate context. Paste the complete prompt into Codex, review the response critically, resolve important questions, and use it as a considered input to the next decision—not as an unchecked final answer.