feat(spec): comprehensive spec-driven workflow with 44 features - #179
Merged
Conversation
…ed hooks Add Proposal and Design stages to the spec workflow so Specify and Design can run in parallel after Proposal, then converge for Plan → Tasks → Implementing. Implement command hook loading from .md frontmatter, fsnotify bridge for file_changed events, and real built-in hook implementations.
…ion detection Phase 1: Constitution enforced as prerequisite before Specify/Design. Phase gates (Simplicity, Anti-Abstraction, Integration-First) checked at Plan. Constitution injected into system prompt at all spec stages. Phase 2: EARS notation validation (The system shall, WHEN...THEN, SHALL NOT). REQ-XXX.Y.Z requirement IDs with extraction from spec and code. Orphan REQ detection (code cites REQ not in spec = hallucination). Missing REQ detection (REQ in spec not in code = gap). Phase 3: NEEDS CLARIFICATION enforcement (max 3, blocks Plan if unresolved). Phase 4: Hallucination detection via inline citations. ScanCodeForReqIDs scans source files for [REQ-XXX] comments. FindOrphanReqIDs and FindMissingReqIDs in spec validator. Phase 5: Task dependency analysis and parallel group identification. ParseTasks extracts file refs, REQ IDs, and dependencies. AnalyzeTaskGroups identifies parallel-safe vs sequential tasks. Phase 6: Auto convergence with REQ coverage checks. ConvergeTool now detects orphan and missing REQs. Phase 7: Enhanced file-watcher with source/test file detection.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements a comprehensive spec-driven development workflow — the most complete of any open-source AI coding agent, based on deep research of GitHub Spec Kit (121K★), Spec-Driven Develop (953★), BMAD-METHOD (51K★), Tessl, OpenSpec, and traceSDD research.
What's New (39 features)
Workflow Phases
Traceability & Quality
Architecture & Design
Execution & Review
Hooks & Automation
Test Results
Research Sources