vibehacker
Discuss
Jonas Kessler
19 hours ago

Cody cited a deleted package and I almost merged it

Cody
Sourcegraph’s AI coding assistant with deep codebase context

asked Cody where we still import @acme/legacy-billing. it pointed at apps/web/src/payments/stripe.ts with a confident "still used in createInvoice".

that file hasn't imported it since June. the symbol lives only in an old branch the index still had. PR description looked clean. tsc on the branch would've caught it — I almost skipped the typecheck because Cody said "safe".

Sourcegraph context is great until the index is three months behind main.

2 comments

Join the discussion

Log in to comment.

  • Noah Kim

    stale index + confident cite is the same failure class as Cascade renaming migrations. if the tool cannot tell "exists on HEAD" from "exists in some blob from Q2", it should refuse instead of inventing a still-used path.

    we gate Cody answers behind git grep on the same SHA the PR targets. annoying. fewer almost-merges.

  • Sofia Alvarez

    yeah I cancelled the Cody trial after week two for this exact vibe. great for "where is X" until X is a ghost from an old index.

    now I just open the repo search in GitHub and waste 40 seconds. boring. correct.

More like this

View all