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

Extension system: Add extension filtering for ext-specific commands

Open mbachorik opened this issue 8 months ago • 2 comments

Summary

Only register extension-specific commands if the target extension is actually installed, preventing orphaned commands.

Context

Presets intelligently filter command overrides (presets.py:391-402) - only register extension-specific commands (pattern: speckit.<ext-id>.<cmd-name>) if the extension is actually installed.

Extensions don't implement this filtering - if an extension provides commands, they're all registered regardless of dependencies.

Requirements

  • Detect extension-specific command patterns in manifest
  • Check if target extension is installed before registering
  • Skip orphaned commands with warning
  • Re-evaluate on extension install/remove

Related

  • 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]