Skip to content

Feature: Add Task Prioritization Levels #7

Description

@Sapna700

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions