data_porter 0.1.0 → 0.4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +62 -1
- data/README.md +63 -386
- data/ROADMAP.md +89 -0
- data/app/assets/javascripts/data_porter/stimulus.min.js +2 -0
- data/app/assets/javascripts/data_porter/turbo.min.js +29 -0
- data/app/assets/stylesheets/data_porter/alerts.css +25 -0
- data/app/assets/stylesheets/data_porter/application.css +12 -646
- data/app/assets/stylesheets/data_porter/badges.css +73 -0
- data/app/assets/stylesheets/data_porter/base.css +56 -0
- data/app/assets/stylesheets/data_porter/cards.css +60 -0
- data/app/assets/stylesheets/data_porter/layout.css +128 -0
- data/app/assets/stylesheets/data_porter/mapping.css +79 -0
- data/app/assets/stylesheets/data_porter/modal.css +49 -0
- data/app/assets/stylesheets/data_porter/preview.css +24 -0
- data/app/assets/stylesheets/data_porter/progress.css +37 -0
- data/app/assets/stylesheets/data_porter/table.css +45 -0
- data/app/controllers/data_porter/imports_controller.rb +74 -10
- data/app/controllers/data_porter/mapping_templates_controller.rb +85 -0
- data/app/javascript/data_porter/mapping_controller.js +86 -0
- data/app/javascript/data_porter/progress_controller.js +1 -1
- data/app/javascript/data_porter/template_form_controller.js +46 -0
- data/app/jobs/data_porter/extract_headers_job.rb +12 -0
- data/app/models/data_porter/data_import.rb +8 -2
- data/app/models/data_porter/mapping_template.rb +15 -0
- data/app/views/data_porter/imports/index.html.erb +9 -8
- data/app/views/data_porter/imports/new.html.erb +10 -4
- data/app/views/data_porter/imports/show.html.erb +41 -13
- data/app/views/data_porter/mapping_templates/_form.html.erb +40 -0
- data/app/views/data_porter/mapping_templates/edit.html.erb +11 -0
- data/app/views/data_porter/mapping_templates/index.html.erb +42 -0
- data/app/views/data_porter/mapping_templates/new.html.erb +11 -0
- data/app/views/layouts/data_porter/application.html.erb +162 -0
- data/config/routes.rb +3 -0
- data/docs/CONFIGURATION.md +81 -0
- data/docs/MAPPING.md +44 -0
- data/docs/SOURCES.md +94 -0
- data/docs/TARGETS.md +176 -0
- data/docs/screenshots/mapping.jpg +0 -0
- data/lib/data_porter/components/mapping/column_row.rb +52 -0
- data/lib/data_porter/components/mapping/form.rb +127 -0
- data/lib/data_porter/components/mapping/template_select.rb +35 -0
- data/lib/data_porter/components/preview/results_summary.rb +21 -0
- data/lib/data_porter/components/preview/summary_cards.rb +32 -0
- data/lib/data_porter/components/preview/table.rb +56 -0
- data/lib/data_porter/components/progress/bar.rb +35 -0
- data/lib/data_porter/components/shared/failure_alert.rb +22 -0
- data/lib/data_porter/components/shared/status_badge.rb +18 -0
- data/lib/data_porter/components.rb +9 -6
- data/lib/data_porter/configuration.rb +1 -1
- data/lib/data_porter/engine.rb +7 -1
- data/lib/data_porter/orchestrator.rb +21 -1
- data/lib/data_porter/sources/base.rb +18 -3
- data/lib/data_porter/sources/csv.rb +5 -0
- data/lib/data_porter/sources/xlsx.rb +76 -0
- data/lib/data_porter/sources.rb +3 -1
- data/lib/data_porter/version.rb +1 -1
- data/lib/generators/data_porter/install/install_generator.rb +4 -0
- data/lib/generators/data_porter/install/templates/create_data_porter_mapping_templates.rb.erb +16 -0
- data/lib/generators/data_porter/install/templates/initializer.rb +1 -1
- metadata +72 -135
- data/.claude/commands/blog-status.md +0 -10
- data/.claude/commands/blog.md +0 -109
- data/.claude/commands/task-done.md +0 -27
- data/.claude/commands/tm/add-dependency.md +0 -58
- data/.claude/commands/tm/add-subtask.md +0 -79
- data/.claude/commands/tm/add-task.md +0 -81
- data/.claude/commands/tm/analyze-complexity.md +0 -124
- data/.claude/commands/tm/analyze-project.md +0 -100
- data/.claude/commands/tm/auto-implement-tasks.md +0 -100
- data/.claude/commands/tm/command-pipeline.md +0 -80
- data/.claude/commands/tm/complexity-report.md +0 -120
- data/.claude/commands/tm/convert-task-to-subtask.md +0 -74
- data/.claude/commands/tm/expand-all-tasks.md +0 -52
- data/.claude/commands/tm/expand-task.md +0 -52
- data/.claude/commands/tm/fix-dependencies.md +0 -82
- data/.claude/commands/tm/help.md +0 -101
- data/.claude/commands/tm/init-project-quick.md +0 -49
- data/.claude/commands/tm/init-project.md +0 -53
- data/.claude/commands/tm/install-taskmaster.md +0 -118
- data/.claude/commands/tm/learn.md +0 -106
- data/.claude/commands/tm/list-tasks-by-status.md +0 -42
- data/.claude/commands/tm/list-tasks-with-subtasks.md +0 -30
- data/.claude/commands/tm/list-tasks.md +0 -46
- data/.claude/commands/tm/next-task.md +0 -69
- data/.claude/commands/tm/parse-prd-with-research.md +0 -51
- data/.claude/commands/tm/parse-prd.md +0 -52
- data/.claude/commands/tm/project-status.md +0 -67
- data/.claude/commands/tm/quick-install-taskmaster.md +0 -23
- data/.claude/commands/tm/remove-all-subtasks.md +0 -94
- data/.claude/commands/tm/remove-dependency.md +0 -65
- data/.claude/commands/tm/remove-subtask.md +0 -87
- data/.claude/commands/tm/remove-subtasks.md +0 -89
- data/.claude/commands/tm/remove-task.md +0 -110
- data/.claude/commands/tm/setup-models.md +0 -52
- data/.claude/commands/tm/show-task.md +0 -85
- data/.claude/commands/tm/smart-workflow.md +0 -58
- data/.claude/commands/tm/sync-readme.md +0 -120
- data/.claude/commands/tm/tm-main.md +0 -147
- data/.claude/commands/tm/to-cancelled.md +0 -58
- data/.claude/commands/tm/to-deferred.md +0 -50
- data/.claude/commands/tm/to-done.md +0 -47
- data/.claude/commands/tm/to-in-progress.md +0 -39
- data/.claude/commands/tm/to-pending.md +0 -35
- data/.claude/commands/tm/to-review.md +0 -43
- data/.claude/commands/tm/update-single-task.md +0 -122
- data/.claude/commands/tm/update-task.md +0 -75
- data/.claude/commands/tm/update-tasks-from-id.md +0 -111
- data/.claude/commands/tm/validate-dependencies.md +0 -72
- data/.claude/commands/tm/view-models.md +0 -52
- data/.env.example +0 -12
- data/.mcp.json +0 -24
- data/.taskmaster/CLAUDE.md +0 -435
- data/.taskmaster/config.json +0 -44
- data/.taskmaster/docs/prd.txt +0 -2044
- data/.taskmaster/state.json +0 -6
- data/.taskmaster/tasks/task_001.md +0 -19
- data/.taskmaster/tasks/task_002.md +0 -19
- data/.taskmaster/tasks/task_003.md +0 -19
- data/.taskmaster/tasks/task_004.md +0 -19
- data/.taskmaster/tasks/task_005.md +0 -19
- data/.taskmaster/tasks/task_006.md +0 -19
- data/.taskmaster/tasks/task_007.md +0 -19
- data/.taskmaster/tasks/task_008.md +0 -19
- data/.taskmaster/tasks/task_009.md +0 -19
- data/.taskmaster/tasks/task_010.md +0 -19
- data/.taskmaster/tasks/task_011.md +0 -19
- data/.taskmaster/tasks/task_012.md +0 -19
- data/.taskmaster/tasks/task_013.md +0 -19
- data/.taskmaster/tasks/task_014.md +0 -19
- data/.taskmaster/tasks/task_015.md +0 -19
- data/.taskmaster/tasks/task_016.md +0 -19
- data/.taskmaster/tasks/task_017.md +0 -19
- data/.taskmaster/tasks/task_018.md +0 -19
- data/.taskmaster/tasks/task_019.md +0 -19
- data/.taskmaster/tasks/task_020.md +0 -19
- data/.taskmaster/tasks/tasks.json +0 -299
- data/.taskmaster/templates/example_prd.txt +0 -47
- data/.taskmaster/templates/example_prd_rpg.txt +0 -511
- data/CLAUDE.md +0 -65
- data/config/database.yml +0 -3
- data/docs/SPEC.md +0 -2012
- data/docs/UI.md +0 -32
- data/docs/blog/001-why-build-a-data-import-engine.md +0 -166
- data/docs/blog/002-scaffolding-a-rails-engine.md +0 -188
- data/docs/blog/003-configuration-dsl.md +0 -222
- data/docs/blog/004-store-model-jsonb.md +0 -237
- data/docs/blog/005-target-dsl.md +0 -284
- data/docs/blog/006-parsing-csv-sources.md +0 -300
- data/docs/blog/007-orchestrator.md +0 -247
- data/docs/blog/008-actioncable-stimulus.md +0 -376
- data/docs/blog/009-phlex-ui-components.md +0 -446
- data/docs/blog/010-controllers-routing.md +0 -374
- data/docs/blog/011-generators.md +0 -364
- data/docs/blog/012-json-api-sources.md +0 -323
- data/docs/blog/013-testing-rails-engine.md +0 -618
- data/docs/blog/014-dry-run.md +0 -307
- data/docs/blog/015-publishing-retro.md +0 -264
- data/docs/blog/016-erb-view-templates.md +0 -431
- data/docs/blog/017-showcase-final-retro.md +0 -220
- data/docs/blog/BACKLOG.md +0 -8
- data/docs/blog/SERIES.md +0 -154
- data/lib/data_porter/components/failure_alert.rb +0 -20
- data/lib/data_porter/components/preview_table.rb +0 -54
- data/lib/data_porter/components/progress_bar.rb +0 -33
- data/lib/data_porter/components/results_summary.rb +0 -19
- data/lib/data_porter/components/status_badge.rb +0 -16
- data/lib/data_porter/components/summary_cards.rb +0 -30
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
Parse PRD With Research
|
|
2
|
-
|
|
3
|
-
Arguments: $ARGUMENTS
|
|
4
|
-
Parse PRD with enhanced research mode for better task generation.
|
|
5
|
-
|
|
6
|
-
Arguments: $ARGUMENTS (PRD file path)
|
|
7
|
-
|
|
8
|
-
## Research-Enhanced Parsing
|
|
9
|
-
|
|
10
|
-
Uses the research AI provider (typically Perplexity) for more comprehensive task generation with current best practices.
|
|
11
|
-
|
|
12
|
-
## Execution
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
task-master parse-prd --input=$ARGUMENTS --research
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Research Benefits
|
|
19
|
-
|
|
20
|
-
1. **Current Best Practices**
|
|
21
|
-
- Latest framework patterns
|
|
22
|
-
- Security considerations
|
|
23
|
-
- Performance optimizations
|
|
24
|
-
- Accessibility requirements
|
|
25
|
-
|
|
26
|
-
2. **Technical Deep Dive**
|
|
27
|
-
- Implementation approaches
|
|
28
|
-
- Library recommendations
|
|
29
|
-
- Architecture patterns
|
|
30
|
-
- Testing strategies
|
|
31
|
-
|
|
32
|
-
3. **Comprehensive Coverage**
|
|
33
|
-
- Edge cases consideration
|
|
34
|
-
- Error handling tasks
|
|
35
|
-
- Monitoring setup
|
|
36
|
-
- Deployment tasks
|
|
37
|
-
|
|
38
|
-
## Enhanced Output
|
|
39
|
-
|
|
40
|
-
Research mode typically:
|
|
41
|
-
- Generates more detailed tasks
|
|
42
|
-
- Includes industry standards
|
|
43
|
-
- Adds compliance considerations
|
|
44
|
-
- Suggests modern tooling
|
|
45
|
-
|
|
46
|
-
## When to Use
|
|
47
|
-
|
|
48
|
-
- New technology domains
|
|
49
|
-
- Complex requirements
|
|
50
|
-
- Regulatory compliance needed
|
|
51
|
-
- Best practices crucial
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
Parse PRD
|
|
2
|
-
|
|
3
|
-
Arguments: $ARGUMENTS
|
|
4
|
-
Parse a PRD document to generate tasks.
|
|
5
|
-
|
|
6
|
-
Arguments: $ARGUMENTS (PRD file path)
|
|
7
|
-
|
|
8
|
-
## Intelligent PRD Parsing
|
|
9
|
-
|
|
10
|
-
Analyzes your requirements document and generates a complete task breakdown.
|
|
11
|
-
|
|
12
|
-
## Execution
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
task-master parse-prd --input=$ARGUMENTS
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Parsing Process
|
|
19
|
-
|
|
20
|
-
1. **Document Analysis**
|
|
21
|
-
- Extract key requirements
|
|
22
|
-
- Identify technical components
|
|
23
|
-
- Detect dependencies
|
|
24
|
-
- Estimate complexity
|
|
25
|
-
|
|
26
|
-
2. **Task Generation**
|
|
27
|
-
- Create 10-15 tasks by default
|
|
28
|
-
- Include implementation tasks
|
|
29
|
-
- Add testing tasks
|
|
30
|
-
- Include documentation tasks
|
|
31
|
-
- Set logical dependencies
|
|
32
|
-
|
|
33
|
-
3. **Smart Enhancements**
|
|
34
|
-
- Group related functionality
|
|
35
|
-
- Set appropriate priorities
|
|
36
|
-
- Add acceptance criteria
|
|
37
|
-
- Include test strategies
|
|
38
|
-
|
|
39
|
-
## Options
|
|
40
|
-
|
|
41
|
-
Parse arguments for modifiers:
|
|
42
|
-
- Number after filename → `--num-tasks`
|
|
43
|
-
- `research` → Use research mode
|
|
44
|
-
- `comprehensive` → Generate more tasks
|
|
45
|
-
|
|
46
|
-
## Post-Generation
|
|
47
|
-
|
|
48
|
-
After parsing:
|
|
49
|
-
1. Display task summary
|
|
50
|
-
2. Show dependency graph
|
|
51
|
-
3. Suggest task expansion for complex items
|
|
52
|
-
4. Recommend sprint planning
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
Project Status
|
|
2
|
-
|
|
3
|
-
Arguments: $ARGUMENTS
|
|
4
|
-
Enhanced status command with comprehensive project insights.
|
|
5
|
-
|
|
6
|
-
Arguments: $ARGUMENTS
|
|
7
|
-
|
|
8
|
-
## Intelligent Status Overview
|
|
9
|
-
|
|
10
|
-
### 1. **Executive Summary**
|
|
11
|
-
Quick dashboard view:
|
|
12
|
-
- 🏃 Active work (in-progress tasks)
|
|
13
|
-
- 📊 Progress metrics (% complete, velocity)
|
|
14
|
-
- 🚧 Blockers and risks
|
|
15
|
-
- ⏱️ Time analysis (estimated vs actual)
|
|
16
|
-
- 🎯 Sprint/milestone progress
|
|
17
|
-
|
|
18
|
-
### 2. **Contextual Analysis**
|
|
19
|
-
|
|
20
|
-
Based on $ARGUMENTS, focus on:
|
|
21
|
-
- "sprint" → Current sprint progress and burndown
|
|
22
|
-
- "blocked" → Dependency chains and resolution paths
|
|
23
|
-
- "team" → Task distribution and workload
|
|
24
|
-
- "timeline" → Schedule adherence and projections
|
|
25
|
-
- "risk" → High complexity or overdue items
|
|
26
|
-
|
|
27
|
-
### 3. **Smart Insights**
|
|
28
|
-
|
|
29
|
-
**Workflow Health:**
|
|
30
|
-
- Idle tasks (in-progress > 24h without updates)
|
|
31
|
-
- Bottlenecks (multiple tasks waiting on same dependency)
|
|
32
|
-
- Quick wins (low complexity, high impact)
|
|
33
|
-
|
|
34
|
-
**Predictive Analytics:**
|
|
35
|
-
- Completion projections based on velocity
|
|
36
|
-
- Risk of missing deadlines
|
|
37
|
-
- Recommended task order for optimal flow
|
|
38
|
-
|
|
39
|
-
### 4. **Visual Intelligence**
|
|
40
|
-
|
|
41
|
-
Dynamic visualization based on data:
|
|
42
|
-
```
|
|
43
|
-
Sprint Progress: ████████░░ 80% (16/20 tasks)
|
|
44
|
-
Velocity Trend: ↗️ +15% this week
|
|
45
|
-
Blocked Tasks: 🔴 3 critical path items
|
|
46
|
-
|
|
47
|
-
Priority Distribution:
|
|
48
|
-
High: ████████ 8 tasks (2 blocked)
|
|
49
|
-
Medium: ████░░░░ 4 tasks
|
|
50
|
-
Low: ██░░░░░░ 2 tasks
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### 5. **Actionable Recommendations**
|
|
54
|
-
|
|
55
|
-
Based on analysis:
|
|
56
|
-
1. **Immediate actions** (unblock critical path)
|
|
57
|
-
2. **Today's focus** (optimal task sequence)
|
|
58
|
-
3. **Process improvements** (recurring patterns)
|
|
59
|
-
4. **Resource needs** (skills, time, dependencies)
|
|
60
|
-
|
|
61
|
-
### 6. **Historical Context**
|
|
62
|
-
|
|
63
|
-
Compare to previous periods:
|
|
64
|
-
- Velocity changes
|
|
65
|
-
- Pattern recognition
|
|
66
|
-
- Improvement areas
|
|
67
|
-
- Success patterns to repeat
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
Quick Install TaskMaster
|
|
2
|
-
Quick install Task Master globally if not already installed.
|
|
3
|
-
|
|
4
|
-
Execute this streamlined installation:
|
|
5
|
-
|
|
6
|
-
```bash
|
|
7
|
-
# Check and install in one command
|
|
8
|
-
task-master --version 2>/dev/null || npm install -g task-master-ai
|
|
9
|
-
|
|
10
|
-
# Verify installation
|
|
11
|
-
task-master --version
|
|
12
|
-
|
|
13
|
-
# Quick setup check
|
|
14
|
-
task-master models --status || echo "Note: You'll need to set up an AI provider API key"
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
If you see "command not found" after installation, you may need to:
|
|
18
|
-
1. Restart your terminal
|
|
19
|
-
2. Or add npm global bin to PATH: `export PATH=$(npm bin -g):$PATH`
|
|
20
|
-
|
|
21
|
-
Once installed, you can use all the Task Master commands!
|
|
22
|
-
|
|
23
|
-
Quick test: Run `/taskmaster:help` to see all available commands.
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
Remove All Subtasks
|
|
2
|
-
Clear all subtasks from all tasks globally.
|
|
3
|
-
|
|
4
|
-
## Global Subtask Clearing
|
|
5
|
-
|
|
6
|
-
Remove all subtasks across the entire project. Use with extreme caution.
|
|
7
|
-
|
|
8
|
-
## Execution
|
|
9
|
-
|
|
10
|
-
```bash
|
|
11
|
-
task-master clear-subtasks --all
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Pre-Clear Analysis
|
|
15
|
-
|
|
16
|
-
1. **Project-Wide Summary**
|
|
17
|
-
```
|
|
18
|
-
Global Subtask Summary
|
|
19
|
-
━━━━━━━━━━━━━━━━━━━━
|
|
20
|
-
Total parent tasks: 12
|
|
21
|
-
Total subtasks: 47
|
|
22
|
-
- Completed: 15
|
|
23
|
-
- In-progress: 8
|
|
24
|
-
- Pending: 24
|
|
25
|
-
|
|
26
|
-
Work at risk: ~120 hours
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
2. **Critical Warnings**
|
|
30
|
-
- In-progress subtasks that will lose work
|
|
31
|
-
- Completed subtasks with valuable history
|
|
32
|
-
- Complex dependency chains
|
|
33
|
-
- Integration test results
|
|
34
|
-
|
|
35
|
-
## Double Confirmation
|
|
36
|
-
|
|
37
|
-
```
|
|
38
|
-
⚠️ DESTRUCTIVE OPERATION WARNING ⚠️
|
|
39
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
40
|
-
This will remove ALL 47 subtasks from your project
|
|
41
|
-
Including 8 in-progress and 15 completed subtasks
|
|
42
|
-
|
|
43
|
-
This action CANNOT be undone
|
|
44
|
-
|
|
45
|
-
Type 'CLEAR ALL SUBTASKS' to confirm:
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## Smart Safeguards
|
|
49
|
-
|
|
50
|
-
- Require explicit confirmation phrase
|
|
51
|
-
- Create automatic backup
|
|
52
|
-
- Log all removed data
|
|
53
|
-
- Option to export first
|
|
54
|
-
|
|
55
|
-
## Use Cases
|
|
56
|
-
|
|
57
|
-
Valid reasons for global clear:
|
|
58
|
-
- Project restructuring
|
|
59
|
-
- Major pivot in approach
|
|
60
|
-
- Starting fresh breakdown
|
|
61
|
-
- Switching to different task organization
|
|
62
|
-
|
|
63
|
-
## Process
|
|
64
|
-
|
|
65
|
-
1. Full project analysis
|
|
66
|
-
2. Create backup file
|
|
67
|
-
3. Show detailed impact
|
|
68
|
-
4. Require confirmation
|
|
69
|
-
5. Execute removal
|
|
70
|
-
6. Generate summary report
|
|
71
|
-
|
|
72
|
-
## Alternative Suggestions
|
|
73
|
-
|
|
74
|
-
Before clearing all:
|
|
75
|
-
- Export subtasks to file
|
|
76
|
-
- Clear only pending subtasks
|
|
77
|
-
- Clear by task category
|
|
78
|
-
- Archive instead of delete
|
|
79
|
-
|
|
80
|
-
## Post-Clear Report
|
|
81
|
-
|
|
82
|
-
```
|
|
83
|
-
Global Subtask Clear Complete
|
|
84
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
85
|
-
Removed: 47 subtasks from 12 tasks
|
|
86
|
-
Backup saved: .taskmaster/backup/subtasks-20240115.json
|
|
87
|
-
Parent tasks updated: 12
|
|
88
|
-
Time estimates adjusted: Yes
|
|
89
|
-
|
|
90
|
-
Next steps:
|
|
91
|
-
- Review updated task list
|
|
92
|
-
- Re-expand complex tasks as needed
|
|
93
|
-
- Check project timeline
|
|
94
|
-
```
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
Remove Dependency
|
|
2
|
-
|
|
3
|
-
Arguments: $ARGUMENTS
|
|
4
|
-
Remove a dependency between tasks.
|
|
5
|
-
|
|
6
|
-
Arguments: $ARGUMENTS
|
|
7
|
-
|
|
8
|
-
Parse the task IDs to remove dependency relationship.
|
|
9
|
-
|
|
10
|
-
## Removing Dependencies
|
|
11
|
-
|
|
12
|
-
Removes a dependency relationship, potentially unblocking tasks.
|
|
13
|
-
|
|
14
|
-
## Argument Parsing
|
|
15
|
-
|
|
16
|
-
Parse natural language or IDs:
|
|
17
|
-
- "remove dependency between 5 and 3"
|
|
18
|
-
- "5 no longer needs 3"
|
|
19
|
-
- "unblock 5 from 3"
|
|
20
|
-
- "5 3" → remove dependency of 5 on 3
|
|
21
|
-
|
|
22
|
-
## Execution
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
task-master remove-dependency --id=<task-id> --depends-on=<dependency-id>
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Pre-Removal Checks
|
|
29
|
-
|
|
30
|
-
1. **Verify dependency exists**
|
|
31
|
-
2. **Check impact on task flow**
|
|
32
|
-
3. **Warn if it breaks logical sequence**
|
|
33
|
-
4. **Show what will be unblocked**
|
|
34
|
-
|
|
35
|
-
## Smart Analysis
|
|
36
|
-
|
|
37
|
-
Before removing:
|
|
38
|
-
- Show why dependency might have existed
|
|
39
|
-
- Check if removal makes tasks executable
|
|
40
|
-
- Verify no critical path disruption
|
|
41
|
-
- Suggest alternative dependencies
|
|
42
|
-
|
|
43
|
-
## Post-Removal
|
|
44
|
-
|
|
45
|
-
After removing:
|
|
46
|
-
1. Show updated task status
|
|
47
|
-
2. List newly unblocked tasks
|
|
48
|
-
3. Update project timeline
|
|
49
|
-
4. Suggest next actions
|
|
50
|
-
|
|
51
|
-
## Safety Features
|
|
52
|
-
|
|
53
|
-
- Confirm if removing critical dependency
|
|
54
|
-
- Show tasks that become immediately actionable
|
|
55
|
-
- Warn about potential issues
|
|
56
|
-
- Keep removal history
|
|
57
|
-
|
|
58
|
-
## Example
|
|
59
|
-
|
|
60
|
-
```
|
|
61
|
-
/taskmaster:remove-dependency 5 from 3
|
|
62
|
-
→ Removed: Task #5 no longer depends on #3
|
|
63
|
-
→ Task #5 is now UNBLOCKED and ready to start
|
|
64
|
-
→ Warning: Consider if #5 still needs #2 completed first
|
|
65
|
-
```
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
Remove Subtask
|
|
2
|
-
|
|
3
|
-
Arguments: $ARGUMENTS
|
|
4
|
-
Remove a subtask from its parent task.
|
|
5
|
-
|
|
6
|
-
Arguments: $ARGUMENTS
|
|
7
|
-
|
|
8
|
-
Parse subtask ID to remove, with option to convert to standalone task.
|
|
9
|
-
|
|
10
|
-
## Removing Subtasks
|
|
11
|
-
|
|
12
|
-
Remove a subtask and optionally convert it back to a standalone task.
|
|
13
|
-
|
|
14
|
-
## Argument Parsing
|
|
15
|
-
|
|
16
|
-
- "remove subtask 5.1"
|
|
17
|
-
- "delete 5.1"
|
|
18
|
-
- "convert 5.1 to task" → remove and convert
|
|
19
|
-
- "5.1 standalone" → convert to standalone
|
|
20
|
-
|
|
21
|
-
## Execution Options
|
|
22
|
-
|
|
23
|
-
### 1. Delete Subtask
|
|
24
|
-
```bash
|
|
25
|
-
task-master remove-subtask --id=<parentId.subtaskId>
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
### 2. Convert to Standalone
|
|
29
|
-
```bash
|
|
30
|
-
task-master remove-subtask --id=<parentId.subtaskId> --convert
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Pre-Removal Checks
|
|
34
|
-
|
|
35
|
-
1. **Validate Subtask**
|
|
36
|
-
- Verify subtask exists
|
|
37
|
-
- Check completion status
|
|
38
|
-
- Review dependencies
|
|
39
|
-
|
|
40
|
-
2. **Impact Analysis**
|
|
41
|
-
- Other subtasks that depend on it
|
|
42
|
-
- Parent task implications
|
|
43
|
-
- Data that will be lost
|
|
44
|
-
|
|
45
|
-
## Removal Process
|
|
46
|
-
|
|
47
|
-
### For Deletion:
|
|
48
|
-
1. Confirm if subtask has work done
|
|
49
|
-
2. Update parent task estimates
|
|
50
|
-
3. Remove subtask and its data
|
|
51
|
-
4. Clean up dependencies
|
|
52
|
-
|
|
53
|
-
### For Conversion:
|
|
54
|
-
1. Assign new standalone task ID
|
|
55
|
-
2. Preserve all task data
|
|
56
|
-
3. Update dependency references
|
|
57
|
-
4. Maintain task history
|
|
58
|
-
|
|
59
|
-
## Smart Features
|
|
60
|
-
|
|
61
|
-
- Warn if subtask is in-progress
|
|
62
|
-
- Show impact on parent task
|
|
63
|
-
- Preserve important data
|
|
64
|
-
- Update related estimates
|
|
65
|
-
|
|
66
|
-
## Example Flows
|
|
67
|
-
|
|
68
|
-
```
|
|
69
|
-
/taskmaster:remove-subtask 5.1
|
|
70
|
-
→ Warning: Subtask #5.1 is in-progress
|
|
71
|
-
→ This will delete all subtask data
|
|
72
|
-
→ Parent task #5 will be updated
|
|
73
|
-
Confirm deletion? (y/n)
|
|
74
|
-
|
|
75
|
-
/taskmaster:remove-subtask 5.1 convert
|
|
76
|
-
→ Converting subtask #5.1 to standalone task #89
|
|
77
|
-
→ Preserved: All task data and history
|
|
78
|
-
→ Updated: 2 dependency references
|
|
79
|
-
→ New task #89 is now independent
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
## Post-Removal
|
|
83
|
-
|
|
84
|
-
- Update parent task status
|
|
85
|
-
- Recalculate estimates
|
|
86
|
-
- Show updated hierarchy
|
|
87
|
-
- Suggest next actions
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
Remove Subtasks
|
|
2
|
-
|
|
3
|
-
Arguments: $ARGUMENTS
|
|
4
|
-
Clear all subtasks from a specific task.
|
|
5
|
-
|
|
6
|
-
Arguments: $ARGUMENTS (task ID)
|
|
7
|
-
|
|
8
|
-
Remove all subtasks from a parent task at once.
|
|
9
|
-
|
|
10
|
-
## Clearing Subtasks
|
|
11
|
-
|
|
12
|
-
Bulk removal of all subtasks from a parent task.
|
|
13
|
-
|
|
14
|
-
## Execution
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
task-master remove-subtasks --id=$ARGUMENTS
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Pre-Clear Analysis
|
|
21
|
-
|
|
22
|
-
1. **Subtask Summary**
|
|
23
|
-
- Number of subtasks
|
|
24
|
-
- Completion status of each
|
|
25
|
-
- Work already done
|
|
26
|
-
- Dependencies affected
|
|
27
|
-
|
|
28
|
-
2. **Impact Assessment**
|
|
29
|
-
- Data that will be lost
|
|
30
|
-
- Dependencies to be removed
|
|
31
|
-
- Effect on project timeline
|
|
32
|
-
- Parent task implications
|
|
33
|
-
|
|
34
|
-
## Confirmation Required
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
Remove Subtasks Confirmation
|
|
38
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
39
|
-
Parent Task: #5 "Implement user authentication"
|
|
40
|
-
Subtasks to remove: 4
|
|
41
|
-
- #5.1 "Setup auth framework" (done)
|
|
42
|
-
- #5.2 "Create login form" (in-progress)
|
|
43
|
-
- #5.3 "Add validation" (pending)
|
|
44
|
-
- #5.4 "Write tests" (pending)
|
|
45
|
-
|
|
46
|
-
⚠️ This will permanently delete all subtask data
|
|
47
|
-
Continue? (y/n)
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Smart Features
|
|
51
|
-
|
|
52
|
-
- Option to convert to standalone tasks
|
|
53
|
-
- Backup task data before clearing
|
|
54
|
-
- Preserve completed work history
|
|
55
|
-
- Update parent task appropriately
|
|
56
|
-
|
|
57
|
-
## Process
|
|
58
|
-
|
|
59
|
-
1. List all subtasks for confirmation
|
|
60
|
-
2. Check for in-progress work
|
|
61
|
-
3. Remove all subtasks
|
|
62
|
-
4. Update parent task
|
|
63
|
-
5. Clean up dependencies
|
|
64
|
-
|
|
65
|
-
## Alternative Options
|
|
66
|
-
|
|
67
|
-
Suggest alternatives:
|
|
68
|
-
- Convert important subtasks to tasks
|
|
69
|
-
- Keep completed subtasks
|
|
70
|
-
- Archive instead of delete
|
|
71
|
-
- Export subtask data first
|
|
72
|
-
|
|
73
|
-
## Post-Clear
|
|
74
|
-
|
|
75
|
-
- Show updated parent task
|
|
76
|
-
- Recalculate time estimates
|
|
77
|
-
- Update task complexity
|
|
78
|
-
- Suggest next steps
|
|
79
|
-
|
|
80
|
-
## Example
|
|
81
|
-
|
|
82
|
-
```
|
|
83
|
-
/taskmaster:remove-subtasks 5
|
|
84
|
-
→ Found 4 subtasks to remove
|
|
85
|
-
→ Warning: Subtask #5.2 is in-progress
|
|
86
|
-
→ Cleared all subtasks from task #5
|
|
87
|
-
→ Updated parent task estimates
|
|
88
|
-
→ Suggestion: Consider re-expanding with better breakdown
|
|
89
|
-
```
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
Remove Task
|
|
2
|
-
|
|
3
|
-
Arguments: $ARGUMENTS
|
|
4
|
-
Remove a task permanently from the project.
|
|
5
|
-
|
|
6
|
-
Arguments: $ARGUMENTS (task ID)
|
|
7
|
-
|
|
8
|
-
Delete a task and handle all its relationships properly.
|
|
9
|
-
|
|
10
|
-
## Task Removal
|
|
11
|
-
|
|
12
|
-
Permanently removes a task while maintaining project integrity.
|
|
13
|
-
|
|
14
|
-
## Argument Parsing
|
|
15
|
-
|
|
16
|
-
- "remove task 5"
|
|
17
|
-
- "delete 5"
|
|
18
|
-
- "5" → remove task 5
|
|
19
|
-
- Can include "-y" for auto-confirm
|
|
20
|
-
|
|
21
|
-
## Execution
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
task-master remove-task --id=<id> [-y]
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Pre-Removal Analysis
|
|
28
|
-
|
|
29
|
-
1. **Task Details**
|
|
30
|
-
- Current status
|
|
31
|
-
- Work completed
|
|
32
|
-
- Time invested
|
|
33
|
-
- Associated data
|
|
34
|
-
|
|
35
|
-
2. **Relationship Check**
|
|
36
|
-
- Tasks that depend on this
|
|
37
|
-
- Dependencies this task has
|
|
38
|
-
- Subtasks that will be removed
|
|
39
|
-
- Blocking implications
|
|
40
|
-
|
|
41
|
-
3. **Impact Assessment**
|
|
42
|
-
```
|
|
43
|
-
Task Removal Impact
|
|
44
|
-
━━━━━━━━━━━━━━━━━━
|
|
45
|
-
Task: #5 "Implement authentication" (in-progress)
|
|
46
|
-
Status: 60% complete (~8 hours work)
|
|
47
|
-
|
|
48
|
-
Will affect:
|
|
49
|
-
- 3 tasks depend on this (will be blocked)
|
|
50
|
-
- Has 4 subtasks (will be deleted)
|
|
51
|
-
- Part of critical path
|
|
52
|
-
|
|
53
|
-
⚠️ This action cannot be undone
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
## Smart Warnings
|
|
57
|
-
|
|
58
|
-
- Warn if task is in-progress
|
|
59
|
-
- Show dependent tasks that will be blocked
|
|
60
|
-
- Highlight if part of critical path
|
|
61
|
-
- Note any completed work being lost
|
|
62
|
-
|
|
63
|
-
## Removal Process
|
|
64
|
-
|
|
65
|
-
1. Show comprehensive impact
|
|
66
|
-
2. Require confirmation (unless -y)
|
|
67
|
-
3. Update dependent task references
|
|
68
|
-
4. Remove task and subtasks
|
|
69
|
-
5. Clean up orphaned dependencies
|
|
70
|
-
6. Log removal with timestamp
|
|
71
|
-
|
|
72
|
-
## Alternative Actions
|
|
73
|
-
|
|
74
|
-
Suggest before deletion:
|
|
75
|
-
- Mark as cancelled instead
|
|
76
|
-
- Convert to documentation
|
|
77
|
-
- Archive task data
|
|
78
|
-
- Transfer work to another task
|
|
79
|
-
|
|
80
|
-
## Post-Removal
|
|
81
|
-
|
|
82
|
-
- List affected tasks
|
|
83
|
-
- Show broken dependencies
|
|
84
|
-
- Update project statistics
|
|
85
|
-
- Suggest dependency fixes
|
|
86
|
-
- Recalculate timeline
|
|
87
|
-
|
|
88
|
-
## Example Flows
|
|
89
|
-
|
|
90
|
-
```
|
|
91
|
-
/taskmaster:remove-task 5
|
|
92
|
-
→ Task #5 is in-progress with 8 hours logged
|
|
93
|
-
→ 3 other tasks depend on this
|
|
94
|
-
→ Suggestion: Mark as cancelled instead?
|
|
95
|
-
Remove anyway? (y/n)
|
|
96
|
-
|
|
97
|
-
/taskmaster:remove-task 5 -y
|
|
98
|
-
→ Removed: Task #5 and 4 subtasks
|
|
99
|
-
→ Updated: 3 task dependencies
|
|
100
|
-
→ Warning: Tasks #7, #8, #9 now have missing dependency
|
|
101
|
-
→ Run /taskmaster:fix-dependencies to resolve
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
## Safety Features
|
|
105
|
-
|
|
106
|
-
- Confirmation required
|
|
107
|
-
- Impact preview
|
|
108
|
-
- Removal logging
|
|
109
|
-
- Suggest alternatives
|
|
110
|
-
- No cascade delete of dependents
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
Setup Models
|
|
2
|
-
Run interactive setup to configure AI models.
|
|
3
|
-
|
|
4
|
-
## Interactive Model Configuration
|
|
5
|
-
|
|
6
|
-
Guides you through setting up AI providers for Task Master.
|
|
7
|
-
|
|
8
|
-
## Execution
|
|
9
|
-
|
|
10
|
-
```bash
|
|
11
|
-
task-master models --setup
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Setup Process
|
|
15
|
-
|
|
16
|
-
1. **Environment Check**
|
|
17
|
-
- Detect existing API keys
|
|
18
|
-
- Show current configuration
|
|
19
|
-
- Identify missing providers
|
|
20
|
-
|
|
21
|
-
2. **Provider Selection**
|
|
22
|
-
- Choose main provider (required)
|
|
23
|
-
- Select research provider (recommended)
|
|
24
|
-
- Configure fallback (optional)
|
|
25
|
-
|
|
26
|
-
3. **API Key Configuration**
|
|
27
|
-
- Prompt for missing keys
|
|
28
|
-
- Validate key format
|
|
29
|
-
- Test connectivity
|
|
30
|
-
- Save configuration
|
|
31
|
-
|
|
32
|
-
## Smart Recommendations
|
|
33
|
-
|
|
34
|
-
Based on your needs:
|
|
35
|
-
- **For best results**: Claude + Perplexity
|
|
36
|
-
- **Budget conscious**: GPT-3.5 + Perplexity
|
|
37
|
-
- **Maximum capability**: GPT-4 + Perplexity + Claude fallback
|
|
38
|
-
|
|
39
|
-
## Configuration Storage
|
|
40
|
-
|
|
41
|
-
Keys can be stored in:
|
|
42
|
-
1. Environment variables (recommended)
|
|
43
|
-
2. `.env` file in project
|
|
44
|
-
3. Global `.taskmaster/config`
|
|
45
|
-
|
|
46
|
-
## Post-Setup
|
|
47
|
-
|
|
48
|
-
After configuration:
|
|
49
|
-
- Test each provider
|
|
50
|
-
- Show usage examples
|
|
51
|
-
- Suggest next steps
|
|
52
|
-
- Verify parse-prd works
|