Turn recent complaints into fixes
Convert recent user-reported problems into reusable failure patterns, fix every confirmed match, and verify a clean final pass.
Use this when
Use this after several days of project feedback when repeated mistakes may point to similar issues elsewhere and the agent can inspect both the conversation history and the complete current project.
How it runs
- Define the lookback window and complete project surface, then collect every accessible thread in which the user reported a problem and requested a fix.
- Deduplicate the reported issues, verify their current status, and turn the concrete examples into explicit failure patterns and audit checks.
- Audit every in-scope project surface for each pattern, fix one confirmed instance at a time, and add regression coverage where practical.
- Run targeted checks after each fix, then rerun the complete pattern audit and relevant full checks before declaring the sweep clean.
Done when
✓ The issue inventory is closed and a fresh pattern audit is clean. Every reported issue and newly found match has current proof of resolution; blocked, approval-gated, or budget-exhausted items remain explicitly open.
Why it works
Recent corrections are concrete examples of the quality bar the project missed. Grouping them into failure patterns turns one-off feedback into a reusable audit rubric, while a fresh full sweep catches sibling defects and verifies the current project rather than trusting old thread state.
Implementation note
Thread access and a complete surface inventory are prerequisites. Do not infer defects from neutral discussion, reopen resolved issues without checking current behavior, or claim success while an inaccessible, blocked, approval-gated, or budget-exhausted item remains. Get approval before destructive, production, or external actions.
More maintenance loops
Weekly tech debt report
Every Friday, compile a trend report of debt signals — TODO count, lint suppressions, type coverage, largest files — so the team sees drift before it compounds.
Keep memory pins under control
Audit and prune pinned memory contexts to stay under 7, replacing competing invariants atomically and checking load count before each pin.
Chase a refund until it lands
Open the claim, watch replies and deadlines, and keep the case moving until the money actually arrives.