Merged
Conversation
- Rewrite test_optimizer.py using patch('...PydanticAgent', ...) cleanly
- Add TestAzureEntraModel class (3 tests covering default gpt-5.2-chat deployment)
- Update test_optimizer_integration.py to use azure_entra_model() (gpt-5.2-chat)
instead of OPENAI_API_KEY skip guard -- all 3 now pass against real Azure
- Verified full test->optimize->test loop end-to-end: 3/3 passed in 64s
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Introduces a Persona concept that simulates each IDE's native tool environment during testing: - VSCodePersona (default): polyfills runSubagent + auto-loads .github/copilot-instructions.md from working_directory - CopilotCLIPersona: task+skill already native; auto-loads .github/copilot-instructions.md - ClaudeCodePersona: polyfills task-dispatch + auto-loads CLAUDE.md - HeadlessPersona: raw SDK baseline, no polyfills, no file loading Also: - from_copilot_config() now discovers agents recursively (rglob) so agents under subagents/ subdirectories are found automatically - EventMapper gains record_subagent_start/complete/failed public methods - runSubagent injection moved from runner.py into personas.py Bumps version to 0.2.1. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…orchestrator behavior When an agent has custom_agents configured, VSCodePersona and ClaudeCodePersona now inject an <agents> XML block listing available subagents by name/description. This mirrors the behavior of computeAutomaticInstructions.ts in microsoft/vscode, which guides the model to use runSubagent/task for delegation rather than implementing directly. Bump version to 0.2.2. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
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.
Mirrors VS Code computeAutomaticInstructions.ts: inject XML block when custom_agents is set. Bumps to 0.2.2.