Skip to content

[bot] docs: update Learning Hub for Copilot CLI v1.0.10/v1.0.11 features#1150

Merged
aaronpowell merged 1 commit intostagedfrom
learning-hub/cli-v1-0-11-updates-f4a9542ad2cf6414
Mar 24, 2026
Merged

[bot] docs: update Learning Hub for Copilot CLI v1.0.10/v1.0.11 features#1150
aaronpowell merged 1 commit intostagedfrom
learning-hub/cli-v1-0-11-updates-f4a9542ad2cf6414

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

What's new in Copilot CLI v1.0.10 and v1.0.11

Based on the official v1.0.11 and v1.0.10 releases (2026-03-20 and 2026-03-23), this PR updates three Learning Hub pages to document new features.


Changes Made

copilot-configuration-basics.md

  • Monorepo support — Added a new "Monorepo Support" section explaining that customizations (agents, instructions, skills, MCP servers) are now discovered at every directory level from the working directory up to the git root. Includes a concrete tree diagram showing layered configuration in a monorepo.
  • Personal skills directory — Added a "Personal Skills Directory" section documenting ~/.agents/skills/ as a cross-project personal skill store, and noting it aligns with the VS Code GHCP4A extension default.
  • /clear vs /new distinction — Added a "CLI Session Commands" table explaining that /new backgrounds the current session while /clear abandons it. Both commands accept an optional prompt to seed the new session.
  • /undo command — Documented the new /undo command that reverts the last turn including file changes.

understanding-mcp-servers.md

  • Organization policy enforcement — Added a new subsection under Best Practices explaining that GitHub organization admins can now enforce a policy on third-party MCP servers for all members, and that Copilot CLI shows a warning when a configured server is blocked by policy.

automating-with-hooks.md

  • sessionStart additionalContext — Added a new section documenting that sessionStart hook scripts can write JSON to stdout with an additionalContext field, which is injected into the conversation at session start. Includes an example script.
  • Extension hooks merging — Added a new section explaining that hooks from multiple extensions now merge instead of overwriting, enabling layered hook configurations from different sources.

Source Announcements

Generated by Learning Hub Updater ·

- Add monorepo support section to copilot-configuration-basics:
  customizations discovered at every directory level up to git root
- Add personal skills directory (~/.agents/skills/) documentation
- Add /clear vs /new session command distinction + /undo command
- Add MCP organization policy enforcement to understanding-mcp-servers
- Add sessionStart additionalContext injection to automating-with-hooks
- Add extension hooks merging behaviour to automating-with-hooks

Source: https://github.com/github/copilot-cli/releases/tag/v1.0.11
Source: https://github.com/github/copilot-cli/releases/tag/v1.0.10

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aaronpowell aaronpowell marked this pull request as ready for review March 24, 2026 22:59
Copilot AI review requested due to automatic review settings March 24, 2026 22:59
@aaronpowell aaronpowell merged commit f1004d0 into staged Mar 24, 2026
@aaronpowell aaronpowell deleted the learning-hub/cli-v1-0-11-updates-f4a9542ad2cf6414 branch March 24, 2026 22:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Learning Hub documentation to reflect new GitHub Copilot CLI v1.0.10/v1.0.11 capabilities, focusing on configuration discovery, session commands, MCP org policy enforcement, and hooks behavior.

Changes:

  • Documented monorepo layered discovery, a personal skills directory, and new session commands (/new, /clear, /undo) in configuration basics.
  • Added guidance on organization policy enforcement for third-party MCP servers.
  • Documented sessionStart additionalContext hook output and extension hook merging behavior.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
website/src/content/docs/learning-hub/copilot-configuration-basics.md Adds monorepo discovery, personal skills directory, and CLI session command documentation.
website/src/content/docs/learning-hub/understanding-mcp-servers.md Adds best-practices guidance for org policy enforcement around third-party MCP servers.
website/src/content/docs/learning-hub/automating-with-hooks.md Documents sessionStart additionalContext output and hook merging across extensions/sources.

Comment on lines +111 to +115
cat <<EOF
{
"additionalContext": "Current branch: $(git rev-parse --abbrev-ref HEAD). Open tickets: $(gh issue list --limit 3 --json number,title | jq -r '.[] | \"#\(.number) \(.title)\"' | tr '\n' '; ')"
}
EOF
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example sessionStart hook prints JSON that interpolates git branch names and issue titles directly into a JSON string. Since these values can contain quotes, backslashes, or newlines, the output can become invalid JSON and fail to parse. Consider generating the JSON with a proper JSON encoder (e.g., jq -n --arg ...), or otherwise escaping the interpolated values so the example always produces valid JSON.

Suggested change
cat <<EOF
{
"additionalContext": "Current branch: $(git rev-parse --abbrev-ref HEAD). Open tickets: $(gh issue list --limit 3 --json number,title | jq -r '.[] | \"#\(.number) \(.title)\"' | tr '\n' '; ')"
}
EOF
branch="$(git rev-parse --abbrev-ref HEAD)"
issues="$(gh issue list --limit 3 --json number,title \
| jq -r '.[] | "#\(.number) \(.title)"' \
| tr '\n' '; ')"
jq -n --arg branch "$branch" --arg issues "$issues" \
'{additionalContext: ("Current branch: " + $branch + ". Open tickets: " + $issues)}'

Copilot uses AI. Check for mistakes.
Comment on lines +399 to +401
GitHub Copilot CLI has two commands for managing session state, with distinct behaviours:

| Command | Behaviour |
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling is inconsistent with the rest of this article (which uses American English "behavior"). Consider changing "behaviours" to "behaviors" for consistency.

Suggested change
GitHub Copilot CLI has two commands for managing session state, with distinct behaviours:
| Command | Behaviour |
GitHub Copilot CLI has two commands for managing session state, with distinct behaviors:
| Command | Behavior |

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants