Repository navigation
Description
Important
October 22 Update: Before commenting, please review the latest updates from the team below #339363 (comment)
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 #339363 (comment)
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 !!
Hey everyone, wanted to provide a follow-up on the plan from last week !
Keep and Undo are back in the Copilot harness!
We know many of you rely on VS Code and Copilot Chat for your mission-critical work, so we moved as quickly as we could. You can once again review the agent's changes right in the editor and keep or undo each one, like you could in Local. It's available now in Insiders, and comes to Stable with 1.144, planned for next week.
The same workflow is back:
- In the editor: the agent's changes are highlighted as soon as each edit lands, with the same buttons and overlays.
- In the working set above the chat input: keep or undo a file, or every file from the heading (undoing every …
Metadata
Metadata
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
sugymt commentedon Oct 3, 2026
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.
AutumnCape commentedon Oct 3, 2026
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.
lppedd commentedon Oct 4, 2026
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:
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 commentedon Oct 4, 2026
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":
Mahesha999 commentedon Oct 4, 2026
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:
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.
Old version info:
New version info:
OXINARF commentedon Oct 4, 2026
For me, there are 3 ways I do it:
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.
lppedd commentedon Oct 4, 2026
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.
CrueDE commentedon Oct 4, 2026
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:
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.
jaygriffinjay commentedon Oct 4, 2026
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 (@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:
271 remaining items
maxdzin commentedon Nov 11, 2026
Well, at least it's nice to see that, starting with VSCode version 1.145, the issue mentioned above no longer occurs.
The “Keep/Undo” feature works as well, including manual granular edits.
It would be good to have the Copilot harness well-established and reliable enough, and only then to deprecate Local.
OXINARF commentedon Nov 11, 2026
We are getting out of scope here, but it is indeed surprising to see a date set for removal when there are 114 open bugs for the Agent Host, let alone all the unsupported features.
The worst part for me is that I work almost exclusively in a container and support for it seems to have been relegated to the back seat (with incredible regressions, like chat sessions getting lost on container rebuild).
I'm actually happy to see a single harness development on Microsoft, but this doesn't seem ready yet.
joaorr3 commentedon Nov 12, 2026
Hope they bring back the old behaviour. 🥲
https://code.visualstudio.com/updates/v1_146#_copilot-harness-and-deprecation-of-the-local-harness
echiroldesl commentedon Nov 12, 2026
Thanks for bringing Keep/Undo back to the editor. I understand the Agents window currently offers file-level discard instead.
My workflow involves reviewing each agent response before continuing. I’d like to see the files changed in the latest turn and keep or undo individual files or changes directly in the Agents window, without losing earlier work or chat history.
Is support for this workflow in the Agents window planned or tracked in a separate issue? If so, could you share the link?
willmruzek commentedon Nov 12, 2026
Will BYOK/model provider be supported in the Copilot harness?
lppedd commentedon Nov 12, 2026
I still see Keep/Undo buttons not appearing when opening changed files in the latest Insiders.
justschen commentedon Nov 12, 2026
Ladislau Szomoru (@lszomoru) is working on this! hoping to have this soon
a lot of these are bugs reported from our own team members, mostly for book-keeping. we're pretty set on getting this in a really great state ASAP tho.
is there an issue open for this already? we can direct it to the right people.
not yet in the same capacity. as you mentioned, you can undo at the file level atm, but not at the hunk level.

but feel free to create an issue if you'd like! given the agents window is a surface where we expect more agentic development to happen, i didn't think this is something folks would want, but i think can be worth adding.
Edoardo Luppi (@lppedd) do you have a reliable repro for this? has been working fine for me recently, but would love to get to the bottom of the flakiness.
Important
Just a PSA to please keep this issue on topic. I understand there will be some discussion about Local deprecation, but I want this to be focused on fixing issues directly related to
Keep and Undoso I can properly track what work still needs to get done! Out of topic comments will get deleted. Thanks :Dlppedd commentedon Nov 12, 2026
Justin Chen (@justschen) good question and I honestly do not have a stable reproducer.
What I can tell you is it happens most frequently with this workflow:
At this point opening a file from the Changes pills should not have Keep/Undo buttons anymore. So this happens when dealing with big changesets, which is really problematic as Keep/Undo buttons never come back.
rossdonald commentedon Nov 13, 2026
I've been using Keep/Undo. Does it not track edits for files outside the workspace?
I asked the agent to edit a skill and the edit didn't appear in the list of files to review. Doing some investigation, it seems out-of-workspace edits are recorded but excluded from the working set, and session changesets so I have to notice in the edit tool call and per-turn changes which are easy to miss.
This seems like a strange decision because these are the edits that I want to be visible. Currently the agent can edit files outside the workspace (skills, instructions, global config), the edit is visible in the turn response, but there is no keep/undo for it anywhere.
goigle commentedon Nov 17, 2026
The granular diff with the line-level keep/undo is one of the only reasons I prefer Copilot over other options, it would be a real shame to get rid of it. It's incredibly useful for when a model blips and deletes comments (as others have mentioned) or makes an overarll good patch but includes some extra tweaks / value changes that you do not want.
ChristopherHamkins commentedon Nov 17, 2026
Although progress continues to be reported here, my user experience with each update is getting worse and worse. The Keep/Undo from the local harness still works more reliably. Each release makes it harder to activate the local harness and the ask/plan/agent selection in it is often inaccessible.
The Copilot harness looks at far more files and wants to make many more changes than the local harness would have. When the local harness is selected, the option to switch between ask, plan and agent often disappears, also removing this aspect of control over the result.
The Copilot harness found and read my .env file, an absolute no-go.
As a consequence, I've deinstalled VS Code and reinstalled version 1.138 (see Visual Studio Code 1.138). I then set
"update.mode": "none"in the preferences to prevent getting any more automatic updates. Now I can work productively again.
ZanEtherial commentedon Nov 20, 2026
Ask mode is gone again on my end...can we have it back pretty please?
Mahesha999 commentedon Nov 20, 2026
Justin Chen (@justschen) Following page: https://code.visualstudio.com/updates/v1_146#_agents
still says:
Does it still hold after responses on this thread?