feat(workflow): implement diverge-converge workflow with commits and milestones#1
Merged
Conversation
- Correct conceptual model: tasks accumulate INTO commits (not the reverse) - Add convergent phases: /speckit.commits and /speckit.milestones - Milestones are verification checkpoints requiring human review - Update README with ASCII diagram showing diverge-converge flow - Clarify repetitive vs non-repetitive tasks within commits
- Add Principle VII: Test-Driven Development (TDD) with Red-Green-Refactor workflow - Add Commit Authorship Policy: AI assistants must not be added as co-authors - Enhanced CI/CD Enforcement: make check MUST pass before any commit - Document TDD workflow by language (Python/pytest, Bash/bats, PowerShell/Pester) - Updated Code Review Checklist to verify TDD was followed - Fix markdown linting errors in README and spec
…gent docs - FR-009: /speckit.implement MUST load tasks.md, commits.md, and milestones.md - FR-013: Validation that all three documents exist before starting - Updated User Story 4 with 7 acceptance scenarios including doc loading - Added edge cases for missing docs and orphaned tasks
…e-converge workflow - plan.md: Technical context, constitution check, project structure - research.md: Design decisions for task grouping, constitution parsing, milestones - data-model.md: Entity definitions (Task, Commit, Milestone, RepetitiveTask) - contracts/: File format specifications for commits.md and milestones.md - quickstart.md: Integration test scenarios for new commands - tasks.md: 47 tasks organized by 5 user stories (TDD approach) - CLAUDE.md: Agent context with development commands Feature: 001-commit-based-tasks
…milestones Add complete implementation of the diverge-converge workflow: - Add /speckit.commits command to group tasks into logical commits with constitution-driven repetitive tasks (TDD, linting, verification) - Add /speckit.milestones command to create verification checkpoints with acceptance criteria extracted from spec.md - Enhance /speckit.implement with commit-by-commit execution, milestone pause points, and progress visualization - Add parse-constitution.sh to extract quality requirements from constitution - Add commits/milestones flags to check-prerequisites.sh (bash + PowerShell) - Create command and output templates for new workflow - Add comprehensive bats tests (78 tests total) - Update all documentation to reflect 8-step workflow - Fix CI test stability by setting SPECIFY_FEATURE env var
ec8fbde to
c67bcab
Compare
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
/speckit.commitscommand - Groups tasks into logical commits with constitution-driven repetitive tasks (TDD-RED, TDD-GREEN, TDD-REFACTOR, LINT, VERIFY)/speckit.milestonescommand - Creates verification checkpoints by grouping commits into milestones with acceptance criteria from spec.md/speckit.implement- Now supports commit-by-commit execution, milestone pause points for human verification, and ASCII progress visualization--require-commits,--include-commits,--require-milestones,--include-milestonesTest plan
make check- All 78 bash tests and 31 Python tests pass🤖 Generated with Claude Code