It seems there is some funky caching logic. I’ll retag a file and it will say I have typos, citing old code. Mangling code also happens in other ways that I can’t explain away through caching. For example, it will say things like
Looking at the provided codebase context, I can see an issue with the Response.kt file. The error method in the companion object has syntax errors and parameter naming issues:
Hey @esafak@magnushammar Does this happens within long conversations or in a new chat too? This looks very suspicious in kind of context window restrictions. On what OS you are and what Cody version? And what IDE are you using?
@magnushammar The problem with the rule feature actually lies in its implementation. Sometimes the rules are picked up correctly, sometimes not.
You can see this, for example, when you open a new chat and the rules are not displayed automatically but you switch between two open editor tabs and the rules are then suddenly displayed.
The other problem still stands though, its not rule-related per se, but an example of the “caching”-problem with referenced files in general, text or code.
It’s not a smooth interaction when I always have to remember to force it to rebuild index and reload files after my code edits.