Analyse a stack trace and reproduce the error before fixing it.
View the prompt
This is an error from {{project}} ({{stack}}):
{{extra}}
Follow this order:
1. Summarise what the error says and where it happens.
2. List hypotheses ranked by likelihood, with the evidence for each.
3. Write a test that reproduces the error and fails.
4. Fix the root cause, not the symptom, then run the test and the neighbouring tests.
5. Explain why the fix prevents the error from recurring.