Skip to content

Extension system: Add extension filtering for ext-specific commands #1848

Description

@mbachorik

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions