Skip to content

[Meta] Feedback on granular control over Copilot changes #339363

Open

Description

@justschen

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 !!

Pinned by justschen

Activity

  1. added
    agent-host
    on Oct 2, 2026
  2. sugymt commented on Oct 3, 2026

    @sugymt

    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.

  3. AutumnCape commented on Oct 3, 2026

    @AutumnCape

    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.

  4. lppedd commented on Oct 4, 2026

    @lppedd

    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.

  5. lppedd commented on Oct 4, 2026

    @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":

  6. Mahesha999 commented on Oct 4, 2026

    @Mahesha999

    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
  7. OXINARF commented on Oct 4, 2026

    @OXINARF

    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 Justin Chen (@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.

  8. lppedd commented on Oct 4, 2026

    @lppedd

    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.

  9. CrueDE commented on Oct 4, 2026

    @CrueDE

    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.

  10. jaygriffinjay commented on Oct 4, 2026

    @jaygriffinjay

    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:

    Image
  11. 271 remaining items

  12. maxdzin commented on Nov 11, 2026

    @maxdzin

    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.

    As of this release, the Local harness is deprecated and will be removed in three months (February 2027)

    It would be good to have the Copilot harness well-established and reliable enough, and only then to deprecate Local.

  13. OXINARF commented on Nov 11, 2026

    @OXINARF

    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.

  14. echiroldesl commented on Nov 12, 2026

    @echiroldesl

    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?

  15. willmruzek commented on Nov 12, 2026

    @willmruzek

    Will BYOK/model provider be supported in the Copilot harness?

  16. lppedd commented on Nov 12, 2026

    @lppedd

    I still see Keep/Undo buttons not appearing when opening changed files in the latest Insiders.

  17. justschen commented on Nov 12, 2026

    @justschen
    CollaboratorAuthor

    I just tried the char-by-char edit experiment again btw. It's still slow as hell, and doesn't collapse edit events in chat like Local, but at least it can do it now.

    Ladislau Szomoru (@lszomoru) is working on this! hoping to have this soon

    there are 114 open bugs for the Agent Host, let alone all the unsupported features.

    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.

    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).

    is there an issue open for this already? we can direct it to the right people.

    Is support for this workflow in the Agents window planned or tracked in a separate issue? If so, could you share the link?

    not yet in the same capacity. as you mentioned, you can undo at the file level atm, but not at the hunk level.
    Screenshot 2026-11-12 at 10 34 09 AM

    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.

    I still see Keep/Undo buttons not appearing when opening changed files in the latest Insiders.

    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 Undo so I can properly track what work still needs to get done! Out of topic comments will get deleted. Thanks :D

  18. lppedd commented on Nov 12, 2026

    @lppedd

    do you have a reliable repro for this?

    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:

    1. Ask Copilot for a bunch of file edits.
    2. Open an edited file from the Changes pills. Keep/Undo buttons show up. Do not Keep or Undo anything at this point.
    3. Close all editors.
    4. Keep asking Copilot for further changes. At least 10 chat turns. Do not Keep/Undo any file or change in the meantime.

    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.

  19. rossdonald commented on Nov 13, 2026

    @rossdonald

    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.

  20. goigle commented on Nov 17, 2026

    @goigle

    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.

  21. ChristopherHamkins commented on Nov 17, 2026

    @ChristopherHamkins

    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.

  22. ZanEtherial commented on Nov 20, 2026

    @ZanEtherial

    Ask mode is gone again on my end...can we have it back pretty please?

  23. Mahesha999 commented on Nov 20, 2026

    @Mahesha999

    Justin Chen (@justschen) Following page: https://code.visualstudio.com/updates/v1_146#_agents

    still says:

    • Next three months: You can still use the Local harness while you move your workflows, but it's functionally frozen. New features and improvements will focus on the Copilot harness and are not guaranteed to be supported by the Local harness.
    • After three months: The Local harness will no longer be available. The vscode.temporaryDefaultToLocalHarness enterprise-managed setting, introduced in VS Code 1.142 to keep the Local harness as the default, will also be removed.

    Does it still hold after responses on this thread?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

agent-hostchaton-testplanunder-discussion

Type

No type

Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions