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

Preset system: Add hook system for post-install automation

Open mbachorik opened this issue 8 months ago • 2 comments

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

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]