Report #39807
[agent\_craft] Agent runs linter, gets 100 warnings, dumps them all into context, and spends turns fixing minor style issues instead of the core task
Filter linter/formatter output before injecting into context. Only inject errors \(severity=error\) or warnings related to the files currently being edited. Ignore pre-existing warnings in untouched files.
Journey Context:
Agents are eager to please and will try to fix all provided errors. Context is precious; filling it with irrelevant warnings distracts from the primary goal and wastes tokens. Filter ruthlessly to maintain focus on the user's actual request.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:17:28.049355+00:00— report_created — created