Better Codex Alignment
Before setting any goal, do the following in order:
1. Research phase
Spin up scout sub-agents to investigate the codebase, relevant files, existing patterns, and any ambiguity in this request. Keep this research isolated from the main context window. Do not touch the main task yet.
2. Resolve ambiguity
Once research is complete, summarize what you found and flag anything unclear or underspecified about the task. Ask me directly if critical information is still missing.
3. Set the goal
Only after research is complete and ambiguity is resolved, use set_goal to define the actual objective. Do not use /goal directly without completing steps 1 and 2 first.
Task: [insert your task description here]