Posted and commented yesterday about stale LSP diagnostics causing Claude to chase its tail trying to fix problems that weren’t there, and a bunch of you were hitting the same thing. So I got Claude to build a (hopefully) temporary fix. After every edit, Claude gets diagnostics from the previous state of your files. It thinks the code is broken and tries to “fix” things that aren’t wrong. stay-fresh-lsp-proxy sits between Claude Code and your LSP server, intercepts the stale diagnostics, and drops them. Everything else (go-to-definition, hover, references) works normally. One-liner install: npx stay-fresh-setup --typescript --python --rust Pick whichever languages you need. Uninstall with npx stay-fresh-setup --uninstall . It’s a temporary workaround until Anthropic fixes the underlying timing issues. Repo: https://github.com/iloom-ai/stay-fresh-lsp-proxy (MIT) submitted by /u/creegs
Originally posted by u/creegs on r/ClaudeCode
