agentHost: coordinate overlapping sessions - #330289
Draft
Megan Rogge (meganrogge) wants to merge 6 commits into
Draft
agentHost: coordinate overlapping sessions#330289Megan Rogge (meganrogge) wants to merge 6 commits into
Megan Rogge (meganrogge) wants to merge 6 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: aa352131-aed7-4160-a87f-4aa9a424de5c
Contributor
There was a problem hiding this comment.
Pull request overview
Adds cross-session coordination guidance to prevent overlapping Agent Host work.
Changes:
- Adds universal session-coordination prompt guidance.
- Expands session tool descriptions.
- Updates prompt composition tests.
Show a summary per file
| File | Description |
|---|---|
toolInstructions.test.ts |
Tests coordination prompt composition. |
sessionServerTools.ts |
Adds overlap checks to session tools. |
toolInstructions.ts |
Registers universal coordination guidance. |
Review details
Tip
Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 3/3 changed files
- Comments generated: 1
- Review effort level: Balanced
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: aa352131-aed7-4160-a87f-4aa9a424de5c
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: aa352131-aed7-4160-a87f-4aa9a424de5c
Collaborator
Author
|
/requires-eval-assessment vscbench gpt-5.5,claude-opus-4.7,claude-opus-4.8 sessionTarget: agent-host-copilotcli |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: aa352131-aed7-4160-a87f-4aa9a424de5c
Contributor
|
⏳ Queued vscode build for
|
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: aa352131-aed7-4160-a87f-4aa9a424de5c
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: aa352131-aed7-4160-a87f-4aa9a424de5c
Contributor
|
🚀 Queued eval-assessment publish build for
|
Contributor
|
❌ Eval-assessment build did not succeed (result: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #330292
Summary
list_sessionsand keep a short check-first reminder increate_sessionTesting
npm run transpile-client./scripts/test.sh --run src/vs/platform/agentHost/test/node/agentHostPromptRegistry.test.ts./scripts/test.sh --run src/vs/platform/agentHost/test/node/toolInstructions.test.ts./scripts/test.sh --run src/vs/platform/agentHost/test/node/sessionServerTools.test.ts./scripts/test.sh --run src/vs/platform/agentHost/test/node/copilotAgent.test.ts --grep "materialization passes VS Code-specific system message to the SDK"./scripts/test-integration.sh --run src/vs/platform/agentHost/test/node/e2e/providers/copilotPromptsE2E.integrationTest.tsnpm run hygiene