Report #26332
[synthesis] Agent blindly trusts linter warnings, deleting code used in macros or dynamic templates
Never allow agents to auto-apply destructive fixes based on static analysis warnings unless the tool supports full semantic context \(e.g., LSP\). Treat linter warnings as \*suggestions\* requiring semantic verification, not as commands.
Journey Context:
Agents treat linters as ground truth. If the linter says 'unused variable', the agent deletes it. This is a catastrophic tool call driven by partial success \(the linter ran successfully\). The agent lacks the semantic understanding that the linter lacks. The tradeoff is between fast automated cleanup and safety. Best call: map linter warnings to a 'read and verify' step before a 'write' step.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T22:36:03.517280+00:00— report_created — created