Your repository scanner cannot see the key your app actually runs on. The CLI scans your live working tree — uncommitted files, .env.local, actually-installed packages.
Where your real keys live — including whether the app runs on a service role key.
Code your agent generated minutes ago, before commit, where a fix is cheapest.
What is actually in node_modules, not what the lockfile claims.