spec-kit
spec-kit copied to clipboard
Preset system: Add hook system for post-install automation
Summary
Port the hook system from extensions to presets, enabling post-install automation and preset composition.
Context
Extensions have a sophisticated hook system (extensions.py:1509-1884):
- Event-based hooks (
after_spec,after_tasks, etc.) - Conditional hook execution
- Config-based hook conditions
- Hook lifecycle management
Presets have no hook support.
Requirements
- Define relevant hook events for presets (e.g.,
after_install,after_resolve) - Port HookExecutor pattern to PresetManager
- Add hooks section to preset manifest
- Implement hook registration/execution lifecycle
Related
- Reverse parity: extensions → presets
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.
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.