-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Feature Request: Automatic Task Completion Tracking
Is your feature request related to a problem?
Yes. Currently, when using spec-kit to execute tasks from tasks.md
, there's no automatic way to mark tasks as completed. Users must manually update markdown checkboxes from - [ ]
to - [x]
after completing tasks, which creates friction and leads to inconsistent tracking.
Current Manual Workflow:
# Before execution
- [ ] T009 [P] Contract test POST /api/v1/auth/otp/request in tests/Feature/Auth/OtpRequestTest.php
# After execution (manual update required)
- [x] T009 [P] Contract test POST /api/v1/auth/otp/request in tests/Feature/Auth/OtpRequestTest.php
Describe the solution you'd like
Add automatic task completion tracking that integrates with existing spec-kit scripts:
-
Enhanced Task Execution Scripts
./scripts/execute-task.sh T009 # Should automatically mark T009 as complete in tasks.md
-
New Task Management Utilities
./scripts/mark-task-complete.sh T009 ./scripts/get-task-status.sh T009 ./scripts/list-completed-tasks.sh
-
Optional Metadata Enhancement
- [x] T009 [P] Contract test POST /api/v1/auth/otp/request <!-- COMPLETED: 2025-09-11T14:30:00Z -->
-
Configuration Options
# .spec-kit.yml task_tracking: auto_complete: true include_metadata: true include_timestamps: true
Benefits:
- ✅ Seamless workflow integration
- 📊 Real-time progress tracking
- 🤖 Better AI agent coordination
- 👥 Improved team collaboration
- 📈 Automatic progress reporting
Use Case Example:
# AI agent or developer executes multiple tasks
./scripts/execute-tasks.sh T009-T026
# ✅ All 18 tasks automatically marked complete
# 📊 Progress: 26/79 tasks completed (33%)
Technical Requirements:
- Backwards compatible with existing tasks.md format
- Atomic updates for concurrent task execution
- Cross-platform support (macOS, Linux, Windows)
- Integration with existing spec-kit script infrastructure
Real-World Context:
I'm actively using spec-kit for a Laravel MVP project and have completed 26 tasks (T009-T034). Manual task marking has been time-consuming and error-prone. This feature would significantly improve the development experience.
Additional context
This feature would be especially valuable for:
- Large projects with 50+ tasks
- Teams using AI agents for task execution
- Projects requiring accurate progress tracking
- CI/CD integration scenarios
The implementation should leverage spec-kit's existing script infrastructure and maintain the simplicity of markdown-based task management while adding automation capabilities.