r/AIcodingProfessionals • • 30m ago

Discussion our coding agent keeps bringing back the SQL pattern we spent last year removing

Third PR this month where the agent built a query by gluing strings together. We spent last year moving every service onto one query helper, but the reporting module still has the string version and the agent copies whatever it opened first. The helper is named in our rules file and it still happens.

Read a legit post last week arguing that if you don't give agents a safe path they find a dangerous one, which is basically our week. Steering the agent to our helper before it writes the query is what I'd look at their vibeguard for. Whether it would know about a helper that only exists in our codebase is the part I'd need to see.

0 Upvotes

0 comments sorted by