fix(copilot): resolve active spec template by WOLIKIMCHENG · Pull Request #2765 · github/spec-kit (original) (raw)
Description
Fixes #2761.
This updates the Copilot speckit.specify command instructions so generated agents resolve the active spec-template through the Spec Kit preset/template resolution stack instead of hardcoding the core template path. This lets project overrides, presets, and extensions supply the effective spec template for new specs.
Testing
- Tested locally with
uv run --no-sync specify --help - Ran existing tests with
uv run --no-sync pytest -q(3104 passed, 40 skipped) - Ran focused Copilot integration tests with
uv run --no-sync pytest tests/integrations/test_integration_copilot.py -q(47 passed) - Ran
uvx ruff check src/ - Ran
python -m compileall -q src tests/integrations/test_integration_copilot.py - Ran
git diff --check -- templates/commands/specify.md tests/integrations/test_integration_copilot.py - Tested with a sample project (not applicable; covered by Copilot integration generation test)