Conversation
- Configuration loader for .speckit/approval-gates.yaml - CLI command: specify approval - Unit tests and YAML template - Enables approval enforcement between workflow phases
mnriem
left a comment
There was a problem hiding this comment.
Can you instead of integrating it into the CLi create a Spec Kit extension for it? See https://github.com/github/spec-kit/tree/main/extensions
Add Approval Gates extension to enforce approval requirements between spec-driven development phases. Features: - Command: /speckit.approval-gates.status - display gate configuration - Configuration: per-phase approval requirements (roles, min approvals) - Hook integration: after_tasks phase with optional prompt - Config template: approval-gates-config.template.yml for customization Extension includes: - extension.yml manifest with command and config definitions - commands/status.md with Markdown-based implementation - approval-gates-config.template.yml for project customization - README.md with installation and configuration guide - CHANGELOG.md with version history
2158b4f to
fc8cfa2
Compare
Add default configuration values to extension.yml to align with extension development guidelines.
ea25e6c to
83d706f
Compare
Done! Refactored to follow Spec Kit extension architecture: ✅ Extension created: extensions/approval-gates/ Command: /speckit.approval-gates.status Ready for review! |
feat(extensions): add approval-gates extension
Summary
Add Approval Gates extension to enforce approval requirements between spec-driven development phases.
Overview
Approval Gates is a Spec Kit extension that enforces approval requirements at specific phases of the spec-driven development workflow. Teams can configure which phases require approval before proceeding to the next phase.
Features
/speckit.approval-gates.status— Display current approval gates configuration/speckit.tasksto check approval gatesConfiguration
Teams customize approval gates in
.specify/extensions/approval-gates/approval-gates-config.yml:Installation
Usage
Display approval gates status:
> /speckit.approval-gates.statusFiles Added
extensions/approval-gates/extension.yml— Extension manifestextensions/approval-gates/commands/status.md— Status command implementationextensions/approval-gates/approval-gates-config.template.yml— Configuration templateextensions/approval-gates/README.md— Documentationextensions/approval-gates/CHANGELOG.md— Version historyextensions/approval-gates/LICENSE— MIT LicenseAlignment
This extension aligns with Spec Kit's extension architecture, enabling teams to add functionality without modifying the core CLI. Approval Gates can be installed optionally by teams that require workflow governance.