Hierarchical Task Numbering System
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
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
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.
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.