spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

Extension system: Add template resolution system

Open mbachorik opened this issue 8 months ago • 2 comments

Summary

Create an ExtensionResolver class similar to PresetResolver, making extension templates discoverable and resolvable alongside preset templates.

Context

The preset system has a 4-tier resolution stack (presets.py:1374-1530):

  1. Project-local overrides
  2. Installed presets (by priority)
  3. Extension-provided templates
  4. Core templates

Extensions are already integrated at line 1449, but have no standalone resolver or resolve_with_source() capability.

Requirements

  • Create ExtensionResolver class mirroring PresetResolver
  • Implement resolution with extension templates included
  • Add source attribution via resolve_with_source()
  • Support template listing and discovery

Related

  • Depends on: priority-based resolution
  • Part of extension system parity with preset system

mbachorik avatar Mar 14 '26 14:03 mbachorik

This issue has been automatically marked as stale because it has not had any activity for 150 days. It will be closed in 30 days if no further activity occurs.

github-actions[bot] avatar Aug 12 '26 00:08 github-actions[bot]

This issue has been automatically closed due to inactivity (90 days total). If you believe this issue is still relevant, please reopen it or create a new issue.

github-actions[bot] avatar Sep 12 '26 00:09 github-actions[bot]