From 79cbec8cf415e9a6e47fefd5470111c79fe220c5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 20 Sep 2026 20:49:25 +0000 Subject: [PATCH] Document Copilot CLI 1.0.85/1.0.86 features in Learning Hub - Add concise transcript view (transcriptView setting) - Add context management tools opt-in for agents/subagents - Add sandbox bypass and local-network policy reporting refinements - Add include-custom-instructions agent frontmatter field - Bump lastUpdated on both affected pages Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../learning-hub/building-custom-agents.md | 14 ++++++++- .../copilot-configuration-basics.md | 30 ++++++++++++++++++- 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/website/src/content/docs/learning-hub/building-custom-agents.md b/website/src/content/docs/learning-hub/building-custom-agents.md index 3ad3e7cb..edf4bb47 100644 --- a/website/src/content/docs/learning-hub/building-custom-agents.md +++ b/website/src/content/docs/learning-hub/building-custom-agents.md @@ -3,7 +3,7 @@ title: 'Building Custom Agents' description: 'Learn how to create specialized GitHub Copilot agents with custom personas, tool integrations, and domain expertise.' authors: - GitHub Copilot Learning Hub Team -lastUpdated: 2026-09-05 +lastUpdated: 2026-09-20 estimatedReadingTime: '10 minutes' tags: - agents @@ -108,6 +108,18 @@ tools: ['codebase', 'terminal', 'github'] For MCP server tools, reference them by server name (e.g., `postgres`, `docker`). See [Understanding MCP Servers](../understanding-mcp-servers/) for details. +**include-custom-instructions** *(v1.0.86+, Copilot CLI)*: Set to `true` to have the agent also load repository instruction files — `AGENTS.md`, `copilot-instructions.md`, and `CLAUDE.md` — in addition to its own persona instructions. This is useful when you want a specialized agent to still follow your team's shared conventions rather than operating in isolation: + +```yaml +--- +name: 'Release Manager' +description: 'Automates release preparation, changelog generation, and version bumping' +model: Claude Sonnet 4 +include-custom-instructions: true +tools: ['codebase', 'terminal', 'github'] +--- +``` + ### Agent Instructions After the frontmatter, write Markdown instructions that define the agent's behavior. Structure these clearly: diff --git a/website/src/content/docs/learning-hub/copilot-configuration-basics.md b/website/src/content/docs/learning-hub/copilot-configuration-basics.md index b0f47e64..8ff41f4f 100644 --- a/website/src/content/docs/learning-hub/copilot-configuration-basics.md +++ b/website/src/content/docs/learning-hub/copilot-configuration-basics.md @@ -3,7 +3,7 @@ title: 'Copilot Configuration Basics' description: 'Learn how to configure GitHub Copilot at user, workspace, and repository levels to optimize your AI-assisted development experience.' authors: - GitHub Copilot Learning Hub Team -lastUpdated: 2026-09-12 +lastUpdated: 2026-09-20 estimatedReadingTime: '10 minutes' tags: - configuration @@ -946,6 +946,34 @@ copilot skill enable my-skill # enable a specific skill *(v1.0.84+)* Command-line parsing moved from Commander to a Rust-based grammar that mirrors what the CLI actually parses, which also generates shell completions directly from that grammar — so `copilot ` now offers root flags alongside subcommands, and each subcommand only shows its own options. As a result of this change, some error and help wording changed, `copilot login --host` now works correctly, and `--max-autopilot-continues` no longer accepts scientific notation as a value. +### Concise Transcript View + +*(v1.0.85+)* Set `transcriptView` to `concise` in `/settings` to group tool activity into expandable work summaries instead of showing every tool call inline. This keeps long sessions easier to scan, especially when an agent runs many small tool calls in a row — expand a summary only when you need to see the underlying detail: + +``` +/settings transcriptView concise +``` + +### Context Management Tools for Agents and Subagents + +*(v1.0.85+)* `/settings` now includes an opt-in for context management tools that agents and subagents can call directly, giving them more control over what stays in context during long-running or multi-agent sessions rather than relying solely on automatic compaction. + +### Sandbox Bypass Refinements + +*(v1.0.85+/v1.0.86+)* Managed sandbox sessions can now be disabled for the rest of the session directly from an approved bypass prompt, and `/sandbox` policy reporting for local-network access now reflects your actual configured setting rather than a generic message. + +### Repository Instructions for Custom Agents + +*(v1.0.86+)* Custom agents can opt into repository instruction files — `AGENTS.md`, `copilot-instructions.md`, and `CLAUDE.md` — by setting `include-custom-instructions: true` in their frontmatter. This lets an agent inherit your team's shared conventions instead of relying solely on its own persona instructions: + +```yaml +--- +name: 'Release Manager' +description: 'Automates release preparation and changelog generation' +include-custom-instructions: true +--- +``` + ## Common Questions **Q: How do I disable Copilot for specific files?**