← Back to news
Copilot CLI 1.0.115: More Controllable Sessions, Better-Verified Changes

Photo: Sebastiaan ter Burg / Wikimedia Commons — CC BY-SA 2.0

25/11/2026

Copilot CLI 1.0.115: More Controllable Sessions, Better-Verified Changes

Copilot CLI’s latest releases address the friction that actually slows engineers down

A terminal agent does not become useful simply because it writes code quickly. It becomes useful when an engineer can understand its state, interrupt it reliably, keep its tools within a known boundary, and recover a session without reconstructing an afternoon of work. That is the practical reason to examine GitHub Copilot CLI’s November 24 releases: the stable 1.0.115 and the explicitly marked 1.0.116-1 prerelease.

The stable release includes changes around cancellation, worktrees, sandbox visibility, session memory, and permission handling. The prerelease adds a warning when a plugin and a standalone MCP server connect to the same endpoint, alongside further cancellation and memory fixes. These are release-note claims, not independently measured performance results. Nevertheless, they identify problems that matter in real engineering workflows: duplicated integrations, orphaned processes, ambiguous account identity, and sessions that gradually become harder to operate.

My recommendation is not to give the agent more autonomy because an update exists. It is to use the update as an opportunity to make delegation more precise. Keep the stable version as the default evaluation target, test the prerelease separately if one of its fixes addresses a problem you have, and judge both by completed, reviewed engineering work rather than impressive terminal output.

What the tool is, and where it fits

Copilot CLI is GitHub’s terminal-native coding assistant. It can answer questions about a repository, propose an implementation plan, edit files, invoke development commands, and interact with connected tools. The interface stays close to the environment where many senior developers already investigate failures: Git, test runners, build scripts, logs, and shell sessions.

That proximity is both its advantage and its risk. An explanation of a function is relatively low impact; invoking an installation script, changing a migration, or using a GitHub integration is not. A trusted directory, a tool approval, a sandbox policy, and a repository’s merge controls solve different problems. None should be treated as a substitute for the others.

The useful mental model is an implementation partner with bounded authority. You specify the result and constraints; the agent gathers evidence and prepares changes; you retain ownership of requirements, sensitive operations, review, and release. It works especially well on tasks with visible acceptance criteria. It is less compelling when the main difficulty is deciding what the product should do or negotiating an architectural trade-off across teams.

Install deliberately, then establish a baseline

The official quickstart documents npm installation with Node.js 22 or later: npm install -g @github/copilot. It also lists winget install GitHub.Copilot for Windows and brew install --cask copilot-cli for macOS/Linux. The official repository provides release downloads. Choose the method your organization supports rather than mixing package managers on one workstation.

For a reproducible evaluation of the stable release discussed here, the npm form is npm install -g @github/copilot@1.0.115. Verify package availability in your registry and confirm the installed version with copilot --version. Do not assume an unpinned installation will select this release forever. Similarly, do not infer that every prerelease change is present in the stable build.

Open a disposable clone or a dedicated Git worktree, enter that directory, run copilot, and authenticate with /login. GitHub currently documents CLI access across Copilot plans; organization-provided access also requires the organization’s CLI policy to be enabled. Check your actual account, policy, and billing arrangement before planning unattended or shared use.

Before the first task, inspect /permissions show, choose /permissions manual for a cautious baseline, and review sandbox settings. The documentation describes /sandbox enable; the stable release notes add that /sandbox policy shows the GitHub account used by sandboxed gh commands. Record the CLI version, operating system, model, enabled integrations, and baseline test result. Without that record, a later improvement or regression is difficult to attribute.

Why interruption deserves an acceptance test

Stopping an agent is not just a user-interface concern. A shell command can spawn children, leave a server listening, continue consuming resources, or write an artifact after its parent appears finished. Version 1.0.115 says Unix cancellation now stops orphaned child processes remaining in the shell’s process group; it also includes Windows child-process cleanup improvements. The prerelease describes an additional Unix cleanup fix when canceled commands write to standard output or error during shutdown.

Those statements do not establish that every external process or remote operation is reversible. A detached service, a cloud job, or an API request may have its own lifecycle. Cancellation is a control signal, not a transaction rollback. Your working procedure should explicitly distinguish stopping local execution from undoing a completed side effect.

