Description
Add the ability to assign priority levels to tasks so users can organize and focus on the most important tasks first.
Goals
- Add priority levels: High, Medium, Low
- Display priority in task list
- Sort tasks by priority
- Update AI to consider priorities in suggestions
Implementation Details
- Modify
TaskPilot class to support task metadata
- Update task storage structure:
{
"title": "Buy groceries",
"priority": "high",
"completed": false
}
- Add CLI commands:
add <task> --priority high
priority <task_number> <level>
sort - Sort by priority
Acceptance Criteria
- ✅ Tasks can be assigned priority levels (High/Medium/Low)
- ✅ Priority displays in task list
- ✅ Tasks can be sorted by priority
- ✅ Unit tests added
- ✅ Documentation updated
Example Usage
You: add Buy groceries --priority high
Task added: Buy groceries (Priority: High)
You: tasks
1. [HIGH] Buy groceries
2. [MEDIUM] Review pull requests
Related Issues
Part of TaskPilot-AI roadmap
Description
Add the ability to assign priority levels to tasks so users can organize and focus on the most important tasks first.
Goals
Implementation Details
TaskPilotclass to support task metadata{ "title": "Buy groceries", "priority": "high", "completed": false }add <task> --priority highpriority <task_number> <level>sort- Sort by priorityAcceptance Criteria
Example Usage
Related Issues
Part of TaskPilot-AI roadmap