github / github/copilot-cli

CLI/harness bug

Open
#4,483 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:models area:tools
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

Describe the bug

• CLI version:  1.0.79 
• session ID:  da7f26e3-c693-49b1-9cce-07e0b952079a 
• precise sequence above
• “ create / edit  disappeared without a stated model switch at 17:26 and persisted through  /restart ; PowerShell remained available.”

Affected version

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

Additional context

Diagnosis: this does not look like a credit-limit or filesystem-permission event.

The evidence points to a tool-capability change associated with model/runtime routing:

┌──────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Time (local) │ Change │
├──────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ 16:26 │ Switched from GPT-5.6 Terra to Claude Sonnet 5; create and edit became available. │
├──────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ 17:23 │ Switched from Claude to MAI Code Flash; only tool_search_tool was removed. │
├──────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ 17:26 │ A separate tool-inventory event removed edit and create. No filesystem denial or approval rejection preceded it. │
├──────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ 18:05 │ After /restart, the runtime still explicitly reported edit and create unavailable. │
└──────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

The session continued to execute PowerShell, Azure CLI, package installs, scaffolding, and Azure Table writes after the loss. That rules out a broad permission or session-credit shutdown.

The log’s usage checkpoints also continue increasing after the tool loss; I found no “credit limit reached,” quota error, tool-denied event, or permission rejection. Current evidence supports: the active harness stopped advertising those tools and did not restore them on restart.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by inspecting the session and tool-inventory records around 17:23–18:05, including the /restart transition, and compare the advertised capabilities with the model/runtime changes. Done means identifying why create and edit disappeared and verifying that restart behavior is handled consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell, shell
Domain
cli, devtools, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.