telos-framework 0.1.4 → 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-state.js +102 -0
- package/lib/commands/init.js +58 -95
- 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,64 @@
|
|
|
1
|
+
Enhanced status command with comprehensive project insights.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
## Intelligent Status Overview
|
|
6
|
+
|
|
7
|
+
### 1. **Executive Summary**
|
|
8
|
+
Quick dashboard view:
|
|
9
|
+
- 🏃 Active work (in-progress tasks)
|
|
10
|
+
- 📊 Progress metrics (% complete, velocity)
|
|
11
|
+
- 🚧 Blockers and risks
|
|
12
|
+
- ⏱️ Time analysis (estimated vs actual)
|
|
13
|
+
- 🎯 Sprint/milestone progress
|
|
14
|
+
|
|
15
|
+
### 2. **Contextual Analysis**
|
|
16
|
+
|
|
17
|
+
Based on $ARGUMENTS, focus on:
|
|
18
|
+
- "sprint" → Current sprint progress and burndown
|
|
19
|
+
- "blocked" → Dependency chains and resolution paths
|
|
20
|
+
- "team" → Task distribution and workload
|
|
21
|
+
- "timeline" → Schedule adherence and projections
|
|
22
|
+
- "risk" → High complexity or overdue items
|
|
23
|
+
|
|
24
|
+
### 3. **Smart Insights**
|
|
25
|
+
|
|
26
|
+
**Workflow Health:**
|
|
27
|
+
- Idle tasks (in-progress > 24h without updates)
|
|
28
|
+
- Bottlenecks (multiple tasks waiting on same dependency)
|
|
29
|
+
- Quick wins (low complexity, high impact)
|
|
30
|
+
|
|
31
|
+
**Predictive Analytics:**
|
|
32
|
+
- Completion projections based on velocity
|
|
33
|
+
- Risk of missing deadlines
|
|
34
|
+
- Recommended task order for optimal flow
|
|
35
|
+
|
|
36
|
+
### 4. **Visual Intelligence**
|
|
37
|
+
|
|
38
|
+
Dynamic visualization based on data:
|
|
39
|
+
```
|
|
40
|
+
Sprint Progress: ████████░░ 80% (16/20 tasks)
|
|
41
|
+
Velocity Trend: ↗️ +15% this week
|
|
42
|
+
Blocked Tasks: 🔴 3 critical path items
|
|
43
|
+
|
|
44
|
+
Priority Distribution:
|
|
45
|
+
High: ████████ 8 tasks (2 blocked)
|
|
46
|
+
Medium: ████░░░░ 4 tasks
|
|
47
|
+
Low: ██░░░░░░ 2 tasks
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### 5. **Actionable Recommendations**
|
|
51
|
+
|
|
52
|
+
Based on analysis:
|
|
53
|
+
1. **Immediate actions** (unblock critical path)
|
|
54
|
+
2. **Today's focus** (optimal task sequence)
|
|
55
|
+
3. **Process improvements** (recurring patterns)
|
|
56
|
+
4. **Resource needs** (skills, time, dependencies)
|
|
57
|
+
|
|
58
|
+
### 6. **Historical Context**
|
|
59
|
+
|
|
60
|
+
Compare to previous periods:
|
|
61
|
+
- Velocity changes
|
|
62
|
+
- Pattern recognition
|
|
63
|
+
- Improvement areas
|
|
64
|
+
- Success patterns to repeat
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
Export tasks to README.md with professional formatting.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
Generate a well-formatted README with current task information.
|
|
6
|
+
|
|
7
|
+
## README Synchronization
|
|
8
|
+
|
|
9
|
+
Creates or updates README.md with beautifully formatted task information.
|
|
10
|
+
|
|
11
|
+
## Argument Parsing
|
|
12
|
+
|
|
13
|
+
Optional filters:
|
|
14
|
+
- "pending" → Only pending tasks
|
|
15
|
+
- "with-subtasks" → Include subtask details
|
|
16
|
+
- "by-priority" → Group by priority
|
|
17
|
+
- "sprint" → Current sprint only
|
|
18
|
+
|
|
19
|
+
## Execution
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
task-master sync-readme [--with-subtasks] [--status=<status>]
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## README Generation
|
|
26
|
+
|
|
27
|
+
### 1. **Project Header**
|
|
28
|
+
```markdown
|
|
29
|
+
# Project Name
|
|
30
|
+
|
|
31
|
+
## 📋 Task Progress
|
|
32
|
+
|
|
33
|
+
Last Updated: 2024-01-15 10:30 AM
|
|
34
|
+
|
|
35
|
+
### Summary
|
|
36
|
+
- Total Tasks: 45
|
|
37
|
+
- Completed: 15 (33%)
|
|
38
|
+
- In Progress: 5 (11%)
|
|
39
|
+
- Pending: 25 (56%)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### 2. **Task Sections**
|
|
43
|
+
Organized by status or priority:
|
|
44
|
+
- Progress indicators
|
|
45
|
+
- Task descriptions
|
|
46
|
+
- Dependencies noted
|
|
47
|
+
- Time estimates
|
|
48
|
+
|
|
49
|
+
### 3. **Visual Elements**
|
|
50
|
+
- Progress bars
|
|
51
|
+
- Status badges
|
|
52
|
+
- Priority indicators
|
|
53
|
+
- Completion checkmarks
|
|
54
|
+
|
|
55
|
+
## Smart Features
|
|
56
|
+
|
|
57
|
+
1. **Intelligent Grouping**
|
|
58
|
+
- By feature area
|
|
59
|
+
- By sprint/milestone
|
|
60
|
+
- By assigned developer
|
|
61
|
+
- By priority
|
|
62
|
+
|
|
63
|
+
2. **Progress Tracking**
|
|
64
|
+
- Overall completion
|
|
65
|
+
- Sprint velocity
|
|
66
|
+
- Burndown indication
|
|
67
|
+
- Time tracking
|
|
68
|
+
|
|
69
|
+
3. **Formatting Options**
|
|
70
|
+
- GitHub-flavored markdown
|
|
71
|
+
- Task checkboxes
|
|
72
|
+
- Collapsible sections
|
|
73
|
+
- Table format available
|
|
74
|
+
|
|
75
|
+
## Example Output
|
|
76
|
+
|
|
77
|
+
```markdown
|
|
78
|
+
## 🚀 Current Sprint
|
|
79
|
+
|
|
80
|
+
### In Progress
|
|
81
|
+
- [ ] 🔄 #5 **Implement user authentication** (60% complete)
|
|
82
|
+
- Dependencies: API design (#3 ✅)
|
|
83
|
+
- Subtasks: 4 (2 completed)
|
|
84
|
+
- Est: 8h / Spent: 5h
|
|
85
|
+
|
|
86
|
+
### Pending (High Priority)
|
|
87
|
+
- [ ] ⚡ #8 **Create dashboard UI**
|
|
88
|
+
- Blocked by: #5
|
|
89
|
+
- Complexity: High
|
|
90
|
+
- Est: 12h
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Customization
|
|
94
|
+
|
|
95
|
+
Based on arguments:
|
|
96
|
+
- Include/exclude sections
|
|
97
|
+
- Detail level control
|
|
98
|
+
- Custom grouping
|
|
99
|
+
- Filter by criteria
|
|
100
|
+
|
|
101
|
+
## Post-Sync
|
|
102
|
+
|
|
103
|
+
After generation:
|
|
104
|
+
1. Show diff preview
|
|
105
|
+
2. Backup existing README
|
|
106
|
+
3. Write new content
|
|
107
|
+
4. Commit reminder
|
|
108
|
+
5. Update timestamp
|
|
109
|
+
|
|
110
|
+
## Integration
|
|
111
|
+
|
|
112
|
+
Works well with:
|
|
113
|
+
- Git workflows
|
|
114
|
+
- CI/CD pipelines
|
|
115
|
+
- Project documentation
|
|
116
|
+
- Team updates
|
|
117
|
+
- Client reports
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# Task Master Command Reference
|
|
2
|
+
|
|
3
|
+
Comprehensive command structure for Task Master integration with Claude Code.
|
|
4
|
+
|
|
5
|
+
## Command Organization
|
|
6
|
+
|
|
7
|
+
Commands are organized hierarchically to match Task Master's CLI structure while providing enhanced Claude Code integration.
|
|
8
|
+
|
|
9
|
+
## Project Setup & Configuration
|
|
10
|
+
|
|
11
|
+
### `/project:tm/init`
|
|
12
|
+
- `init-project` - Initialize new project (handles PRD files intelligently)
|
|
13
|
+
- `init-project-quick` - Quick setup with auto-confirmation (-y flag)
|
|
14
|
+
|
|
15
|
+
### `/project:tm/models`
|
|
16
|
+
- `view-models` - View current AI model configuration
|
|
17
|
+
- `setup-models` - Interactive model configuration
|
|
18
|
+
- `set-main` - Set primary generation model
|
|
19
|
+
- `set-research` - Set research model
|
|
20
|
+
- `set-fallback` - Set fallback model
|
|
21
|
+
|
|
22
|
+
## Task Generation
|
|
23
|
+
|
|
24
|
+
### `/project:tm/parse-prd`
|
|
25
|
+
- `parse-prd` - Generate tasks from PRD document
|
|
26
|
+
- `parse-prd-with-research` - Enhanced parsing with research mode
|
|
27
|
+
|
|
28
|
+
### `/project:tm/generate`
|
|
29
|
+
- `generate-tasks` - Create individual task files from tasks.json
|
|
30
|
+
|
|
31
|
+
## Task Management
|
|
32
|
+
|
|
33
|
+
### `/project:tm/list`
|
|
34
|
+
- `list-tasks` - Smart listing with natural language filters
|
|
35
|
+
- `list-tasks-with-subtasks` - Include subtasks in hierarchical view
|
|
36
|
+
- `list-tasks-by-status` - Filter by specific status
|
|
37
|
+
|
|
38
|
+
### `/project:tm/set-status`
|
|
39
|
+
- `to-pending` - Reset task to pending
|
|
40
|
+
- `to-in-progress` - Start working on task
|
|
41
|
+
- `to-done` - Mark task complete
|
|
42
|
+
- `to-review` - Submit for review
|
|
43
|
+
- `to-deferred` - Defer task
|
|
44
|
+
- `to-cancelled` - Cancel task
|
|
45
|
+
|
|
46
|
+
### `/project:tm/sync-readme`
|
|
47
|
+
- `sync-readme` - Export tasks to README.md with formatting
|
|
48
|
+
|
|
49
|
+
### `/project:tm/update`
|
|
50
|
+
- `update-task` - Update tasks with natural language
|
|
51
|
+
- `update-tasks-from-id` - Update multiple tasks from a starting point
|
|
52
|
+
- `update-single-task` - Update specific task
|
|
53
|
+
|
|
54
|
+
### `/project:tm/add-task`
|
|
55
|
+
- `add-task` - Add new task with AI assistance
|
|
56
|
+
|
|
57
|
+
### `/project:tm/remove-task`
|
|
58
|
+
- `remove-task` - Remove task with confirmation
|
|
59
|
+
|
|
60
|
+
## Subtask Management
|
|
61
|
+
|
|
62
|
+
### `/project:tm/add-subtask`
|
|
63
|
+
- `add-subtask` - Add new subtask to parent
|
|
64
|
+
- `convert-task-to-subtask` - Convert existing task to subtask
|
|
65
|
+
|
|
66
|
+
### `/project:tm/remove-subtask`
|
|
67
|
+
- `remove-subtask` - Remove subtask (with optional conversion)
|
|
68
|
+
|
|
69
|
+
### `/project:tm/clear-subtasks`
|
|
70
|
+
- `clear-subtasks` - Clear subtasks from specific task
|
|
71
|
+
- `clear-all-subtasks` - Clear all subtasks globally
|
|
72
|
+
|
|
73
|
+
## Task Analysis & Breakdown
|
|
74
|
+
|
|
75
|
+
### `/project:tm/analyze-complexity`
|
|
76
|
+
- `analyze-complexity` - Analyze and generate expansion recommendations
|
|
77
|
+
|
|
78
|
+
### `/project:tm/complexity-report`
|
|
79
|
+
- `complexity-report` - Display complexity analysis report
|
|
80
|
+
|
|
81
|
+
### `/project:tm/expand`
|
|
82
|
+
- `expand-task` - Break down specific task
|
|
83
|
+
- `expand-all-tasks` - Expand all eligible tasks
|
|
84
|
+
- `with-research` - Enhanced expansion
|
|
85
|
+
|
|
86
|
+
## Task Navigation
|
|
87
|
+
|
|
88
|
+
### `/project:tm/next`
|
|
89
|
+
- `next-task` - Intelligent next task recommendation
|
|
90
|
+
|
|
91
|
+
### `/project:tm/show`
|
|
92
|
+
- `show-task` - Display detailed task information
|
|
93
|
+
|
|
94
|
+
### `/project:tm/status`
|
|
95
|
+
- `project-status` - Comprehensive project dashboard
|
|
96
|
+
|
|
97
|
+
## Dependency Management
|
|
98
|
+
|
|
99
|
+
### `/project:tm/add-dependency`
|
|
100
|
+
- `add-dependency` - Add task dependency
|
|
101
|
+
|
|
102
|
+
### `/project:tm/remove-dependency`
|
|
103
|
+
- `remove-dependency` - Remove task dependency
|
|
104
|
+
|
|
105
|
+
### `/project:tm/validate-dependencies`
|
|
106
|
+
- `validate-dependencies` - Check for dependency issues
|
|
107
|
+
|
|
108
|
+
### `/project:tm/fix-dependencies`
|
|
109
|
+
- `fix-dependencies` - Automatically fix dependency problems
|
|
110
|
+
|
|
111
|
+
## Workflows & Automation
|
|
112
|
+
|
|
113
|
+
### `/project:tm/workflows`
|
|
114
|
+
- `smart-workflow` - Context-aware intelligent workflow execution
|
|
115
|
+
- `command-pipeline` - Chain multiple commands together
|
|
116
|
+
- `auto-implement-tasks` - Advanced auto-implementation with code generation
|
|
117
|
+
|
|
118
|
+
## Utilities
|
|
119
|
+
|
|
120
|
+
### `/project:tm/utils`
|
|
121
|
+
- `analyze-project` - Deep project analysis and insights
|
|
122
|
+
|
|
123
|
+
### `/project:tm/setup`
|
|
124
|
+
- `install-taskmaster` - Comprehensive installation guide
|
|
125
|
+
- `quick-install-taskmaster` - One-line global installation
|
|
126
|
+
|
|
127
|
+
## Usage Patterns
|
|
128
|
+
|
|
129
|
+
### Natural Language
|
|
130
|
+
Most commands accept natural language arguments:
|
|
131
|
+
```
|
|
132
|
+
/project:tm/add-task create user authentication system
|
|
133
|
+
/project:tm/update mark all API tasks as high priority
|
|
134
|
+
/project:tm/list show blocked tasks
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### ID-Based Commands
|
|
138
|
+
Commands requiring IDs intelligently parse from $ARGUMENTS:
|
|
139
|
+
```
|
|
140
|
+
/project:tm/show 45
|
|
141
|
+
/project:tm/expand 23
|
|
142
|
+
/project:tm/set-status/to-done 67
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Smart Defaults
|
|
146
|
+
Commands provide intelligent defaults and suggestions based on context.
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
Update a single specific task with new information.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
Parse task ID and update details.
|
|
6
|
+
|
|
7
|
+
## Single Task Update
|
|
8
|
+
|
|
9
|
+
Precisely update one task with AI assistance to maintain consistency.
|
|
10
|
+
|
|
11
|
+
## Argument Parsing
|
|
12
|
+
|
|
13
|
+
Natural language updates:
|
|
14
|
+
- "5: add caching requirement"
|
|
15
|
+
- "update 5 to include error handling"
|
|
16
|
+
- "task 5 needs rate limiting"
|
|
17
|
+
- "5 change priority to high"
|
|
18
|
+
|
|
19
|
+
## Execution
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
task-master update-task --id=<id> --prompt="<context>"
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Update Types
|
|
26
|
+
|
|
27
|
+
### 1. **Content Updates**
|
|
28
|
+
- Enhance description
|
|
29
|
+
- Add requirements
|
|
30
|
+
- Clarify details
|
|
31
|
+
- Update acceptance criteria
|
|
32
|
+
|
|
33
|
+
### 2. **Metadata Updates**
|
|
34
|
+
- Change priority
|
|
35
|
+
- Adjust time estimates
|
|
36
|
+
- Update complexity
|
|
37
|
+
- Modify dependencies
|
|
38
|
+
|
|
39
|
+
### 3. **Strategic Updates**
|
|
40
|
+
- Revise approach
|
|
41
|
+
- Change test strategy
|
|
42
|
+
- Update implementation notes
|
|
43
|
+
- Adjust subtask needs
|
|
44
|
+
|
|
45
|
+
## AI-Powered Updates
|
|
46
|
+
|
|
47
|
+
The AI:
|
|
48
|
+
1. **Understands Context**
|
|
49
|
+
- Reads current task state
|
|
50
|
+
- Identifies update intent
|
|
51
|
+
- Maintains consistency
|
|
52
|
+
- Preserves important info
|
|
53
|
+
|
|
54
|
+
2. **Applies Changes**
|
|
55
|
+
- Updates relevant fields
|
|
56
|
+
- Keeps style consistent
|
|
57
|
+
- Adds without removing
|
|
58
|
+
- Enhances clarity
|
|
59
|
+
|
|
60
|
+
3. **Validates Results**
|
|
61
|
+
- Checks coherence
|
|
62
|
+
- Verifies completeness
|
|
63
|
+
- Maintains relationships
|
|
64
|
+
- Suggests related updates
|
|
65
|
+
|
|
66
|
+
## Example Updates
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
/project:tm/update/single 5: add rate limiting
|
|
70
|
+
→ Updating Task #5: "Implement API endpoints"
|
|
71
|
+
|
|
72
|
+
Current: Basic CRUD endpoints
|
|
73
|
+
Adding: Rate limiting requirements
|
|
74
|
+
|
|
75
|
+
Updated sections:
|
|
76
|
+
✓ Description: Added rate limiting mention
|
|
77
|
+
✓ Details: Added specific limits (100/min)
|
|
78
|
+
✓ Test Strategy: Added rate limit tests
|
|
79
|
+
✓ Complexity: Increased from 5 to 6
|
|
80
|
+
✓ Time Estimate: Increased by 2 hours
|
|
81
|
+
|
|
82
|
+
Suggestion: Also update task #6 (API Gateway) for consistency?
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Smart Features
|
|
86
|
+
|
|
87
|
+
1. **Incremental Updates**
|
|
88
|
+
- Adds without overwriting
|
|
89
|
+
- Preserves work history
|
|
90
|
+
- Tracks what changed
|
|
91
|
+
- Shows diff view
|
|
92
|
+
|
|
93
|
+
2. **Consistency Checks**
|
|
94
|
+
- Related task alignment
|
|
95
|
+
- Subtask compatibility
|
|
96
|
+
- Dependency validity
|
|
97
|
+
- Timeline impact
|
|
98
|
+
|
|
99
|
+
3. **Update History**
|
|
100
|
+
- Timestamp changes
|
|
101
|
+
- Track who/what updated
|
|
102
|
+
- Reason for update
|
|
103
|
+
- Previous versions
|
|
104
|
+
|
|
105
|
+
## Field-Specific Updates
|
|
106
|
+
|
|
107
|
+
Quick syntax for specific fields:
|
|
108
|
+
- "5 priority:high" → Update priority only
|
|
109
|
+
- "5 add-time:4h" → Add to time estimate
|
|
110
|
+
- "5 status:review" → Change status
|
|
111
|
+
- "5 depends:3,4" → Add dependencies
|
|
112
|
+
|
|
113
|
+
## Post-Update
|
|
114
|
+
|
|
115
|
+
- Show updated task
|
|
116
|
+
- Highlight changes
|
|
117
|
+
- Check related tasks
|
|
118
|
+
- Update suggestions
|
|
119
|
+
- Timeline adjustments
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
Update tasks with intelligent field detection and bulk operations.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
## Intelligent Task Updates
|
|
6
|
+
|
|
7
|
+
Parse arguments to determine update intent and execute smartly.
|
|
8
|
+
|
|
9
|
+
### 1. **Natural Language Processing**
|
|
10
|
+
|
|
11
|
+
Understand update requests like:
|
|
12
|
+
- "mark 23 as done" → Update status to done
|
|
13
|
+
- "increase priority of 45" → Set priority to high
|
|
14
|
+
- "add dependency on 12 to task 34" → Add dependency
|
|
15
|
+
- "tasks 20-25 need review" → Bulk status update
|
|
16
|
+
- "all API tasks high priority" → Pattern-based update
|
|
17
|
+
|
|
18
|
+
### 2. **Smart Field Detection**
|
|
19
|
+
|
|
20
|
+
Automatically detect what to update:
|
|
21
|
+
- Status keywords: done, complete, start, pause, review
|
|
22
|
+
- Priority changes: urgent, high, low, deprioritize
|
|
23
|
+
- Dependency updates: depends on, blocks, after
|
|
24
|
+
- Assignment: assign to, owner, responsible
|
|
25
|
+
- Time: estimate, spent, deadline
|
|
26
|
+
|
|
27
|
+
### 3. **Bulk Operations**
|
|
28
|
+
|
|
29
|
+
Support for multiple task updates:
|
|
30
|
+
```
|
|
31
|
+
Examples:
|
|
32
|
+
- "complete tasks 12, 15, 18"
|
|
33
|
+
- "all pending auth tasks to in-progress"
|
|
34
|
+
- "increase priority for tasks blocking 45"
|
|
35
|
+
- "defer all documentation tasks"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### 4. **Contextual Validation**
|
|
39
|
+
|
|
40
|
+
Before updating, check:
|
|
41
|
+
- Status transitions are valid
|
|
42
|
+
- Dependencies don't create cycles
|
|
43
|
+
- Priority changes make sense
|
|
44
|
+
- Bulk updates won't break project flow
|
|
45
|
+
|
|
46
|
+
Show preview:
|
|
47
|
+
```
|
|
48
|
+
Update Preview:
|
|
49
|
+
─────────────────
|
|
50
|
+
Tasks to update: #23, #24, #25
|
|
51
|
+
Change: status → in-progress
|
|
52
|
+
Impact: Will unblock tasks #30, #31
|
|
53
|
+
Warning: Task #24 has unmet dependencies
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### 5. **Smart Suggestions**
|
|
57
|
+
|
|
58
|
+
Based on update:
|
|
59
|
+
- Completing task? → Show newly unblocked tasks
|
|
60
|
+
- Changing priority? → Show impact on sprint
|
|
61
|
+
- Adding dependency? → Check for conflicts
|
|
62
|
+
- Bulk update? → Show summary of changes
|
|
63
|
+
|
|
64
|
+
### 6. **Workflow Integration**
|
|
65
|
+
|
|
66
|
+
After updates:
|
|
67
|
+
- Auto-update dependent task states
|
|
68
|
+
- Trigger status recalculation
|
|
69
|
+
- Update sprint/milestone progress
|
|
70
|
+
- Log changes with context
|
|
71
|
+
|
|
72
|
+
Result: Flexible, intelligent task updates with safety checks.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
Update multiple tasks starting from a specific ID.
|
|
2
|
+
|
|
3
|
+
Arguments: $ARGUMENTS
|
|
4
|
+
|
|
5
|
+
Parse starting task ID and update context.
|
|
6
|
+
|
|
7
|
+
## Bulk Task Updates
|
|
8
|
+
|
|
9
|
+
Update multiple related tasks based on new requirements or context changes.
|
|
10
|
+
|
|
11
|
+
## Argument Parsing
|
|
12
|
+
|
|
13
|
+
- "from 5: add security requirements"
|
|
14
|
+
- "5 onwards: update API endpoints"
|
|
15
|
+
- "starting at 5: change to use new framework"
|
|
16
|
+
|
|
17
|
+
## Execution
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
task-master update --from=<id> --prompt="<context>"
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Update Process
|
|
24
|
+
|
|
25
|
+
### 1. **Task Selection**
|
|
26
|
+
Starting from specified ID:
|
|
27
|
+
- Include the task itself
|
|
28
|
+
- Include all dependent tasks
|
|
29
|
+
- Include related subtasks
|
|
30
|
+
- Smart boundary detection
|
|
31
|
+
|
|
32
|
+
### 2. **Context Application**
|
|
33
|
+
AI analyzes the update context and:
|
|
34
|
+
- Identifies what needs changing
|
|
35
|
+
- Maintains consistency
|
|
36
|
+
- Preserves completed work
|
|
37
|
+
- Updates related information
|
|
38
|
+
|
|
39
|
+
### 3. **Intelligent Updates**
|
|
40
|
+
- Modify descriptions appropriately
|
|
41
|
+
- Update test strategies
|
|
42
|
+
- Adjust time estimates
|
|
43
|
+
- Revise dependencies if needed
|
|
44
|
+
|
|
45
|
+
## Smart Features
|
|
46
|
+
|
|
47
|
+
1. **Scope Detection**
|
|
48
|
+
- Find natural task groupings
|
|
49
|
+
- Identify related features
|
|
50
|
+
- Stop at logical boundaries
|
|
51
|
+
- Avoid over-updating
|
|
52
|
+
|
|
53
|
+
2. **Consistency Maintenance**
|
|
54
|
+
- Keep naming conventions
|
|
55
|
+
- Preserve relationships
|
|
56
|
+
- Update cross-references
|
|
57
|
+
- Maintain task flow
|
|
58
|
+
|
|
59
|
+
3. **Change Preview**
|
|
60
|
+
```
|
|
61
|
+
Bulk Update Preview
|
|
62
|
+
━━━━━━━━━━━━━━━━━━
|
|
63
|
+
Starting from: Task #5
|
|
64
|
+
Tasks to update: 8 tasks + 12 subtasks
|
|
65
|
+
|
|
66
|
+
Context: "add security requirements"
|
|
67
|
+
|
|
68
|
+
Changes will include:
|
|
69
|
+
- Add security sections to descriptions
|
|
70
|
+
- Update test strategies for security
|
|
71
|
+
- Add security-related subtasks where needed
|
|
72
|
+
- Adjust time estimates (+20% average)
|
|
73
|
+
|
|
74
|
+
Continue? (y/n)
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Example Updates
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
/project:tm/update/from-id 5: change database to PostgreSQL
|
|
81
|
+
→ Analyzing impact starting from task #5
|
|
82
|
+
→ Found 6 related tasks to update
|
|
83
|
+
→ Updates will maintain consistency
|
|
84
|
+
→ Preview changes? (y/n)
|
|
85
|
+
|
|
86
|
+
Applied updates:
|
|
87
|
+
✓ Task #5: Updated connection logic references
|
|
88
|
+
✓ Task #6: Changed migration approach
|
|
89
|
+
✓ Task #7: Updated query syntax notes
|
|
90
|
+
✓ Task #8: Revised testing strategy
|
|
91
|
+
✓ Task #9: Updated deployment steps
|
|
92
|
+
✓ Task #12: Changed backup procedures
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## Safety Features
|
|
96
|
+
|
|
97
|
+
- Preview all changes
|
|
98
|
+
- Selective confirmation
|
|
99
|
+
- Rollback capability
|
|
100
|
+
- Change logging
|
|
101
|
+
- Validation checks
|
|
102
|
+
|
|
103
|
+
## Post-Update
|
|
104
|
+
|
|
105
|
+
- Summary of changes
|
|
106
|
+
- Consistency verification
|
|
107
|
+
- Suggest review tasks
|
|
108
|
+
- Update timeline if needed
|