github / github/copilot-cli

/research can't write it's research report

Open
#3,123 5 comments 6 reactions 0 assignees View on GitHub
area:agents area:tools
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

After running `/research TOPIC` the agent failed to write the research report to a file and instead complained that the "create" tool is not available.

Last response is:

```
I completed the research, but I could not save the markdown file to
/home/developer/.copilot/session-state/9ea25370-4826-4fbe-9574-0fe0fbe00d77/research/using-github-copilot-cli-with-worktrees.md because the required create tool is not
available in this session, and the delegated research agent only had read-only tools.
```

This was the first time I've tried `/research`, but everything else looked fine. After the above message it gave me a brief summary and when I asked it to print the report instead of writing to a file, it also printed what looked like the full report. Of course I can't verify if that is the same content as it would have written to the file or if some context etc. was lost.

### Affected version

GitHub Copilot CLI 1.0.40.

### Steps to reproduce the behavior

1. Run `/research some topic`
2. Wait for it to finish
3. The agent should complain that it can't create the research report

### Expected behavior

The agent should write the research report to a file.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.