Find the mistakes that coding agents make again and again in this repository, and stop each one at its cause.
Collect evidence from this period: {period, for example the last 30 days}
Find the corrections. A correction is a moment when I rejected the work of the agent, told it to do the work again in a different way, or repaired the work myself afterward. Ignore the moments when I changed my mind about what I wanted.
Group the corrections by cause, not by symptom. Keep a group only if it has two or more corrections. For each group give the count, two short examples with their dates, and the cause. Typical causes are:
Propose one fix for each group. Use the first type in this list that works:
If an instruction was present and the agent did not follow it, more text is not the fix. Use one of the first three types.
Rules:
Output: a table sorted by count, with these columns: mistake, count, cause, fix, type of fix (1 to 4), effort (small, medium, large). Then name the three fixes that you recommend first, with the reason.