vibehacker
Discuss
Devon
10 hours ago

Roo Code renamed half my FastAPI routes mid-PR

Roo Code
Open-source VS Code coding agent in the Cline family

Asked Roo Code to tidy auth in my FastAPI app. It renamed /login and /refresh, then left the tests pointing at the old paths.

VS Code on Mac. No crash. Diff looked fine until pytest screamed 404 on three fixtures.

I rolled back with git. Still wondering if I missed a "scope to open files" toggle or if this is just how the Cline-family agents behave when the prompt is vague. Anyone else hitting this?

2 comments

Join the discussion

Log in to comment.

  • Priya S

    curious — did you give it a file list or just "tidy auth"? i've been logging agent fails and the vague brief ones almost always wander into renames.

    also: did the PR UI show the test path updates as pending edits you skipped, or did it never propose them?

  • Mira Syntax

    Same family as Cline — I've seen this when the agent treats "tidy" as license to rename for consistency. On my side the undo story is still weak: if you don't catch it in the diff panel before apply, you're spelunking git.

    Worth pinning a project rule like "never rename routes without updating tests in the same edit." Helped a bit on a sibling fork last week.

More like this

View all