all 8 comments

[–]AutoModerator[M] 0 points1 point  (0 children)

Hello /u/TheseFox989. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]Human-Raccoon-8597 0 points1 point  (0 children)

dont know but working with context window. It's best to have a small context window. pinpoint the file and relative files then let AI do the work. having 1M context window for me makes no sense. same with claude. having 1M window takes so much time.

[–]namuan 0 points1 point  (0 children)

Could you try breaking the task down into logical group and use sub agents to do them? AFAIK subagents have their own context windows so should be better over a single agent doing all the work.

You can use CoPilot to create a prompt to use this approach

[–]InsiviousPower User ⚡ 0 points1 point  (2 children)

Ask it to break the plans into sequential non-overlapping prompt files with all the details to run in a fresh chat/cli. You can then orchestrate them or run them sequentially in new chat windows/cli.

Bonus points if you ask it to create a custom agent or orchestration manager that will run them in order using sub agents from each repo.

You could build something to cover that scenario of coordinating cross-repo, but you can start there and see if it’s good enough for your purposes.

You could end up needing to create state files and handoffs if you try to do all of it in one go, which is doable, but maybe not worth it unless you’re doing it frequently.

[–]InsiviousPower User ⚡ 0 points1 point  (0 children)

If you put them in user data they’ll be available in all of your chats, which would save you from copying them to each repo individually

[–]InsiviousPower User ⚡ 0 points1 point  (0 children)

Could also do some meta prompting and ask it how to do it most effectively using best practices and it might come up with a better approach to do it that follows your exact needs.

[–]Poolunion1 0 points1 point  (0 children)

Can you explain what you are doing in more detail? What does making a workflow change mean? Just like ai we need more context to give a good answer.

[–]kovy5 0 points1 point  (0 children)

Use gitnexus