telos-framework 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/behavioral-transformation-agent.md +144 -0
- package/.claude/agents/command-system-agent.md +335 -0
- package/.claude/agents/completion-gate.md +71 -0
- package/.claude/agents/component-implementation-agent.md +174 -0
- package/.claude/agents/devops-agent.md +128 -0
- package/.claude/agents/dynamic-agent-creator.md +103 -0
- package/.claude/agents/enhanced-project-manager-agent.md +145 -0
- package/.claude/agents/enhanced-quality-gate.md +54 -0
- package/.claude/agents/feature-implementation-agent.md +148 -0
- package/.claude/agents/functional-testing-agent.md +51 -0
- package/.claude/agents/hook-integration-agent.md +204 -0
- package/.claude/agents/infrastructure-implementation-agent.md +175 -0
- package/.claude/agents/lib/research-analyzer.js +470 -0
- package/.claude/agents/metrics-collection-agent.md +374 -0
- package/.claude/agents/npx-package-agent.md +246 -0
- package/.claude/agents/polish-implementation-agent.md +151 -0
- package/.claude/agents/prd-agent.md +76 -0
- package/.claude/agents/prd-mvp.md +101 -0
- package/.claude/agents/prd-research-agent.md +482 -0
- package/.claude/agents/quality-agent.md +128 -0
- package/.claude/agents/readiness-gate.md +104 -0
- package/.claude/agents/research-agent.md +173 -0
- package/.claude/agents/routing-agent.md +108 -0
- package/.claude/agents/task-checker.md +163 -0
- package/.claude/agents/task-executor.md +107 -0
- package/.claude/agents/task-orchestrator.md +343 -0
- package/.claude/agents/tdd-validation-agent.md +187 -0
- package/.claude/agents/testing-implementation-agent.md +151 -0
- package/.claude/agents/van-maintenance-agent.md +64 -0
- package/.claude/agents/workflow-agent.md +87 -0
- package/.claude/commands/autocompact.md +41 -0
- package/.claude/commands/continue-handoff.md +98 -0
- package/.claude/commands/mock.md +45 -0
- package/.claude/commands/reset-handoff.md +59 -0
- package/.claude/commands/telos/init.md +326 -0
- package/.claude/commands/telos/quick.md +90 -0
- package/.claude/commands/telos/reset.md +100 -0
- package/.claude/commands/telos/status.md +170 -0
- package/.claude/commands/telos/validate.md +143 -0
- package/.claude/commands/tm/add-dependency/add-dependency.md +55 -0
- package/.claude/commands/tm/add-subtask/add-subtask.md +76 -0
- package/.claude/commands/tm/add-subtask/convert-task-to-subtask.md +71 -0
- package/.claude/commands/tm/add-task/add-task.md +78 -0
- package/.claude/commands/tm/analyze-complexity/analyze-complexity.md +121 -0
- package/.claude/commands/tm/clear-subtasks/clear-all-subtasks.md +93 -0
- package/.claude/commands/tm/clear-subtasks/clear-subtasks.md +86 -0
- package/.claude/commands/tm/complexity-report/complexity-report.md +117 -0
- package/.claude/commands/tm/expand/expand-all-tasks.md +51 -0
- package/.claude/commands/tm/expand/expand-task.md +49 -0
- package/.claude/commands/tm/fix-dependencies/fix-dependencies.md +81 -0
- package/.claude/commands/tm/generate/generate-tasks.md +121 -0
- package/.claude/commands/tm/help.md +81 -0
- package/.claude/commands/tm/init/init-project-quick.md +46 -0
- package/.claude/commands/tm/init/init-project.md +50 -0
- package/.claude/commands/tm/learn.md +103 -0
- package/.claude/commands/tm/list/list-tasks-by-status.md +39 -0
- package/.claude/commands/tm/list/list-tasks-with-subtasks.md +29 -0
- package/.claude/commands/tm/list/list-tasks.md +43 -0
- package/.claude/commands/tm/models/setup-models.md +51 -0
- package/.claude/commands/tm/models/view-models.md +51 -0
- package/.claude/commands/tm/next/next-task.md +66 -0
- package/.claude/commands/tm/parse-prd/parse-prd-with-research.md +48 -0
- package/.claude/commands/tm/parse-prd/parse-prd.md +49 -0
- package/.claude/commands/tm/remove-dependency/remove-dependency.md +62 -0
- package/.claude/commands/tm/remove-subtask/remove-subtask.md +84 -0
- package/.claude/commands/tm/remove-task/remove-task.md +107 -0
- package/.claude/commands/tm/set-status/to-cancelled.md +55 -0
- package/.claude/commands/tm/set-status/to-deferred.md +47 -0
- package/.claude/commands/tm/set-status/to-done.md +44 -0
- package/.claude/commands/tm/set-status/to-in-progress.md +36 -0
- package/.claude/commands/tm/set-status/to-pending.md +32 -0
- package/.claude/commands/tm/set-status/to-review.md +40 -0
- package/.claude/commands/tm/setup/install-taskmaster.md +117 -0
- package/.claude/commands/tm/setup/quick-install-taskmaster.md +22 -0
- package/.claude/commands/tm/show/show-task.md +82 -0
- package/.claude/commands/tm/status/project-status.md +64 -0
- package/.claude/commands/tm/sync-readme/sync-readme.md +117 -0
- package/.claude/commands/tm/tm-main.md +146 -0
- package/.claude/commands/tm/update/update-single-task.md +119 -0
- package/.claude/commands/tm/update/update-task.md +72 -0
- package/.claude/commands/tm/update/update-tasks-from-id.md +108 -0
- package/.claude/commands/tm/utils/analyze-project.md +97 -0
- package/.claude/commands/tm/validate-dependencies/validate-dependencies.md +71 -0
- package/.claude/commands/tm/workflows/auto-implement-tasks.md +97 -0
- package/.claude/commands/tm/workflows/command-pipeline.md +77 -0
- package/.claude/commands/tm/workflows/smart-workflow.md +55 -0
- package/.claude/commands/van.md +150 -0
- package/.claude/docs/README.md +214 -0
- package/.claude/docs/TROUBLESHOOTING.md +126 -0
- package/.claude/hooks/block-destructive-commands.sh +243 -0
- package/.claude/hooks/collective-metrics.sh +291 -0
- package/.claude/hooks/directive-enforcer.sh +117 -0
- package/.claude/hooks/load-behavioral-system.sh +49 -0
- package/.claude/hooks/routing-executor.sh +4 -0
- package/.claude/hooks/test-driven-handoff.sh +653 -0
- package/.claude/settings.json +125 -0
- package/README.md +39 -15
- package/lib/commands/init.js +52 -157
- package/lib/installers/memory-files.js +77 -0
- package/lib/installers/slash-commands.js +77 -0
- package/package.json +7 -2
- package/templates/AGENTS.md +79 -0
- package/templates/CLAUDE.md +54 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Clear all subtasks from all tasks globally.
|
|
2
|
+
|
|
3
|
+
## Global Subtask Clearing
|
|
4
|
+
|
|
5
|
+
Remove all subtasks across the entire project. Use with extreme caution.
|
|
6
|
+
|
|
7
|
+
## Execution
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
task-master clear-subtasks --all
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Pre-Clear Analysis
|
|
14
|
+
|
|
15
|
+
1. **Project-Wide Summary**
|
|
16
|
+
```
|
|
17
|
+
Global Subtask Summary
|
|
18
|
+
━━━━━━━━━━━━━━━━━━━━
|
|
19
|
+
Total parent tasks: 12
|
|
20
|
+
Total subtasks: 47
|
|
21
|
+
- Completed: 15
|
|
22
|
+
- In-progress: 8
|
|
23
|
+
- Pending: 24
|
|
24
|
+
|
|
25
|
+
Work at risk: ~120 hours
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
2. **Critical Warnings**
|
|
29
|
+
- In-progress subtasks that will lose work
|
|
30
|
+
- Completed subtasks with valuable history
|
|
31
|
+
- Complex dependency chains
|
|
32
|
+
- Integration test results
|
|
33
|
+
|
|
34
|
+
## Double Confirmation
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
⚠️ DESTRUCTIVE OPERATION WARNING ⚠️
|
|
38
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
39
|
+
This will remove ALL 47 subtasks from your project
|
|
40
|
+
Including 8 in-progress and 15 completed subtasks
|
|
41
|
+
|
|
42
|
+
This action CANNOT be undone
|
|
43
|
+
|
|
44
|
+
Type 'CLEAR ALL SUBTASKS' to confirm:
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Smart Safeguards
|
|
48
|
+
|
|
49
|
+
- Require explicit confirmation phrase
|
|
50
|
+
- Create automatic backup
|
|
51
|
+
- Log all removed data
|
|
52
|
+
- Option to export first
|
|
53
|
+
|
|
54
|
+
## Use Cases
|
|
55
|
+
|
|
56
|
+
Valid reasons for global clear:
|
|
57
|
+
- Project restructuring
|
|
58
|
+
- Major pivot in approach
|
|
59
|
+
- Starting fresh breakdown
|
|
60
|
+
- Switching to different task organization
|
|
61
|
+
|
|
62
|
+
## Process
|
|
63
|
+
|
|
64
|
+
1. Full project analysis
|
|
65
|
+
2. Create backup file
|
|
66
|
+
3. Show detailed impact
|
|
67
|
+
4. Require confirmation
|
|
68
|
+
5. Execute removal
|
|
69
|
+
6. Generate summary report
|
|
70
|
+
|
|
71
|
+
## Alternative Suggestions
|
|
72
|
+
|
|
73
|
+
Before clearing all:
|
|
74
|
+
- Export subtasks to file
|
|
75
|
+
- Clear only pending subtasks
|
|
76
|
+
- Clear by task category
|
|
77
|
+
- Archive instead of delete
|
|
78
|
+
|
|
79
|
+
## Post-Clear Report
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
Global Subtask Clear Complete
|
|
83
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
84
|
+
Removed: 47 subtasks from 12 tasks
|
|
85
|
+
Backup saved: .taskmaster/backup/subtasks-20240115.json
|
|
86
|
+
Parent tasks updated: 12
|
|
87
|
+
Time estimates adjusted: Yes
|
|
88
|
+
|
|
89
|
+
Next steps:
|
|
90
|
+
- Review updated task list
|
|
91
|
+
- Re-expand complex tasks as needed
|
|
92
|
+
- Check project timeline
|
|
93
|
+
```
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
Clear all subtasks from a specific task.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS (task ID)
|
|
4
|
+
|
|
5
|
+
Remove all subtasks from a parent task at once.
|
|
6
|
+
|
|
7
|
+
## Clearing Subtasks
|
|
8
|
+
|
|
9
|
+
Bulk removal of all subtasks from a parent task.
|
|
10
|
+
|
|
11
|
+
## Execution
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
task-master clear-subtasks --id=<task-id>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Pre-Clear Analysis
|
|
18
|
+
|
|
19
|
+
1. **Subtask Summary**
|
|
20
|
+
- Number of subtasks
|
|
21
|
+
- Completion status of each
|
|
22
|
+
- Work already done
|
|
23
|
+
- Dependencies affected
|
|
24
|
+
|
|
25
|
+
2. **Impact Assessment**
|
|
26
|
+
- Data that will be lost
|
|
27
|
+
- Dependencies to be removed
|
|
28
|
+
- Effect on project timeline
|
|
29
|
+
- Parent task implications
|
|
30
|
+
|
|
31
|
+
## Confirmation Required
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
Clear Subtasks Confirmation
|
|
35
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
36
|
+
Parent Task: #5 "Implement user authentication"
|
|
37
|
+
Subtasks to remove: 4
|
|
38
|
+
- #5.1 "Setup auth framework" (done)
|
|
39
|
+
- #5.2 "Create login form" (in-progress)
|
|
40
|
+
- #5.3 "Add validation" (pending)
|
|
41
|
+
- #5.4 "Write tests" (pending)
|
|
42
|
+
|
|
43
|
+
⚠️ This will permanently delete all subtask data
|
|
44
|
+
Continue? (y/n)
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Smart Features
|
|
48
|
+
|
|
49
|
+
- Option to convert to standalone tasks
|
|
50
|
+
- Backup task data before clearing
|
|
51
|
+
- Preserve completed work history
|
|
52
|
+
- Update parent task appropriately
|
|
53
|
+
|
|
54
|
+
## Process
|
|
55
|
+
|
|
56
|
+
1. List all subtasks for confirmation
|
|
57
|
+
2. Check for in-progress work
|
|
58
|
+
3. Remove all subtasks
|
|
59
|
+
4. Update parent task
|
|
60
|
+
5. Clean up dependencies
|
|
61
|
+
|
|
62
|
+
## Alternative Options
|
|
63
|
+
|
|
64
|
+
Suggest alternatives:
|
|
65
|
+
- Convert important subtasks to tasks
|
|
66
|
+
- Keep completed subtasks
|
|
67
|
+
- Archive instead of delete
|
|
68
|
+
- Export subtask data first
|
|
69
|
+
|
|
70
|
+
## Post-Clear
|
|
71
|
+
|
|
72
|
+
- Show updated parent task
|
|
73
|
+
- Recalculate time estimates
|
|
74
|
+
- Update task complexity
|
|
75
|
+
- Suggest next steps
|
|
76
|
+
|
|
77
|
+
## Example
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
/project:tm/clear-subtasks 5
|
|
81
|
+
→ Found 4 subtasks to remove
|
|
82
|
+
→ Warning: Subtask #5.2 is in-progress
|
|
83
|
+
→ Cleared all subtasks from task #5
|
|
84
|
+
→ Updated parent task estimates
|
|
85
|
+
→ Suggestion: Consider re-expanding with better breakdown
|
|
86
|
+
```
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
Display the task complexity analysis report.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
View the detailed complexity analysis generated by analyze-complexity command.
|
|
6
|
+
|
|
7
|
+
## Viewing Complexity Report
|
|
8
|
+
|
|
9
|
+
Shows comprehensive task complexity analysis with actionable insights.
|
|
10
|
+
|
|
11
|
+
## Execution
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
task-master complexity-report [--file=<path>]
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Report Location
|
|
18
|
+
|
|
19
|
+
Default: `.taskmaster/reports/complexity-analysis.md`
|
|
20
|
+
Custom: Specify with --file parameter
|
|
21
|
+
|
|
22
|
+
## Report Contents
|
|
23
|
+
|
|
24
|
+
### 1. **Executive Summary**
|
|
25
|
+
```
|
|
26
|
+
Complexity Analysis Summary
|
|
27
|
+
━━━━━━━━━━━━━━━━━━━━━━━━
|
|
28
|
+
Analysis Date: 2024-01-15
|
|
29
|
+
Tasks Analyzed: 32
|
|
30
|
+
High Complexity: 5 (16%)
|
|
31
|
+
Medium Complexity: 12 (37%)
|
|
32
|
+
Low Complexity: 15 (47%)
|
|
33
|
+
|
|
34
|
+
Critical Findings:
|
|
35
|
+
- 5 tasks need immediate expansion
|
|
36
|
+
- 3 tasks have high technical risk
|
|
37
|
+
- 2 tasks block critical path
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### 2. **Detailed Task Analysis**
|
|
41
|
+
For each complex task:
|
|
42
|
+
- Complexity score breakdown
|
|
43
|
+
- Contributing factors
|
|
44
|
+
- Specific risks identified
|
|
45
|
+
- Expansion recommendations
|
|
46
|
+
- Similar completed tasks
|
|
47
|
+
|
|
48
|
+
### 3. **Risk Matrix**
|
|
49
|
+
Visual representation:
|
|
50
|
+
```
|
|
51
|
+
Risk vs Complexity Matrix
|
|
52
|
+
━━━━━━━━━━━━━━━━━━━━━━━
|
|
53
|
+
High Risk | #5(9) #12(8) | #23(6)
|
|
54
|
+
Med Risk | #34(7) | #45(5) #67(5)
|
|
55
|
+
Low Risk | #78(8) | [15 tasks]
|
|
56
|
+
| High Complex | Med Complex
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### 4. **Recommendations**
|
|
60
|
+
|
|
61
|
+
**Immediate Actions:**
|
|
62
|
+
1. Expand task #5 - Critical path + high complexity
|
|
63
|
+
2. Expand task #12 - High risk + dependencies
|
|
64
|
+
3. Review task #34 - Consider splitting
|
|
65
|
+
|
|
66
|
+
**Sprint Planning:**
|
|
67
|
+
- Don't schedule multiple high-complexity tasks together
|
|
68
|
+
- Ensure expertise available for complex tasks
|
|
69
|
+
- Build in buffer time for unknowns
|
|
70
|
+
|
|
71
|
+
## Interactive Features
|
|
72
|
+
|
|
73
|
+
When viewing report:
|
|
74
|
+
1. **Quick Actions**
|
|
75
|
+
- Press 'e' to expand a task
|
|
76
|
+
- Press 'd' for task details
|
|
77
|
+
- Press 'r' to refresh analysis
|
|
78
|
+
|
|
79
|
+
2. **Filtering**
|
|
80
|
+
- View by complexity level
|
|
81
|
+
- Filter by risk factors
|
|
82
|
+
- Show only actionable items
|
|
83
|
+
|
|
84
|
+
3. **Export Options**
|
|
85
|
+
- Markdown format
|
|
86
|
+
- CSV for spreadsheets
|
|
87
|
+
- JSON for tools
|
|
88
|
+
|
|
89
|
+
## Report Intelligence
|
|
90
|
+
|
|
91
|
+
- Compares with historical data
|
|
92
|
+
- Shows complexity trends
|
|
93
|
+
- Identifies patterns
|
|
94
|
+
- Suggests process improvements
|
|
95
|
+
|
|
96
|
+
## Integration
|
|
97
|
+
|
|
98
|
+
Use report for:
|
|
99
|
+
- Sprint planning sessions
|
|
100
|
+
- Resource allocation
|
|
101
|
+
- Risk assessment
|
|
102
|
+
- Team discussions
|
|
103
|
+
- Client updates
|
|
104
|
+
|
|
105
|
+
## Example Usage
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
/project:tm/complexity-report
|
|
109
|
+
→ Opens latest analysis
|
|
110
|
+
|
|
111
|
+
/project:tm/complexity-report --file=archived/2024-01-01.md
|
|
112
|
+
→ View historical analysis
|
|
113
|
+
|
|
114
|
+
After viewing:
|
|
115
|
+
/project:tm/expand 5
|
|
116
|
+
→ Expand high-complexity task
|
|
117
|
+
```
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Expand all pending tasks that need subtasks.
|
|
2
|
+
|
|
3
|
+
## Bulk Task Expansion
|
|
4
|
+
|
|
5
|
+
Intelligently expands all tasks that would benefit from breakdown.
|
|
6
|
+
|
|
7
|
+
## Execution
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
task-master expand --all
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Smart Selection
|
|
14
|
+
|
|
15
|
+
Only expands tasks that:
|
|
16
|
+
- Are marked as pending
|
|
17
|
+
- Have high complexity (>5)
|
|
18
|
+
- Lack existing subtasks
|
|
19
|
+
- Would benefit from breakdown
|
|
20
|
+
|
|
21
|
+
## Expansion Process
|
|
22
|
+
|
|
23
|
+
1. **Analysis Phase**
|
|
24
|
+
- Identify expansion candidates
|
|
25
|
+
- Group related tasks
|
|
26
|
+
- Plan expansion strategy
|
|
27
|
+
|
|
28
|
+
2. **Batch Processing**
|
|
29
|
+
- Expand tasks in logical order
|
|
30
|
+
- Maintain consistency
|
|
31
|
+
- Preserve relationships
|
|
32
|
+
- Optimize for parallelism
|
|
33
|
+
|
|
34
|
+
3. **Quality Control**
|
|
35
|
+
- Ensure subtask quality
|
|
36
|
+
- Avoid over-decomposition
|
|
37
|
+
- Maintain task coherence
|
|
38
|
+
- Update dependencies
|
|
39
|
+
|
|
40
|
+
## Options
|
|
41
|
+
|
|
42
|
+
- Add `force` to expand all regardless of complexity
|
|
43
|
+
- Add `research` for enhanced AI analysis
|
|
44
|
+
|
|
45
|
+
## Results
|
|
46
|
+
|
|
47
|
+
After bulk expansion:
|
|
48
|
+
- Summary of tasks expanded
|
|
49
|
+
- New subtask count
|
|
50
|
+
- Updated complexity metrics
|
|
51
|
+
- Suggested task order
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
Break down a complex task into subtasks.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS (task ID)
|
|
4
|
+
|
|
5
|
+
## Intelligent Task Expansion
|
|
6
|
+
|
|
7
|
+
Analyzes a task and creates detailed subtasks for better manageability.
|
|
8
|
+
|
|
9
|
+
## Execution
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
task-master expand --id=$ARGUMENTS
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Expansion Process
|
|
16
|
+
|
|
17
|
+
1. **Task Analysis**
|
|
18
|
+
- Review task complexity
|
|
19
|
+
- Identify components
|
|
20
|
+
- Detect technical challenges
|
|
21
|
+
- Estimate time requirements
|
|
22
|
+
|
|
23
|
+
2. **Subtask Generation**
|
|
24
|
+
- Create 3-7 subtasks typically
|
|
25
|
+
- Each subtask 1-4 hours
|
|
26
|
+
- Logical implementation order
|
|
27
|
+
- Clear acceptance criteria
|
|
28
|
+
|
|
29
|
+
3. **Smart Breakdown**
|
|
30
|
+
- Setup/configuration tasks
|
|
31
|
+
- Core implementation
|
|
32
|
+
- Testing components
|
|
33
|
+
- Integration steps
|
|
34
|
+
- Documentation updates
|
|
35
|
+
|
|
36
|
+
## Enhanced Features
|
|
37
|
+
|
|
38
|
+
Based on task type:
|
|
39
|
+
- **Feature**: Setup → Implement → Test → Integrate
|
|
40
|
+
- **Bug Fix**: Reproduce → Diagnose → Fix → Verify
|
|
41
|
+
- **Refactor**: Analyze → Plan → Refactor → Validate
|
|
42
|
+
|
|
43
|
+
## Post-Expansion
|
|
44
|
+
|
|
45
|
+
After expansion:
|
|
46
|
+
1. Show subtask hierarchy
|
|
47
|
+
2. Update time estimates
|
|
48
|
+
3. Suggest implementation order
|
|
49
|
+
4. Highlight critical path
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
Automatically fix dependency issues found during validation.
|
|
2
|
+
|
|
3
|
+
## Automatic Dependency Repair
|
|
4
|
+
|
|
5
|
+
Intelligently fixes common dependency problems while preserving project logic.
|
|
6
|
+
|
|
7
|
+
## Execution
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
task-master fix-dependencies
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## What Gets Fixed
|
|
14
|
+
|
|
15
|
+
### 1. **Auto-Fixable Issues**
|
|
16
|
+
- Remove references to deleted tasks
|
|
17
|
+
- Break simple circular dependencies
|
|
18
|
+
- Remove self-dependencies
|
|
19
|
+
- Clean up duplicate dependencies
|
|
20
|
+
|
|
21
|
+
### 2. **Smart Resolutions**
|
|
22
|
+
- Reorder dependencies to maintain logic
|
|
23
|
+
- Suggest task merging for over-dependent tasks
|
|
24
|
+
- Flatten unnecessary dependency chains
|
|
25
|
+
- Remove redundant transitive dependencies
|
|
26
|
+
|
|
27
|
+
### 3. **Manual Review Required**
|
|
28
|
+
- Complex circular dependencies
|
|
29
|
+
- Critical path modifications
|
|
30
|
+
- Business logic dependencies
|
|
31
|
+
- High-impact changes
|
|
32
|
+
|
|
33
|
+
## Fix Process
|
|
34
|
+
|
|
35
|
+
1. **Analysis Phase**
|
|
36
|
+
- Run validation check
|
|
37
|
+
- Categorize issues by type
|
|
38
|
+
- Determine fix strategy
|
|
39
|
+
|
|
40
|
+
2. **Execution Phase**
|
|
41
|
+
- Apply automatic fixes
|
|
42
|
+
- Log all changes made
|
|
43
|
+
- Preserve task relationships
|
|
44
|
+
|
|
45
|
+
3. **Verification Phase**
|
|
46
|
+
- Re-validate after fixes
|
|
47
|
+
- Show before/after comparison
|
|
48
|
+
- Highlight manual fixes needed
|
|
49
|
+
|
|
50
|
+
## Smart Features
|
|
51
|
+
|
|
52
|
+
- Preserves intended task flow
|
|
53
|
+
- Minimal disruption approach
|
|
54
|
+
- Creates fix history/log
|
|
55
|
+
- Suggests manual interventions
|
|
56
|
+
|
|
57
|
+
## Output Example
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
Dependency Auto-Fix Report
|
|
61
|
+
━━━━━━━━━━━━━━━━━━━━━━━━
|
|
62
|
+
Fixed Automatically:
|
|
63
|
+
✅ Removed 2 references to deleted tasks
|
|
64
|
+
✅ Resolved 1 self-dependency
|
|
65
|
+
✅ Cleaned 3 redundant dependencies
|
|
66
|
+
|
|
67
|
+
Manual Review Needed:
|
|
68
|
+
⚠️ Complex circular dependency: #12 → #15 → #18 → #12
|
|
69
|
+
Suggestion: Make #15 not depend on #12
|
|
70
|
+
⚠️ Task #45 has 8 dependencies
|
|
71
|
+
Suggestion: Break into subtasks
|
|
72
|
+
|
|
73
|
+
Run '/project:tm/validate-dependencies' to verify fixes
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Safety
|
|
77
|
+
|
|
78
|
+
- Preview mode available
|
|
79
|
+
- Rollback capability
|
|
80
|
+
- Change logging
|
|
81
|
+
- No data loss
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
Generate individual task files from tasks.json.
|
|
2
|
+
|
|
3
|
+
## Task File Generation
|
|
4
|
+
|
|
5
|
+
Creates separate markdown files for each task, perfect for AI agents or documentation.
|
|
6
|
+
|
|
7
|
+
## Execution
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
task-master generate
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## What It Creates
|
|
14
|
+
|
|
15
|
+
For each task, generates a file like `task_001.txt`:
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
Task ID: 1
|
|
19
|
+
Title: Implement user authentication
|
|
20
|
+
Status: pending
|
|
21
|
+
Priority: high
|
|
22
|
+
Dependencies: []
|
|
23
|
+
Created: 2024-01-15
|
|
24
|
+
Complexity: 7
|
|
25
|
+
|
|
26
|
+
## Description
|
|
27
|
+
Create a secure user authentication system with login, logout, and session management.
|
|
28
|
+
|
|
29
|
+
## Details
|
|
30
|
+
- Use JWT tokens for session management
|
|
31
|
+
- Implement secure password hashing
|
|
32
|
+
- Add remember me functionality
|
|
33
|
+
- Include password reset flow
|
|
34
|
+
|
|
35
|
+
## Test Strategy
|
|
36
|
+
- Unit tests for auth functions
|
|
37
|
+
- Integration tests for login flow
|
|
38
|
+
- Security testing for vulnerabilities
|
|
39
|
+
- Performance tests for concurrent logins
|
|
40
|
+
|
|
41
|
+
## Subtasks
|
|
42
|
+
1.1 Setup authentication framework (pending)
|
|
43
|
+
1.2 Create login endpoints (pending)
|
|
44
|
+
1.3 Implement session management (pending)
|
|
45
|
+
1.4 Add password reset (pending)
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## File Organization
|
|
49
|
+
|
|
50
|
+
Creates structure:
|
|
51
|
+
```
|
|
52
|
+
.taskmaster/
|
|
53
|
+
└── tasks/
|
|
54
|
+
├── task_001.txt
|
|
55
|
+
├── task_002.txt
|
|
56
|
+
├── task_003.txt
|
|
57
|
+
└── ...
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Smart Features
|
|
61
|
+
|
|
62
|
+
1. **Consistent Formatting**
|
|
63
|
+
- Standardized structure
|
|
64
|
+
- Clear sections
|
|
65
|
+
- AI-readable format
|
|
66
|
+
- Markdown compatible
|
|
67
|
+
|
|
68
|
+
2. **Contextual Information**
|
|
69
|
+
- Full task details
|
|
70
|
+
- Related task references
|
|
71
|
+
- Progress indicators
|
|
72
|
+
- Implementation notes
|
|
73
|
+
|
|
74
|
+
3. **Incremental Updates**
|
|
75
|
+
- Only regenerate changed tasks
|
|
76
|
+
- Preserve custom additions
|
|
77
|
+
- Track generation timestamp
|
|
78
|
+
- Version control friendly
|
|
79
|
+
|
|
80
|
+
## Use Cases
|
|
81
|
+
|
|
82
|
+
- **AI Context**: Provide task context to AI assistants
|
|
83
|
+
- **Documentation**: Standalone task documentation
|
|
84
|
+
- **Archival**: Task history preservation
|
|
85
|
+
- **Sharing**: Send specific tasks to team members
|
|
86
|
+
- **Review**: Easier task review process
|
|
87
|
+
|
|
88
|
+
## Generation Options
|
|
89
|
+
|
|
90
|
+
Based on arguments:
|
|
91
|
+
- Filter by status
|
|
92
|
+
- Include/exclude completed
|
|
93
|
+
- Custom templates
|
|
94
|
+
- Different formats
|
|
95
|
+
|
|
96
|
+
## Post-Generation
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
Task File Generation Complete
|
|
100
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
101
|
+
Generated: 45 task files
|
|
102
|
+
Location: .taskmaster/tasks/
|
|
103
|
+
Total size: 156 KB
|
|
104
|
+
|
|
105
|
+
New files: 5
|
|
106
|
+
Updated files: 12
|
|
107
|
+
Unchanged: 28
|
|
108
|
+
|
|
109
|
+
Ready for:
|
|
110
|
+
- AI agent consumption
|
|
111
|
+
- Version control
|
|
112
|
+
- Team distribution
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Integration Benefits
|
|
116
|
+
|
|
117
|
+
- Git-trackable task history
|
|
118
|
+
- Easy task sharing
|
|
119
|
+
- AI tool compatibility
|
|
120
|
+
- Offline task access
|
|
121
|
+
- Backup redundancy
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
Show help for Task Master commands.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
Display help for Task Master commands. If arguments provided, show specific command help.
|
|
6
|
+
|
|
7
|
+
## Task Master Command Help
|
|
8
|
+
|
|
9
|
+
### Quick Navigation
|
|
10
|
+
|
|
11
|
+
Type `/project:tm/` and use tab completion to explore all commands.
|
|
12
|
+
|
|
13
|
+
### Command Categories
|
|
14
|
+
|
|
15
|
+
#### 🚀 Setup & Installation
|
|
16
|
+
- `/project:tm/setup/install` - Comprehensive installation guide
|
|
17
|
+
- `/project:tm/setup/quick-install` - One-line global install
|
|
18
|
+
|
|
19
|
+
#### 📋 Project Setup
|
|
20
|
+
- `/project:tm/init` - Initialize new project
|
|
21
|
+
- `/project:tm/init/quick` - Quick setup with auto-confirm
|
|
22
|
+
- `/project:tm/models` - View AI configuration
|
|
23
|
+
- `/project:tm/models/setup` - Configure AI providers
|
|
24
|
+
|
|
25
|
+
#### 🎯 Task Generation
|
|
26
|
+
- `/project:tm/parse-prd` - Generate tasks from PRD
|
|
27
|
+
- `/project:tm/parse-prd/with-research` - Enhanced parsing
|
|
28
|
+
- `/project:tm/generate` - Create task files
|
|
29
|
+
|
|
30
|
+
#### 📝 Task Management
|
|
31
|
+
- `/project:tm/list` - List tasks (natural language filters)
|
|
32
|
+
- `/project:tm/show <id>` - Display task details
|
|
33
|
+
- `/project:tm/add-task` - Create new task
|
|
34
|
+
- `/project:tm/update` - Update tasks naturally
|
|
35
|
+
- `/project:tm/next` - Get next task recommendation
|
|
36
|
+
|
|
37
|
+
#### 🔄 Status Management
|
|
38
|
+
- `/project:tm/set-status/to-pending <id>`
|
|
39
|
+
- `/project:tm/set-status/to-in-progress <id>`
|
|
40
|
+
- `/project:tm/set-status/to-done <id>`
|
|
41
|
+
- `/project:tm/set-status/to-review <id>`
|
|
42
|
+
- `/project:tm/set-status/to-deferred <id>`
|
|
43
|
+
- `/project:tm/set-status/to-cancelled <id>`
|
|
44
|
+
|
|
45
|
+
#### 🔍 Analysis & Breakdown
|
|
46
|
+
- `/project:tm/analyze-complexity` - Analyze task complexity
|
|
47
|
+
- `/project:tm/expand <id>` - Break down complex task
|
|
48
|
+
- `/project:tm/expand/all` - Expand all eligible tasks
|
|
49
|
+
|
|
50
|
+
#### 🔗 Dependencies
|
|
51
|
+
- `/project:tm/add-dependency` - Add task dependency
|
|
52
|
+
- `/project:tm/remove-dependency` - Remove dependency
|
|
53
|
+
- `/project:tm/validate-dependencies` - Check for issues
|
|
54
|
+
|
|
55
|
+
#### 🤖 Workflows
|
|
56
|
+
- `/project:tm/workflows/smart-flow` - Intelligent workflows
|
|
57
|
+
- `/project:tm/workflows/pipeline` - Command chaining
|
|
58
|
+
- `/project:tm/workflows/auto-implement` - Auto-implementation
|
|
59
|
+
|
|
60
|
+
#### 📊 Utilities
|
|
61
|
+
- `/project:tm/utils/analyze` - Project analysis
|
|
62
|
+
- `/project:tm/status` - Project dashboard
|
|
63
|
+
- `/project:tm/learn` - Interactive learning
|
|
64
|
+
|
|
65
|
+
### Natural Language Examples
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
/project:tm/list pending high priority
|
|
69
|
+
/project:tm/update mark all API tasks as done
|
|
70
|
+
/project:tm/add-task create login system with OAuth
|
|
71
|
+
/project:tm/show current
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Getting Started
|
|
75
|
+
|
|
76
|
+
1. Install: `/project:tm/setup/quick-install`
|
|
77
|
+
2. Initialize: `/project:tm/init/quick`
|
|
78
|
+
3. Learn: `/project:tm/learn start`
|
|
79
|
+
4. Work: `/project:tm/workflows/smart-flow`
|
|
80
|
+
|
|
81
|
+
For detailed command info: `/project:tm/help <command-name>`
|