Skip to content

docs: auto-update for merged PRs (2026-10-30) - #4772

Open
aheritier wants to merge 4 commits into
mainfrom
docs/auto-update
Open

aheritier wants to merge 4 commits into
mainfrom
docs/auto-update

Conversation

@aheritier

@aheritier aheritier commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Documentation changes

  • Compaction guide (docs/guides/compaction/index.md): documents that only one compaction runs per session at a time; concurrent manual, /context, or overflow-recovery compactions are rejected with compaction already in progress.
  • MCP toolset (docs/tools/mcp/index.md) and LSP toolset (docs/tools/lsp/index.md): clarify that the toolset's env takes precedence over the inherited host environment.
  • Code Mode (docs/features/code-mode/index.md): notes that runtime-handled tools (transfer_task, handoff, run_skill, background-agent tools) stay directly callable and are not wrapped into the script.

Source PRs

Other PRs merged in the last 36h needed no doc changes.

@aheritier aheritier added the kind/docs Documentation-only changes label Oct 30, 2026
Copilot AI balanced review requested due to automatic review settings October 30, 2026 05:00
@aheritier
aheritier requested a review from a team as a code owner October 30, 2026 05:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for this documentation-only clarification of compaction behavior and toolset environment precedence.

No open issues 🎉

What changed in this PR

This documentation-only PR clarifies existing compaction behavior and toolset environment precedence in docker-agent.

Changes:

  • Documents per-session compaction exclusivity, concurrent-request errors, proactive-compaction warnings, and retry guidance.
  • Clarifies that MCP and LSP toolset env values override matching variables inherited from the host.
File Description
docs/​tools/​mcp/​index.md Explains host environment inheritance and toolset env precedence.
docs/​tools/​lsp/​index.md Clarifies that toolset env overrides host values.
docs/​guides/​compaction/​index.md Documents concurrent-compaction handling and retry guidance.

Review effort: Balanced

@aheritier aheritier added the area/docs Documentation changes label Oct 30, 2026
trungutt
trungutt previously approved these changes Oct 30, 2026
Copilot AI balanced review requested due to automatic review settings October 31, 2026 05:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The Code Mode warning still gives incorrect delegation configuration advice and needs to distinguish supported direct delegation from unsupported calls inside scripts while retaining the permission-granularity warning.

1 open issue

Review effort: Balanced

Comment thread docs/features/code-mode/index.md Resolved
trungutt
trungutt previously approved these changes Oct 31, 2026
Comment thread docs/guides/compaction/index.md Outdated

From `/context`, select any live session with the arrow keys and press <kbd>Enter</kbd> to explicitly compact it — including a sub-agent's session, not just the main one. This is the only way cross-agent compaction happens: there's no idle-triggered automatic compaction of sub-agent sessions, so a long-running background agent stays under your control. The request is queued onto the target session's own run loop and applied at the next safe point between model turns, so it never corrupts an in-flight turn.

Only one compaction runs per session at a time. If a compaction is already in progress — including a background one — a manual `/compact`, an explicit compaction from `/context`, or an overflow-recovery compaction is rejected with a `compaction already in progress` error rather than sending a second summarization request. A proactive threshold compaction that is skipped for the same reason surfaces as a warning. Retry once the running compaction finishes.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Too much details about the internals here, remove

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Removed the paragraph in 2b62653.

- code-mode: fix approval warning to reflect that handoff/transfer_task stay directly callable (Copilot review comment)
- compaction: remove internals-level paragraph on concurrent compaction (rumpl review comment)
Copilot AI balanced review requested due to automatic review settings October 31, 2026 11:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

There are no active review issues for the documentation updates.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs Documentation changes kind/docs Documentation-only changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants