Skip to main content
AI News

GitHub Copilot Sessions Can Move to VS Code With Context, Diffs, and Worktree Intact

A handoff path for human review, edits, and tests after agent work

ENHE AI5 min4 views

GitHub has documented a handoff from a Copilot app session to Visual Studio Code. The workflow keeps the session context, changed-file diff, and the same isolated worktree, so a developer does not need to rebuild the task history in a new chat. This article explains the prerequisites and provides a practical review sequence: open the session, inspect the diff, edit locally, run the relevant tests, and decide separately whether to push. The feature is useful when agent work needs human judgment or local tooling, but continuity is not proof that the generated changes are correct. Repository permission, the same GitHub account in both applications, and an existing session with changes are still required.

More topic tags (7)
AI NewsAuto PublishingGitHub Copilot appSEOVS Code会话交接工作树
GitHub Copilot Sessions Can Move to VS Code With Context, Diffs, and Worktree Intact

Key takeaways

Session context, the diff, and the isolated worktree move together.
Context continuity is not proof that the code is correct.
Push and deployment remain separate decisions.

By ENHE AI · 2026-10-21 · AI-assisted drafting and editorial checks.

Direct answer: continue the same session, then validate the code yourself

Select Open in VS Code from a Copilot app session to continue the same task in the local editor. GitHub says the user does not need to summarize the history or copy it into a new chat first.

This reduces handoff cost; it does not prove correctness. The first action after opening should be to review the diff and task goal, not to push or deploy immediately.

What is preserved and what is required

VS Code opens the project with the worktree associated with the session and displays the existing conversation in the Copilot sidebar. The session context remains available, the changed files are ready for review, and VS Code opens the same isolated working tree used by the session.

Prerequisites include the same GitHub account in the Copilot app and VS Code, repository access, a session that has made changes, and a supported VS Code installation selected by the user.

The context image supports the task explanation. It is not a product screenshot or evidence of an ENHE AI account-level test. Image: Unsplash.
The context image supports the task explanation. It is not a product screenshot or evidence of an ENHE AI account-level test. Image: Unsplash.

Handoff checklist: four steps for local validation

  1. Open the target session in the Copilot app and read the task, plan, and latest status. Confirm that it is the intended repository and line of work.
  2. Select Open in VS Code. If multiple supported editors or installations appear, choose the one normally used for that project. Confirm that the sidebar session and workspace match.
  3. Review the diff file by file, focusing on input boundaries, permissions, error handling, and tests. Preserved context is not a reason to accept unfamiliar changes.
  4. Run the project’s relevant tests and checks. Decide whether to commit or push only after results match expectations. Push, release, and deployment remain separate authorization steps.

Who benefits and when not to use it

This is most useful when an agent has produced reviewable changes that need a local debugger, terminal, or human design judgment. A conversation with no code changes usually does not need this handoff.

Related ENHE AI pages explain the Copilot app, the boundaries between app, IDE, and CLI, and multi-repository work in Slack or Teams.

FAQ

Does opening VS Code push the code automatically?

No. Review, editing, testing, and pushing remain user actions, and pushing should be an explicit decision.

Why is Open in VS Code missing?

Check that both apps use the same GitHub account, repository access exists, the session has changes, and the editor installation is supported.

Related tools and reading

These pages match the account, workflow, policy, or risk boundary discussed above; choose only what supports the current task.

Conclusion

Treat the feature as a bridge from an agent draft to human validation: review and test first, then decide whether to keep the changes.

Official or source-linked video

A related demonstration embedded in the official article; normal viewing link only, without verified inline playback or unverified video claims.

The page provides a normal external viewing link only. It does not claim inline playback, an independent hands-on test, or unverified timestamps.

Copilot app demonstration linked from the GitHub article

Watch on the source website

What this means for everyday users

This is most useful when an agent has produced reviewable changes that need a local debugger, terminal, or human design judgment. A conversation with no code changes usually does not need this handoff.

Related reading

What Is a Desktop AI Agent App?

A desktop AI agent app is an AI application that runs on a user's computer and organizes work around task sessions, repositories, models, tools, and automations. The GitHub Copilot App release makes the term easier to understand because the app is positioned around agent-driven development rather than simple chat. For ordinary users, the important distinction is not whether the AI can answer questions. It is whether the AI can work inside a bounded session, connect to code, choose a model, run in parallel, and leave enough context for human review. That makes permission, account, and rollback planning part of the definition.

How to Choose Between GitHub Copilot App, IDE Extensions, and CLI Agents

The GitHub Copilot App release changes AI coding tool selection from a simple IDE-versus-CLI question into a workflow-surface question. A desktop app can be useful when users want parallel sessions, GitHub integration, task continuity, and agent-driven work from one place. IDE extensions remain strong for everyday editing, while CLI agents can fit terminal-first workflows and automation. For Chinese users and small teams, the practical checklist should begin with repository access, model source, Copilot plan, BYOK keys, human review, and rollback. The best tool is the one whose permissions and workflow boundaries match the task, team habits, security expectations, and review capacity.

GitHub in Slack and Teams Adds Multi-Repository Work in One Conversation

GitHub’s Slack and Teams integration can now work across multiple repositories within a single conversation. That is useful when a reported problem spans a frontend and backend, but it is a different event from the original launch of the chat integrations. This article explains the change and provides a scoped investigation request that a non-programmer project owner can give a technical collaborator. It describes what evidence to request before moving from analysis to code changes and how to distinguish an issue, a proposed pull request, a merge, and a deployment. No account-level availability test or automatic resolution is claimed, and the announcement is not treated as permission to change every repository.

From Chat Boxes to Personal AI Companions: AI Assistants Are Entering the Desktop Execution Era

AI assistants are moving from answering questions toward continuing real tasks. AI agents, MCP tool ecosystems, personal memory, and local workbenches are pushing this shift together. For users, the real value is not another chat box, but less repeated context setup and more continuity from thinking to doing.

MiniMax H3 Image Arrives in ComfyUI: Validate Generation and Multi-Reference Editing in Six Fixed Steps

ComfyUI added native MiniMax H3 Image support on November 10, 2026. A single checkpoint handles text-to-image generation and reference-image editing, and users can choose local weights or ComfyUI Partner Nodes. This article avoids an unverified quality ranking and provides a fixed acceptance run instead. Update ComfyUI and load the published template, freeze one prompt and reference set, use the documented six steps with guidance 1, run generation and editing separately, inspect subject identity, text, composition, and protected details, and record memory, duration, remote cost, and failure recovery. The workflow is based on documentation and was not executed on local hardware or a paid Partner Node account.

Granite 4.1 LLMON Previews Launch: Test Instruction/Data Separation With Synthetic Injections

IBM released experimental 3B and 8B Granite 4.1 LLMON preview models on November 12, 2026. LLMON uses explicit structured blocks to separate instructions, data, and requirements, with binding intended to express which content may be executed. This guide proposes a small safe evaluation using synthetic data only. Create normal, conflicting, and prompt-injection cases; freeze the model and decoding settings; compare an ordinary prompt with an LLMON prompt; and record task correctness, refusal, unauthorized behavior, and parsing failure. The published results are author-run benchmarks, and the models are explicitly previews for exploration and evaluation. They should not receive production data or external-action permissions before independent security review.