feat: migrate 10 copilot sub-agents from small to kiwi / mai-code - #43085
Merged
Conversation
- Add kiwi model alias to model_aliases.json - Update 5 workflows to use model: kiwi (architecture-guardian, dead-code-remover, linter-miner, contribution-check, daily-malicious-code-scan) - Update 5 workflows to use model: mai-code (agent-performance-analyzer, cli-consistency-checker, daily-agent-of-the-day-blog-writer, dependabot-burner, q) - Recompile all lock files - Update wasm golden test fixtures Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
feat: update 10 copilot workflows from model small to kiwi/mai-code
feat: migrate 10 copilot sub-agents from Jul 3, 2026
small to kiwi / mai-code
Copilot created this pull request from a session on behalf of
pelikhan
July 3, 2026 03:37
View session
pelikhan
marked this pull request as ready for review
July 3, 2026 03:41
Contributor
There was a problem hiding this comment.
Pull request overview
This PR migrates selected Copilot-engine workflow sub-agents away from model: small to newer model aliases (kiwi and mai-code), and updates the built-in model alias map so those aliases resolve correctly at compile/runtime. Regenerated workflow .lock.yml files and wasm golden fixtures reflect the updated alias map in emitted firewall/API-proxy config.
Changes:
- Add the
kiwimodel alias to the built-in alias map (pkg/workflow/data/model_aliases.json). - Update 10 workflow markdown specs to use
model: kiwiormodel: mai-codefor specific sub-agents. - Regenerate compiled artifacts (workflow
.lock.ymland wasm goldens) to include the new alias inapiProxy.models.
Show a summary per file
| File | Description |
|---|---|
| pkg/workflow/data/model_aliases.json | Adds the new kiwi alias mapping (copilot/kiwi*, openai/kiwi*). |
| .github/workflows/architecture-guardian.md | Migrates violation-classifier sub-agent to model: kiwi. |
| .github/workflows/contribution-check.md | Migrates report/comment sub-agents to model: kiwi. |
| .github/workflows/daily-malicious-code-scan.md | Migrates classifier/scorer sub-agents to model: kiwi. |
| .github/workflows/dead-code-remover.md | Migrates discover-candidates sub-agent to model: kiwi. |
| .github/workflows/linter-miner.md | Migrates discussion-miner sub-agent to model: kiwi. |
| .github/workflows/agent-performance-analyzer.md | Migrates performance-analysis sub-agents to model: mai-code. |
| .github/workflows/cli-consistency-checker.md | Migrates CLI-analysis sub-agents to model: mai-code. |
| .github/workflows/daily-agent-of-the-day-blog-writer.md | Migrates blog persona/SEO sub-agents to model: mai-code. |
| .github/workflows/dependabot-burner.md | Migrates Dependabot batch analysis sub-agents to model: mai-code. |
| .github/workflows/q.md | Migrates log-triage and workflow-file-scanner sub-agents to model: mai-code. |
| pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden | Updates wasm golden output to include kiwi in emitted apiProxy.models. |
| pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden | Updates wasm golden output to include kiwi in emitted apiProxy.models. |
| pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden | Updates wasm golden output to include kiwi in emitted apiProxy.models. |
| pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden | Updates wasm golden output to include kiwi in emitted apiProxy.models. |
| .github/workflows/workflow-health-manager.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/schema-consistency-checker.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/pr-triage-agent.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/poem-bot.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/gpclean.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/daily-regulatory.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/daily-observability-report.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/daily-max-ai-credits-test.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/daily-credit-limit-test.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/daily-compiler-quality.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/daily-cli-tools-tester.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/daily-cache-strategy-analyzer.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/copilot-centralization-optimizer.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/copilot-centralization-drilldown.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/code-simplifier.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/ci-coach.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
| .github/workflows/agentic-token-optimizer.lock.yml | Regenerated lockfile reflecting updated apiProxy.models (includes kiwi). |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 87/278 changed files
- Comments generated: 1
- Review effort level: Low
| @@ -20,6 +20,7 @@ | |||
| "coding": ["copilot/gpt-5*codex*", "openai/gpt-5*codex*", "gpt-5-codex", "kimi"], | |||
| "mai-code": ["copilot/MAI-Code*", "copilot/mai-code*", "openai/MAI-Code*"], | |||
| "kimi": ["copilot/kimi*", "openai/kimi*"], | |||
| "kiwi": ["copilot/kiwi*", "openai/kiwi*"], | |||
This was referenced Jul 3, 2026
Contributor
|
🎉 This pull request is included in a new release. Release: |
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.
Ten copilot-engine workflows with
model: smallsub-agents are migrated to two newer model aliases: 5 tokiwiand 5 tomai-code.Model alias
Added
kiwitopkg/workflow/data/model_aliases.json, following the same pattern askimi:Workflow sub-agent changes
→
model: kiwi(7 sub-agent blocks across 5 workflows)architecture-guardian,dead-code-remover,linter-miner,contribution-check,daily-malicious-code-scan→
model: mai-code(13 sub-agent blocks across 5 workflows)agent-performance-analyzer,cli-consistency-checker,daily-agent-of-the-day-blog-writer,dependabot-burner,qAll
.lock.ymlfiles recompiled; wasm golden fixtures updated.