Refs: #319087
Complexity: 3
Context
The /research slash command invokes a specialized deep-research agent that produces a Markdown report with citations on a given topic. It uses codebase tools, web search, and GitHub repo search autonomously.
Test Steps
Completion & parsing
- Open Copilot CLI (terminal agent session)
- Type
/ and verify /research appears in completions
- Select
/research from completions — verify a trailing space is inserted (ready for topic input)
Report generation
- Send
/research How does the VS Code extension host communicate with the renderer?
- Verify the agent produces a structured Markdown report with:
- Headings and sections
- Citations or references to source files / URLs
- No clarifying questions asked (autonomous behavior)
Report viewing & sharing
- After the report completes, use
Ctrl+Y (or Cmd+Y) to view the saved report
- Run
/share gist research and verify a gist is created with the report content
- Run
/share file research and verify a local file is written
Session scoping
- Start a new session and verify no prior research reports are available (session-scoped storage)
Web & cross-repo
- Try
/research with a web-focused topic (e.g., "latest changes to Node.js streams API") and verify web search results are included
Refs: #319087
Complexity: 3
Context
The
/researchslash command invokes a specialized deep-research agent that produces a Markdown report with citations on a given topic. It uses codebase tools, web search, and GitHub repo search autonomously.Test Steps
Completion & parsing
/and verify/researchappears in completions/researchfrom completions — verify a trailing space is inserted (ready for topic input)Report generation
/research How does the VS Code extension host communicate with the renderer?Report viewing & sharing
Ctrl+Y(orCmd+Y) to view the saved report/share gist researchand verify a gist is created with the report content/share file researchand verify a local file is writtenSession scoping
Web & cross-repo
/researchwith a web-focused topic (e.g., "latest changes to Node.js streams API") and verify web search results are included