Evaluate interruption with a harmless test fixture in an isolated environment. Have the agent start a known long-running local task, interrupt it using the interface’s documented controls, and inspect the relevant process and artifact state independently. Confirm that no fixture process remains, the next prompt works, and the agent’s report matches reality. Never use a production deployment or a destructive command as the cancellation experiment.

Use case one: investigate a failing build without widening access

Consider a repository whose CI build fails after a dependency update. Start with a constrained request: “Read the build configuration, lockfile diff, and this redacted failure log. Identify the earliest meaningful failure. Do not install dependencies or edit files. Return three hypotheses with supporting paths and a command that could distinguish each one.” This is a proposed workflow, not a report of a benchmark performed for this article.

The agent’s first deliverable should be an evidence map, not a patch. A missing generated type, an incompatible compiler option, and a registry authentication failure can look similar near the bottom of a log. Ask it to separate observed facts from interpretations and quote the relevant error lines. You can then authorize the smallest diagnostic step instead of granting broad shell execution simply to keep the conversation moving.

Once the cause is plausible, request a minimal repair plan and a focused test. If the sandbox blocks a cache directory or a tool prerequisite, inspect the specific denial. Prefer an approved narrow configuration change or a different diagnostic path. A prompt suggesting an unsandboxed retry is not proof that bypassing the boundary is appropriate.

The productivity gain is less time spent reconstructing configuration relationships and scanning repetitive logs. The limitation is that the agent may confidently blame the last visible error rather than the first causal one. Require a reproducible command and retain its actual output. A green local run still needs the repository’s normal CI environment before merge.

Use case two: refactor in a worktree with a reviewable contract

Worktrees are useful because an agent task does not have to compete with unrelated changes in your main working directory. Create a dedicated branch and worktree using your established Git procedure. Copilot also exposes worktree-related commands; the stable release notes specifically mention clearer failure reporting for /worktree and /move, and a confirmation fix for /worktree new.

Suppose you want to replace repeated HTTP retry logic with one shared helper. Ask /plan for an inventory of call sites, behavior that must remain unchanged, candidate tests, and excluded files. State that timeouts, retry counts, and error classification are part of the public behavior. “Remove duplication” is not enough of a contract: an apparently cleaner helper can accidentally change when a request is retried.

Approve the plan only after checking representative call sites yourself. Allow implementation in the dedicated worktree, require tests for exhausted retries and non-retryable errors, and inspect both the CLI’s /diff and ordinary Git output. Review staged and unstaged changes. If generated files, dependency updates, or unrelated formatting appear, ask why before accepting them.

Isolation improves coordination, not correctness. A worktree does not prevent an agent from reading an overly broad trusted directory or contacting a connected service. The gain comes from reducing accidental overlap and making the patch easier to review. Merge only after the full test contract is satisfied and a human understands the behavioral consequences.

Use case three: simplify MCP before adding more tools

MCP connects an agent to external capabilities. GitHub’s documentation says Copilot CLI includes a configured GitHub MCP server and supports additional servers. The operational question is not how many tools can be attached; it is whether the engineer can explain which endpoint, credentials, and permissions each capability uses.

The 1.0.116-1 prerelease warns when a plugin and a standalone MCP server connect to the same endpoint and points to /mcp to disable one. That warning should be understood narrowly: it detects the documented overlap, not every possible duplicate, conflicting integration, or security problem. It also does not decide which connection your team should retain.

A practical cleanup session starts with an inventory. Open /mcp, inspect configured connections, and identify any integration installed both through a plugin and as a standalone server. Compare ownership, configuration, credential scope, and required functionality. Disable the redundant path only after confirming that the remaining connection still supports the intended workflow.

For example, a debugging workflow might retrieve a sanitized error report and correlate it with source code. Begin with read-only access and a non-production dataset. Do not automatically add issue editing, deployment access, or incident closure just because the same service offers them. Tool names and returned content are inputs to evaluate, not permission to change your task or bypass review.

Use case four: resume a long investigation without trusting its memory blindly

The stable release removes retention of thousands of unneeded historical session events, according to its notes. The prerelease addresses a separate text-measurement cache that retained full streamed replies. These are concrete memory-management fixes, but they are not a guarantee of constant memory usage or unlimited effective reasoning.

