vscode icon indicating copy to clipboard operation
vscode copied to clipboard

[Meta] Feedback on granular control over Copilot changes

Open justschen opened this issue 1 month ago • 255 comments

[!IMPORTANT] October 22 Update: Before commenting, please review the latest updates from the team below https://github.com/microsoft/vscode/issues/339363#issuecomment-6346982654


As we continue investing in more agentic workflows and improving Copilot, the way changes are made, reviewed, and accepted has evolved. We removed the Keep and Undo controls for individual changes in chat as part of a shift toward reviewing the overall changes from an agent task, with the intent of simplifying review for longer, multi-file workflows.

We recognize that this removed useful checkpoints for incremental, file-by-file review, and that reviewing the overall result does not replace those workflows for everyone.

Changes should still be visible and reviewable per turn, per session, and per branch.

A similar changes flow also still exists via the changes pill above the chat input. Clicking on this pill opens up the diff editor, which allows you to revert certain lines or edits.

This issue is a central place to collect feedback on granular control over Copilot changes, keep and undo. We’d like to understand when and how you review changes, whether you can easily inspect them at the scope you need, and where you need more control over accepting or reverting them.

Would love to hear more about where the current experience creates friction, including any workarounds, and that will help inform future improvements to the change-review experience!

Thanks!


Correction on the following:

We removed the Keep and Undo controls for individual changes in chat

From https://github.com/microsoft/vscode/issues/339363#issuecomment-6134276862

On engineering - our previous review controls relied on edit-tracking built into VS Code’s own local agent implementation. As we moved to the Copilot SDK, that integration didn't carry over automatically, so nothing was ever explicitely removed. Bringing equivalent controls to the new experience is significant engineering work, but reviewing and selectively reverting agent changes remains the goal !!

justschen avatar Oct 02 '26 18:10 justschen

Adding the following settings to settings.json displays the harness picker at the lower-left of the chat input, where you can switch to Local. With Local, you can review changes using the traditional Keep/Undo workflow.

{
  "chat.defaultToCopilotHarness": false,
  "chat.editor.preferCopilotHarness": false
}

Addendum: Enterprise managed settings may also disable the Local harness; see #341937 for details.

sugymt avatar Oct 03 '26 11:10 sugymt

@sugymt Thank you I was so frustrated by this change. The removal of the buttons has ruined the work flow me like pointed out in the other lined issues. If anybody else finds themselves here the harness picker doesn't appear in active sessions you have to go back to the session selection screen and then it appears there.

I believe is an official page associated with VS code: https://code.visualstudio.com/learn/foundations/reviewing-and-controlling-agent-changes#_per-change-controls if it is I find it poor form that "Per-change controls" is advertised/shown as a feature but was removed.

AutumnCape avatar Oct 03 '26 18:10 AutumnCape

I'm surprised but I might be looking at it from the wrong angle. I've been working with the Local harness and the Chat interface forever and I review every single change the model applies. Yes, I do go through each change and use "Keep" or "Undo" very frequently (be it at the fragment or file level). If the direction is to entirely replace the Local harness with Copilot, this workflows has to be retained.

Not everyone does agentic development in its true form for multiple reasons:

  1. Keep costs low
  2. The codebase does not fit an agentic workflow
  3. Personal development style

As an example, I never use the Agents view. All my work is done through the Chat sidebar/editor and not being able to see and veto each change would be problematic.

lppedd avatar Oct 04 '26 11:10 lppedd

I'm surprised but I might be looking at it from the wrong angle

Need to ratify. I just had a go with the Copilot harness approach and it isn't for me, at all.
Take this test change as an example:

The model incorrectly removed line comments I found to be valuable for me, as a code reader. In this case I'd just use "Undo" for those three lines, and then use the file-level "Keep":

lppedd avatar Oct 04 '26 13:10 lppedd

I created post on reddit discussing how disappointed I am due to latest UI changes. Reddit user pointed me to this thread. So am copying my post content here.

I used to enjoy systematically going through file changes done to all files by vscode github copilot. Accept and reject individual changes. Quickly jump between them. However recent UI changes to vscode copilot have completely screwed it up. To be specific:

  1. It does not show per file number of lines changed
  2. It does not show per change Keep / Undo button
  3. It opens all files expanded and vertically stacked. So, if I have to check specific file which is at the bottom of the stack, I have to collapse all files at the top one by one. This is too annoying
  4. There is no way to open just single file that is changed. It opens all edited files in vertically stacked manner.
  5. Old diff view also used to show location of code changes done by copilot in the file by showing red / green overlays on right side vertical scrollbar. Sometimes, it was useful when you wanted to diff some past versions of file. Those visual cues are gone due this vertically stacked sessions changes window.

I’m not really into TUI-based development. I prefer having things automated without moving away from the code. Honestly, I feel that removing UI/UX that provides closer and quicker access to AI-generated code changes is one of the primary reasons AI-generated code can end up being buggy. Copilot didn’t have this issue. However, these latest UI/UX changes seem to be bringing some of the weaknesses of TUI based harnesses into Copilot, which I think could negatively impact the overall development experience.

