@e0ipso/ai-task-manager 1.5.0 → 1.6.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/LICENSE
CHANGED
|
@@ -1,68 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Mateu
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
("Notice Period") to cease all use of the Software and remove all copies
|
|
23
|
-
from your systems.
|
|
24
|
-
|
|
25
|
-
4. CONDITIONS FOR REVOCATION
|
|
26
|
-
While the copyright holder may revoke this license at their sole discretion,
|
|
27
|
-
revocation may particularly occur in cases of:
|
|
28
|
-
- Violation of applicable laws or regulations
|
|
29
|
-
- Use of the Software in a manner harmful to others
|
|
30
|
-
- Commercial use without separate commercial license
|
|
31
|
-
- Any use deemed inappropriate by the copyright holder
|
|
32
|
-
|
|
33
|
-
5. POST-REVOCATION OBLIGATIONS
|
|
34
|
-
After the Notice Period expires, you must:
|
|
35
|
-
- Immediately cease all use of the Software
|
|
36
|
-
- Delete all copies of the Software from all systems under your control
|
|
37
|
-
- Certify destruction of copies if requested by the copyright holder
|
|
38
|
-
|
|
39
|
-
6. NO WARRANTY
|
|
40
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
41
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
42
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
43
|
-
|
|
44
|
-
7. LIMITATION OF LIABILITY
|
|
45
|
-
IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
46
|
-
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
47
|
-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
48
|
-
DEALINGS IN THE SOFTWARE.
|
|
49
|
-
|
|
50
|
-
8. ENTIRE AGREEMENT
|
|
51
|
-
This License constitutes the entire agreement between you and the copyright
|
|
52
|
-
holder relating to the Software and supersedes all prior or contemporaneous
|
|
53
|
-
understandings.
|
|
54
|
-
|
|
55
|
-
9. SEVERABILITY
|
|
56
|
-
If any provision of this License is held to be unenforceable, such provision
|
|
57
|
-
shall be reformed only to the extent necessary to make it enforceable.
|
|
58
|
-
|
|
59
|
-
10. GOVERNING LAW
|
|
60
|
-
This License shall be governed by the laws of the jurisdiction in which
|
|
61
|
-
the copyright holder resides, without regard to its conflict of law
|
|
62
|
-
provisions.
|
|
63
|
-
|
|
64
|
-
By using this Software, you acknowledge that you have read, understood, and
|
|
65
|
-
agree to be bound by the terms and conditions of this License.
|
|
66
|
-
|
|
67
|
-
For commercial licensing or other arrangements, please contact the copyright
|
|
68
|
-
holder directly.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Mateu Aguil� Bosch
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -180,12 +180,4 @@ Review and tweak the `.ai/task-manager/TASK_MANAGER.md` and `.ai/task-manager/co
|
|
|
180
180
|
|
|
181
181
|
## 📄 License
|
|
182
182
|
|
|
183
|
-
⚖️ **
|
|
184
|
-
|
|
185
|
-
This software is free to use, run, and operate for any lawful purposes. The
|
|
186
|
-
author can revoke the license to use it at any time and by any reason. A license
|
|
187
|
-
revocation notice may be provided through:
|
|
188
|
-
|
|
189
|
-
- 📧 Direct communication to known users
|
|
190
|
-
- 📢 Public announcement on the project repository
|
|
191
|
-
- 📝 Update to the LICENSE file
|
|
183
|
+
⚖️ **Open Source MIT License**
|
package/package.json
CHANGED
|
@@ -20,6 +20,15 @@ If no user input is provided stop immediately and show an error message to the u
|
|
|
20
20
|
|
|
21
21
|
### Process
|
|
22
22
|
|
|
23
|
+
Use your internal Todo task tool to track the plan generation. Example:
|
|
24
|
+
|
|
25
|
+
- [ ] User input and context analysis
|
|
26
|
+
- [ ] Clarification questions
|
|
27
|
+
- [ ] Plan generation: Executive Summary
|
|
28
|
+
- [ ] Plan generation: Detailed Steps
|
|
29
|
+
- [ ] Plan generation: Risk Considerations
|
|
30
|
+
- [ ] Plan generation: Success Metrics
|
|
31
|
+
|
|
23
32
|
#### Step 1: Context Analysis
|
|
24
33
|
Before creating any plan, analyze the user's request for:
|
|
25
34
|
- **Objective**: What is the end goal?
|
|
@@ -35,15 +44,17 @@ If any critical context is missing:
|
|
|
35
44
|
2. Ask targeted follow-up questions grouped by category
|
|
36
45
|
3. Wait for user responses before proceeding to planning
|
|
37
46
|
4. Frame questions clearly with examples when helpful
|
|
38
|
-
5. Be extra cautious. Users miss important context very often.
|
|
47
|
+
5. Be extra cautious. Users miss important context very often. Don't hesitate to ask for clarifications.
|
|
39
48
|
|
|
40
49
|
Example clarifying questions:
|
|
41
|
-
- "What is your primary goal with [specific aspect]?"
|
|
42
|
-
- "Do you have any existing [resources/code/infrastructure] I should consider?"
|
|
43
|
-
- "What is your timeline for completing this?"
|
|
44
|
-
- "Are there specific constraints I should account for?"
|
|
45
|
-
- "Do you want me to write tests for this?"
|
|
46
|
-
- "Are there other systems, projects, or modules that perform a similar task?"
|
|
50
|
+
- "Q: What is your primary goal with [specific aspect]?"
|
|
51
|
+
- "Q: Do you have any existing [resources/code/infrastructure] I should consider?"
|
|
52
|
+
- "Q: What is your timeline for completing this?"
|
|
53
|
+
- "Q: Are there specific constraints I should account for?"
|
|
54
|
+
- "Q: Do you want me to write tests for this?"
|
|
55
|
+
- "Q: Are there other systems, projects, or modules that perform a similar task?"
|
|
56
|
+
|
|
57
|
+
Try to answer your own questions first by inspecting the codebase, docs, and assistant documents like CLAUDE.md, GEMINI.md, AGENTS.md ...
|
|
47
58
|
|
|
48
59
|
#### Step 3: Plan Generation
|
|
49
60
|
Only after confirming sufficient context, create a plan that includes:
|
|
@@ -54,14 +65,7 @@ Only after confirming sufficient context, create a plan that includes:
|
|
|
54
65
|
|
|
55
66
|
Remember that a plan needs to be reviewed by a human. Be concise and to the point. Also, include mermaid diagrams to illustrate the plan.
|
|
56
67
|
|
|
57
|
-
|
|
58
|
-
- Never generate a partial or assumed plan without adequate context
|
|
59
|
-
- Prioritize accuracy over speed
|
|
60
|
-
- Consider both technical and non-technical aspects
|
|
61
|
-
- Adapt the plan format based on the task type (development, design, research, etc.)
|
|
62
|
-
- DO NOT create or list any tasks or phases during the plan creation. This will be done in a later step. Stick to writing the PRD (Project Requirements Document).
|
|
63
|
-
|
|
64
|
-
### Scope Control Guidelines
|
|
68
|
+
##### Scope Control Guidelines
|
|
65
69
|
**Critical: Implement ONLY what is explicitly requested**
|
|
66
70
|
|
|
67
71
|
- **Minimal Viable Implementation**: Build exactly what the user asked for, nothing more
|
|
@@ -79,7 +83,7 @@ Remember that a plan needs to be reviewed by a human. Be concise and to the poin
|
|
|
79
83
|
|
|
80
84
|
**When in doubt, ask**: "Is this feature explicitly mentioned in the user's request?"
|
|
81
85
|
|
|
82
|
-
|
|
86
|
+
##### Simplicity Principles
|
|
83
87
|
**Favor maintainability over cleverness**
|
|
84
88
|
|
|
85
89
|
- **Simple Solutions First**: Choose the most straightforward approach that meets requirements
|
|
@@ -91,23 +95,23 @@ Remember that a plan needs to be reviewed by a human. Be concise and to the poin
|
|
|
91
95
|
|
|
92
96
|
**Remember**: A working simple solution is better than a complex "perfect" one.
|
|
93
97
|
|
|
94
|
-
|
|
98
|
+
##### Output Format
|
|
95
99
|
Structure your response as follows:
|
|
96
100
|
- If context is insufficient: List specific clarifying questions
|
|
97
101
|
- If context is sufficient: Provide the comprehensive plan using the structure above. Use the information in @TASK_MANAGER.md for the directory structure and additional information about plans.
|
|
98
102
|
|
|
99
103
|
Outside the plan document, be **extremely** concise. Just tell the user that you are done, and instruct them to review the plan document.
|
|
100
104
|
|
|
101
|
-
|
|
105
|
+
###### Plan Template
|
|
102
106
|
|
|
103
107
|
Use the template in @.ai/task-manager/config/templates/PLAN_TEMPLATE.md
|
|
104
108
|
|
|
105
|
-
|
|
109
|
+
###### Patterns to Avoid
|
|
106
110
|
Do not include the following in your plan output.
|
|
107
111
|
- Avoid time estimations
|
|
108
112
|
- Avoid task lists and mentions of phases (those are things we'll introduce later)
|
|
109
113
|
|
|
110
|
-
|
|
114
|
+
###### Frontmatter Structure
|
|
111
115
|
|
|
112
116
|
Example:
|
|
113
117
|
```yaml
|
|
@@ -142,6 +146,13 @@ The schema for this frontmatter is:
|
|
|
142
146
|
}
|
|
143
147
|
```
|
|
144
148
|
|
|
149
|
+
### Critical Notes
|
|
150
|
+
- Never generate a partial or assumed plan without adequate context
|
|
151
|
+
- Prioritize accuracy over speed
|
|
152
|
+
- Consider both technical and non-technical aspects
|
|
153
|
+
- Use the plan template in .ai/task-manager/config/templates/PLAN_TEMPLATE.md
|
|
154
|
+
- DO NOT create or list any tasks or phases during the plan creation. This will be done in a later step. Stick to writing the PRD (Project Requirements Document).
|
|
155
|
+
|
|
145
156
|
### Plan ID Generation
|
|
146
157
|
|
|
147
158
|
**Auto-generate the next plan ID:**
|
|
@@ -24,10 +24,23 @@ If the plan does not exist, or the plan does not have an execution blueprint sec
|
|
|
24
24
|
|
|
25
25
|
## Execution Process
|
|
26
26
|
|
|
27
|
+
Use your internal Todo task tool to track the execution of all phases, and the final update of the plan with the summary. Example:
|
|
28
|
+
|
|
29
|
+
- [ ] Create feature branch from the main branch.
|
|
30
|
+
- [ ] Phase 1: Execute 1 task(s) in parallel.
|
|
31
|
+
- [ ] Execute POST_PHASE.md hook after Phase 1.
|
|
32
|
+
- [ ] Phase 2: Execute 3 task(s) in parallel.
|
|
33
|
+
- [ ] Execute POST_PHASE.md hook after Phase 2.
|
|
34
|
+
- [ ] Phase 3: Execute 1 task(s) in parallel.
|
|
35
|
+
- [ ] Execute POST_PHASE.md hook after Phase 3.
|
|
36
|
+
- [ ] Update the Plan 7 with execution summary, and the archive it.
|
|
37
|
+
|
|
27
38
|
### Phase Pre-Execution
|
|
28
39
|
|
|
29
40
|
Before starting execution check if you are in the `main` branch. If so, create a git branch to work on this blueprint use the plan name for the branch name.
|
|
30
41
|
|
|
42
|
+
If there are unstaged changes in the `main` branch, do not create a feature branch.
|
|
43
|
+
|
|
31
44
|
### Phase Execution Workflow
|
|
32
45
|
|
|
33
46
|
1. **Phase Initialization**
|
|
@@ -6,6 +6,15 @@ description: Execute a single task with dependency validation and status managem
|
|
|
6
6
|
|
|
7
7
|
You are responsible for executing a single task within a plan while maintaining strict dependency validation and proper status management. Your role is to ensure the task is ready for execution, deploy the appropriate agent, and track execution progress.
|
|
8
8
|
|
|
9
|
+
Use your internal Todo task tool to track the execution of all parts of the task, and the final update of noteworthy items during execution. Example:
|
|
10
|
+
|
|
11
|
+
- [ ] Validate task: file, status, and dependencies.
|
|
12
|
+
- [ ] Select the most appropriate sub-agent.
|
|
13
|
+
- [ ] Set task status to in-progress.
|
|
14
|
+
- [ ] Delegate task implementation to the sub-agent.
|
|
15
|
+
- [ ] Update task status to completed or failed.
|
|
16
|
+
- [ ] Update the task file with noteworthy events during execution.
|
|
17
|
+
|
|
9
18
|
## Critical Rules
|
|
10
19
|
|
|
11
20
|
1. **Never skip dependency validation** - Task execution requires all dependencies to be completed
|