chore: sync issue template agent lists#3052
Open
WOLIKIMCHENG wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Synchronizes the GitHub issue template “AI agent” selection lists with the concrete built-in integrations defined by AGENT_CONFIG (excluding generic), and adds a regression test to catch future drift between the runtime registry and the issue templates.
Changes:
- Expanded/updated agent options in the bug report and feature request issue templates.
- Updated the agent request template’s “Currently supported agents” list to match the built-in registry.
- Added a consistency test that asserts issue-template agent lists match
AGENT_CONFIG(excludinggeneric).
Show a summary per file
| File | Description |
|---|---|
tests/test_agent_config_consistency.py |
Adds YAML-based assertions to ensure issue template agent lists stay in sync with AGENT_CONFIG (excluding generic). |
.github/ISSUE_TEMPLATE/feature_request.yml |
Updates the “AI Agent (if applicable)” dropdown options to the current supported agent set/order. |
.github/ISSUE_TEMPLATE/bug_report.yml |
Updates the “AI Agent” dropdown options to the current supported agent set/order. |
.github/ISSUE_TEMPLATE/agent_request.yml |
Updates the “Currently supported agents” markdown list to the current supported agent set/order. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 4/4 changed files
- Comments generated: 2
|
|
||
|
|
||
| class TestAgentConfigConsistency: | ||
| """Ensure kiro-cli migration stays synchronized across key surfaces.""" |
Comment on lines
+96
to
+104
| agent_request = _issue_template( | ||
| ".github/ISSUE_TEMPLATE/agent_request.yml" | ||
| ) | ||
| supported_agents_text = agent_request["body"][0]["attributes"]["value"] | ||
| assert ( | ||
| f"**Currently supported agents**: " | ||
| f"{', '.join(ISSUE_TEMPLATE_AGENT_NAMES)}" | ||
| in supported_agents_text | ||
| ) |
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.
Description
Sync the agent selection options in the issue templates with the concrete built-in agent registry, excluding
generic.Add a consistency test so future registry changes fail if the issue template agent lists drift.
Testing
UV_CACHE_DIR=/tmp/spec-kit-uv-cache uv run --no-sync pytest tests/test_agent_config_consistency.py -qgit diff --check origin/main...HEADpython -m py_compile tests/test_agent_config_consistency.py