Earlier I posted why I love copilot and not claude CLI with these points about old UI on reddit.

Image Image Image

Old version info:

Image

New version info:

Image

Mahesha999 avatar Oct 04 '26 13:10 Mahesha999

We removed the Keep and Undo controls for individual changes in chat as part of a shift toward reviewing the overall changes from an agent task

For me, there are 3 ways I do it:

  • review everything, down to each chunk
  • review just from architectural POV (is this what you mention here by overall changes @justschen?)
  • no review at all

In one chat session, I might use all of them.

The first one definitely requires the Keep and Undo controls, as well as the ability to edit inline. The second one I would typically just ask for changes in the chat, so I don't need the individual controls or be able to edit it. Third one, I don't even need to see the code.

I'm not sure if this has been fixed (or works as expected), but one issue I had a couple of weeks ago, when using Copilot in the Agent Host, was that if anything was already edited, but not committed yet, it would show everything as changed on that session. This never happened on the Local harness as that always shows exactly what was changed in that session. I haven't tried it in a folder without git, but I'm guessing the problem would be the same.

All that said, for me, the Keep/Undo controls are extremely valuable and I don't see myself using the Agent Host until that is back.

OXINARF avatar Oct 04 '26 14:10 OXINARF

Another important point is how the list of changed files is presented.
The Local harness UI, with a scrollable list of files - where each shows the added and removed count - is much more informative.

Please do not hide or remove useful information from users.

lppedd avatar Oct 04 '26 15:10 lppedd

I am very frustrated by the new changes removing the Keep and Undo buttons. Also, the list at the bottom of unaccepted/unreviewed files is gone. That has completely broken my workflow. My workflow was the following:

  1. Explain the changes the Agent should make to the code in the normal sidebar chat.
  2. Quickly review the changes that the agent has made on a per-file basis, "Undoing" all changes I did not like and pressing "Keep" for the file after finishing the review.
  3. For the other files for which I have not pressed "Keep" yet and which require further changes, I send another request to the Agent with explanations of what it should do. If the agent gets it right the second time, I go through each file pressing "Undo" for changes I don't want and finally pressing "Keep" in the changed files list in the chat sidebar, "finalizing" all changes that the agent made.

With this workflow, I had full granular control over important changes if I needed it, because often the agent gets 90% right, and the other 10% that I don't want to keep I can quickly undo, jumping from change to change using the arrow buttons in the editor. With the current changes, this workflow is completely broken. It has changed to a "take it or leave it" workflow where auditing the changes on a large codebase has become very intransparent and inefficient.

CrueDE avatar Oct 04 '26 15:10 CrueDE

I am coming to this thread because the new changes completely broke my workflow and were very frustrating to deal with and I fervently searched the internet for what happened!

Thank you to all who pointed out we can just go back to the local harness.

@Mahesha999 has detailed much of what made the old UI great. I echo many of the sentiments made in this thread - I like to have incremental control over many files in the codebase, and the old UI made it possible to have granular control but also to allow big sweeping changes.

It allowed for line-by-line keep and undo, file-by-file keep and undo, multi-file keep and undo, partial keep followed by further agent changes that can then also be kept and undone. The old experience was great, and provided as little or as much control as needed.

I can see the one thing that the old UI might need that the new UI has: that complete list of changes in one big diff view, with granular control inside that diff view. Yes, that makes sense to have. But that could easily be just one small addition to the old UI like this:

Image

jaygriffinjay avatar Oct 04 '26 17:10 jaygriffinjay

Other people have made great point above. One more issue is if i am doing iterative work in local mode, the first batch of work might touch five files, which I would then review and keep/undo. Then if further changes need to be made, let's say another two files were changed or the same files modified again, those changes would be visible as new changes that have not yet been reviewed.

With this new workflow, each iteration is just merged into the larger batch of changed file, and so they cannot be distinguished. So that makes it harder to keep track of what has changed and when.

One positive note, previously the keep or undo control often obscured the end of the line as it floated above the changed code. This new display doesn't have that UI issue. If the keep undo control returns, it would be good if it did not float above the text and hide it.

rossdonald avatar Oct 05 '26 04:10 rossdonald

I am also frustrated by the change. I chose Copilot over Claude just for this feature. We've just lost a huge part of control over what is being done by AI. Big mistake!

Wismat avatar Oct 05 '26 05:10 Wismat

The latest update broke the main reason I use VS Code Copilot over Claude Code: granular change review.

I pay 100€ a year specifically for the ability to accept or discard individual edits line-by-line. Expecting us to accept or reject an entire agent run all at once just isn't realistic or safe for real codebases.

Also, what happened to terminal visibility? I can no longer see what the agent wrote in the terminal, check past command history, or review the commands before/after they run.

Please add back:

  1. Accept/undo for individual changes (this is an absolute dealbreaker).
  2. Full terminal visibility and command history.

Without these, there's really no reason to stay on Copilot over Claude Code.

berncasa avatar Oct 05 '26 07:10 berncasa

Also, now, if I use a workspace, the skills on each individual repository of the workspace are not longer read!

berncasa avatar Oct 05 '26 07:10 berncasa

