I’m implementing a workflow a la How to stop saying ■■■■■ you Cursor' - Skylar Payne (Wicked Data LLC) and it’s tedious that on every message like “ok, now implement phase N from doc @my_design_doc.md”, I need to re-add files to the context. @my_design_doc.md is the prime of these files, but also depending on the change there could be other “key files” that have to be in the context of every message, basically.
What I want: when I start typing the next message in chat (any chat: “just chat”, composer, or agent mode composer), I want an option that all the files in the context of the previous message are added automatically to the next one. It would be faster for me to remove irrelevant files than to add all relevant ones again and again.
I see the Beta “Auto context” feature, and I didn’t try it yet, but I kinda don’t trust it. Also, Cursor’s Auto Context may be confused for example in Go codebases which unfortunately have a tendency to have a lot of files and types named almost the same and also have almost identical contents (but in different “upper” directories; see langchaingo/llms at main · tmc/langchaingo · GitHub as a good example of this; each subdir in this dir have very similar contents). In any case, the feature that I suggest is not exclusive with Auto Context: they can even be used in conjunction.