GitHub documents session resumption through --resume and copilot --continue, plus context inspection with /context. Use those facilities for continuity, while maintaining a small, explicit investigation record: current hypothesis, commands already run, observed results, unresolved questions, and operations that remain prohibited.

Imagine an intermittent timeout involving a queue consumer and a database transaction. At the end of each investigation segment, ask the agent for a handoff that cites files and actual observations. When resuming, verify the Git revision, relevant configuration, account identity, and outstanding processes. A saved conversation may describe a repository state that no longer exists.

The gain is faster reorientation after interruptions and less manual note reconstruction. The limitation is that compaction and summaries can lose distinctions between a hypothesis and a confirmed finding. Start a fresh session for an unrelated task; do not use one endlessly growing conversation as your team’s source of operational truth.

Use case five: turn agent review into reproducible tests

Copilot CLI can assist with review, including the documented /review command. Give it a narrow question: “Review this branch against the intended base. Prioritize changes that could violate retry semantics or authorization. For each finding, identify the location, failure condition, and a regression test. Do not modify files.”

Triaging the results is still engineering work. Reject vague findings that cannot explain a reachable failure. For a credible issue, first ask for a failing test, inspect its assumptions, and run it against the appropriate baseline and proposed patch. The test should fail for the intended reason, not because its fixture is broken or its expectation merely copies the implementation.

A second model’s agreement can be useful feedback, but it does not provide independent execution evidence. Preserve command results, inspect the final diff, and keep ordinary reviewer requirements. Review assistance is most productive when it reduces search effort and produces falsifiable claims, rather than adding another long list of speculative comments.

Permissions, instructions, and budgets are separate controls

Keep repository guidance short and actionable in .github/copilot-instructions.md: build commands, focused test commands, architectural constraints, and the rule that deployment and merge require separate authorization. Review changes to instructions, hooks, plugins, and MCP configuration as seriously as changes to application code. Instructions influence behavior; they do not enforce an operating-system boundary.

Be careful with convenient allowlists. Approving an entire package-script family can authorize scripts whose behavior later changes. A Git allowlist may include more than inspection commands. Prefer narrow grants appropriate to the task, review persisted approvals, and reset obsolete ones. Inspect the underlying command and its context rather than approving a friendly label.

Use the documented usage display and session limits where your plan supports them. The stable release notes say a credit limit passed with resume or continue now applies to the resumed session. Verify the relevant syntax through installed help. A cost ceiling does not constrain filesystem access, and a sandbox does not ensure an investigation is economically worthwhile.

Measure useful throughput, not generated volume

Run a small team evaluation using comparable tasks: one build investigation, one bounded refactor, and one review exercise. Record elapsed time to a reviewed result, hands-on intervention time, tool approvals, failed diagnostic steps, review corrections, and test evidence. Also record version, model, and configuration so the comparison remains interpretable.

Potential gains include less log scanning, faster call-site discovery, fewer repeated setup steps, and smoother resumption. There is no universal percentage to promise. A task can look fast in the terminal yet take longer overall because the patch requires extensive correction or the engineer must reconstruct what the agent actually did. Include that downstream cost in the assessment.

For the prerelease, add focused checks for the specific MCP overlap warning, cancellation behavior, and long-session stability relevant to your environment. Keep the stable and prerelease evaluations separate. A fix can justify a controlled pilot without justifying an organization-wide upgrade.

A release checklist that preserves the human decision

  • Confirm the installed version and whether it is stable or prerelease.
  • Verify the working directory, branch, baseline revision, account identity, and active integrations.
  • Agree on acceptance tests and excluded operations before allowing implementation.
  • Keep permissions and sandbox policy narrow; do not bypass a denial reflexively.
  • Inspect actual command output, process state after interruption, and the complete final diff.
  • Require normal CI, human review, and existing release approval before delivery.

The practical lesson from these releases is not that terminal agents are ready to govern themselves. It is that operational reliability makes bounded delegation easier. Let Copilot accelerate discovery, implementation, and evidence collection. Keep the human responsible for deciding what the evidence means and whether the change should ship.

Illustration: a historical Wikimedia hackathon photograph, not a screenshot of Copilot CLI. Photo by Sebastiaan ter Burg, Wikimedia Commons, CC BY-SA 2.0; no editorial alteration to the source photograph. The platform may resize or re-encode it for display.