Granular Keep/Undo controls are central to how I use Copilot. Most of the time, the agent gets things right, but almost every day I need to reject or adjust some of its proposed changes. If the agent makes ten changes and one or two are wrong, I can keep the ones that work, undo or reject only the problematic ones, and give the agent targeted instructions on those specific points. That lets me guide the work until I’m happy with the result, without having to accept or discard everything at once.

This review flow is also valuable for understanding the changes, not just approving them. The Next/Previous navigation and file-by-file review make it easy to inspect each change in context and catch mistakes. Agents sometimes remove lines they consider unnecessary that are actually important to preserve, such as comments that explain intent or constraints.

The Changes view and diff editor are useful for reviewing the resulting diff, but they don’t provide the same kind of incremental control. With Keep/Undo, I can review changes one at a time, understand them in context, keep what works, and give targeted feedback on what doesn’t. I want to work iteratively with the agent and not just inspect a completed, one-shot result.

I’ve been a Copilot subscriber since its early days and work almost exclusively in Local mode. I’ve rarely used Agent Host because I find it harder to control and review the agent’s work there, which reduces my efficiency and can affect quality. Granular review and Local mode are major reasons I continue to choose Copilot over other agent harnesses. If Local mode or these controls were removed, I’d have little reason to keep using Copilot.

Please consider keeping this workflow available. At a minimum, make it an option so users can choose between granular, incremental review and a more autonomous workflow.

I also want to acknowledge the excellent points made by @rossdonald, as well as the contributions from others in this discussion.

Kevin-JP avatar Oct 05 '26 09:10 Kevin-JP

The main reason I prefer the VS Code local harness and reject all the others I’ve tested, even though the others have more interesting features, is precisely the granular control over changes provided by the "Keep/Undo" buttons; I find this much simpler and more intuitive to use than the new "changes" feature.

The new "changes" feature does have its value in that it lets you choose to view changes by branch, session, last turn, etc., but I really dislike the UX it offers, where files are lumped together without the ability to view them individually.

Furthermore, the VS Code local harness had many features such as prompts files, on-demand loaded instructions, and extended properties in the frontmatter of custom agents and skills that simply do not exist in the Copilot harness and were never ported over.

On top of that, the Copilot harness consumes far more tokens than the local harness; when inspecting customizations via /env or debugging its requests, I can see that it duplicates all my custom instructions. With the lack of on demand instructions the local harness had, the files are injected in the initial prompt verbatim, twice!

As far as I’m concerned, if the local harness were to disappear for good one day, I would have no good reason to use the Copilot harness instead of those from competitors, even ADEs that offer more features and granular control than the current agents window.

thewerthon avatar Oct 05 '26 11:10 thewerthon

On top of that, the Copilot harness consumes far more tokens than the local harness

Ah, if this is true it's pretty bad. Having some kind of benchmark would be nice I guess. I'm not rich enough to have unlimited credits for my personal stuff, and I'm limited to 9000/month by the Enterprise, so efficiency is extremely important.

lppedd avatar Oct 05 '26 11:10 lppedd

On top of that, the Copilot harness consumes far more tokens than the local harness

Ah, if this is true it's pretty bad. Having some kind of benchmark would be nice I guess. I'm not rich enough to have unlimited credits for my personal stuff, and I'm limited to 9000/month by the Enterprise, so efficiency is extremely important.

I didn't run benchmarks, extensive tests, or anything like that. Since I use BYOK with a local proxy, the proxy logs request metrics for me. So, I compared a simple "say hello" prompt using the local harness versus Copilot's, and Copilot's consumed 20% more tokens just for the system prompt; and that was with my customizations disabled. If I enable my customizations, that figure jumps to around 80%. Largely, of course, due to instructions lacking an applyTo attribute being injected in full, duplicated form into the Copilot request, whereas the local harness simply lists them without duplication for on-demand use, similar to how skills are handled.

thewerthon avatar Oct 05 '26 12:10 thewerthon

I just found this feedback thread after frantically searching why the latest VS Code update completely broke the Copilot chat interface. And I use the word broke intentionally. If this is the direction Copilot for VS Code is going, there no longer is any reason for me to continue using Copilot. And it shows a severe disconnect between Copilot management and how users actually use Copilot in their projects.

Edit: I am having a hard time understanding how removing the Keep/Undo functionality was justified. It does not affect large scale reviews in any way, shape, or form. So why was it removed? And the current trend of large sweeping changes to Copilot, and then asking for feedback after the fact is very worrisome.

JohnArneBirkeland avatar Oct 05 '26 12:10 JohnArneBirkeland

omg, what a awful change! I want to be in charge on AI not vice versa! That keep and remove button is a basic feature why I choose copilot over other agents

rafa-fie avatar Oct 05 '26 12:10 rafa-fie

Adding the following settings to settings.json displays the harness picker at the lower-left of the chat input, where you can switch to Local. With Local, you can review changes using the traditional Keep/Undo workflow.

{ "chat.defaultToCopilotHarness": false, "chat.editor.preferCopilotHarness": false }

Thank you, you saved me a lot of frustration. Hope these options will never got removed...

squerty0 avatar Oct 05 '26 12:10 squerty0