1. Create a focused task
Use a title that states the failure clearly. Example:Fix login redirect loop after token refresh
2. Start with a reproduction-first prompt
3. Keep scope tight during iteration
If the agent expands scope, send a narrow correction:4. Review diff before finalizing
Check:- changed files are bug-relevant
- no unrelated edits
- validation output is present
5. Finalize with explicit summary
Ask for:- root cause
- fix approach
- files changed
- validation run