Skip to content

Hierarchical Task Numbering System #1497

Description

@Vamshi-Bantaram

When LLMs add new tasks to tasks.md, they must renumber all subsequent tasks in the entire file. This is inefficient:

  • High token consumption: Adding 1 task at position 10 in a 50-task file requires renumbering 40+ tasks (2000+ tokens)
  • Slow and error-prone: Sequential numbering (T001, T002, T003...) forces cascading renumbering
  • Maintenance overhead: Updates require changing references throughout the document

Proposed Solution

Use hierarchical task numbering (e.g., T1.1, T1.2, T1.3) grouped by phase/story. Adding a task only requires renumbering within the same parent group.

Format Example

Current (Sequential):

- [ ] T001 Install uv
- [ ] T002 Initialize project
- [ ] T003 Add pytest
- [ ] T004 Create tests directory
- [ ] T005 Create schema parser  ← Adding here requires T005-T043 renumbering

Proposed (Hierarchical):

## Phase 1: Setup
- [ ] T1.1 Install uv
- [ ] T1.2 Initialize project
- [ ] T1.3 Add pytest
- [ ] T1.4 Create tests directory

## Phase 2: Foundational
- [ ] T2.1 Create schema parser  ← Adding T2.1.1 only affects T2.1.x tasks

Adding a new task:

## Phase 1: Setup
- [ ] T1.1 Install uv
- [ ] T1.2 Initialize project
- [ ] T1.2.1 [NEW] Verify Python version  ← Only T1.3+ need renumbering
- [ ] T1.3 Add pytest  ← Renumbered from T1.3

Activity

  1. marked <!-- REVIEW_COMMENT --> #1498 as a duplicate of this issue on Jan 20, 2026
  2. miszczu-drako commented on Jan 28, 2026

    @miszczu-drako

    yup, that would be great.
    Today I asked LLM to remove 3 tasks, and it got really messy, because summaries at the bottom of the tasks.md were hard to update
    Let's say initially there were tasks T001-T100, and I asked to remove T61, T71 and T82.
    Renumbering of the existing tasks was done more or less correctly, but summaries were not

    ### By Type:
    - Configuration: 2 tasks (T001-T002)
    - Foundation: 6 tasks (T003-T008)
    - Test Tasks: 18 tasks (T009-T021, T036-T039, T046-T049)
    - Implementation: 16 tasks (T022-T028, T040-T042, T050-T054) - added cache metrics task
    - Verification: 17 tasks (T029-T035, T043-T045, T055-T058)
    - Documentation/Polish: 11 tasks (T059-T069) - added user documentation task

    it became out of order and hard to fix

  3. github-actions commented on Jun 28, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had any activity for 150 days. It will be closed in 30 days if no further activity occurs.

  4. github-actions commented on Jul 29, 2026

    @github-actions
    Contributor

    This issue has been automatically closed due to inactivity (180 days total). If you believe this issue is still relevant, please reopen it or create a new issue.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions