Skip to content

chore: sync issue template agent lists#3052

Open
WOLIKIMCHENG wants to merge 1 commit into
github:mainfrom
WOLIKIMCHENG:chore/sync-issue-template-agents
Open

chore: sync issue template agent lists#3052
WOLIKIMCHENG wants to merge 1 commit into
github:mainfrom
WOLIKIMCHENG:chore/sync-issue-template-agents

Conversation

@WOLIKIMCHENG

Copy link
Copy Markdown
Contributor

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 -q
  • git diff --check origin/main...HEAD
  • python -m py_compile tests/test_agent_config_consistency.py
  • Read-only YAML/registry consistency check for the three issue templates

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.

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 (excluding generic).
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
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants