Skip to content

Test: Repository settings auto-install a plugin only after folder trust #341618

Closed

Description

@pwang347

Refs: github/copilot-agent-runtime#26059

Complexity: 4

Authors: Paul (@pwang347)

Create Issue

Prerequisite

Use a build whose bundled Copilot SDK contains github/copilot-agent-runtime#26059 (596a4c312a5). Leave chat.agentHost.copilot.runtimePath empty and unset COPILOT_CLI_PATH and COPILOT_LEGACY_CLI_PATH.

Setup

  1. Run Profiles: New Window with Temporary Profile.

  2. Open Chat: Open Customizations > Plugins. If context-engineering is installed, uninstall it.

  3. Create a temporary Git repository containing .github/copilot/settings.json:

    {
      "extraKnownMarketplaces": {
        "awesome-copilot": {
          "source": { "source": "github", "repo": "github/awesome-copilot" }
        }
      },
      "enabledPlugins": {
        "context-engineering@awesome-copilot": true
      }
    }
  4. Open that repository and choose Don't Trust when prompted.

Test

  1. Open Chat: Open Customizations > Plugins, wait 15 seconds, and verify context-engineering was not installed.
  2. Run Workspaces: Manage Workspace Trust, trust the folder, and reload when prompted.
  3. Open the Agents window, create a Copilot session in this repository, and send Reply with exactly REPO_OK..
  4. Verify the response is REPO_OK.
  5. Within 60 seconds, reopen Customizations > Plugins and verify exactly one context-engineering row appeared without selecting Install.
  6. Open Skills, search context, and verify context-map, refactor-plan, and what-context-needed are loaded.
  7. Open a different empty folder in a new window, start a Copilot session there, and verify those three repository plugin skills are not loaded.

Cleanup

Uninstall context-engineering and delete the temporary repository/profile.

Activity

  1. added this to the 1.143.0 milestone on Oct 14, 2026
  2. federicobrancasi commented on Oct 18, 2026

    @federicobrancasi
    Member

    🤖 How to verify: the attached video walks through the steps in real VS Code Insiders, checking each result in the app.

    tpi-341618-how-to-test.mp4
  3. dbaeumer commented on Oct 19, 2026

    @dbaeumer
    Member
  4. vritant24 commented on Oct 19, 2026

    @vritant24
    Member

    Auto install requires sending a chat to start the session.

  5. vritant24 commented on Oct 19, 2026

    @vritant24
    Member

    This will probably now land in the next release.closing and will create a new TPI once fixes are in (a VS Code side change is needed as well)

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions