1.1 KiB
1.1 KiB
Cancel a task permanently.
Arguments: $ARGUMENTS (task ID)
Cancelling a Task
This status indicates a task is no longer needed and won't be completed.
Valid Reasons for Cancellation
- Requirements changed
- Feature deprecated
- Duplicate of another task
- Strategic pivot
- Technical approach invalidated
Pre-Cancellation Checks
- Confirm no critical dependencies
- Check for partial implementation
- Verify cancellation rationale
- Document lessons learned
Execution
task-master set-status --id=$ARGUMENTS --status=cancelled
Cancellation Impact
When cancelling:
-
Dependency Updates
- Notify dependent tasks
- Update project scope
- Recalculate timelines
-
Clean-up Actions
- Remove related branches
- Archive any work done
- Update documentation
- Close related issues
-
Learning Capture
- Document why cancelled
- Note what was learned
- Update estimation models
- Prevent future duplicates
Historical Preservation
- Keep for reference
- Tag with cancellation reason
- Link to replacement if any
- Maintain audit trail