@e0ipso/ai-task-manager 1.33.0 → 1.34.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e0ipso/ai-task-manager",
3
- "version": "1.33.0",
3
+ "version": "1.34.0",
4
4
  "description": "Task management for AI coding assistants",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -1,7 +1,5 @@
1
1
  # POST_ERROR_DETECTION Hook
2
2
 
3
- This hook provides error handling procedures for task execution failures and validation gate failures.
4
-
5
3
  ## Task Execution Error Handling
6
4
 
7
5
  If task execution fails:
@@ -45,4 +43,4 @@ If validation gates fail:
45
43
  3. Generate remediation plan
46
44
  4. Re-execute affected tasks after fixes
47
45
  5. Re-run validation gates
48
- 6. If errors persist, escalate to the user
46
+ 6. If errors persist, escalate to the user
@@ -1,3 +1,5 @@
1
1
  # POST_PLAN Hook
2
2
 
3
- This hook provides validation and update procedures to execute after plan creation, ensuring comprehensive context analysis and proper plan document structuring with dependency visualization.
3
+ Ensure the plan includes a _Self Validation_ section describing the steps the LLM will take to validate that the plan was completed successfully.
4
+
5
+ Also, answer the question _Does this plan need to update the documentation, or the AGENTS.md_.
@@ -1,7 +1,5 @@
1
1
  # PRE_PHASE Hook
2
2
 
3
- This hook contains the phase preparation logic that should be executed before starting any phase execution.
4
-
5
3
  ## Phase Pre-Execution
6
4
 
7
5
  ### Feature Branch Creation
@@ -40,4 +38,4 @@ node $root/config/scripts/create-feature-branch.cjs $1
40
38
  done
41
39
  ```
42
40
  - Confirm no tasks are marked "needs-clarification"
43
- - If any phases are marked as completed, verify they are actually completed and continue from the next phase.
41
+ - If any phases are marked as completed, verify they are actually completed and continue from the next phase.
@@ -1,7 +1,5 @@
1
1
  # PRE_PLAN Hook
2
2
 
3
- This hook provides pre-planning guidance to ensure scope control, simplicity principles, and proper validation requirements are established before comprehensive plan creation.
4
-
5
3
  ## Scope Control Guidelines
6
4
 
7
5
  **Critical: Implement ONLY what is explicitly requested**
@@ -1,7 +1,5 @@
1
1
  # PRE_TASK_ASSIGNMENT Hook
2
2
 
3
- This hook executes before task assignment to determine the most appropriate agent for each task based on skill requirements and available sub-agents.
4
-
5
3
  ## Agent Selection and Task Assignment
6
4
 
7
5
  - For each task in the current phase:
@@ -0,0 +1 @@
1
+ # PRE_TASK_EXECUTION Hook
@@ -142,6 +142,9 @@ Read and execute $root/.ai/task-manager/config/hooks/PRE_TASK_ASSIGNMENT.md
142
142
 
143
143
  3. **Parallel Execution**
144
144
  - Deploy all selected agents simultaneously using your internal Task tool
145
+ - **Each agent MUST perform these steps in order:**
146
+ 1. Read and execute `$root/.ai/task-manager/config/hooks/PRE_TASK_EXECUTION.md` before starting any implementation work
147
+ 2. Execute the task according to its requirements
145
148
  - Monitor execution progress for each task
146
149
  - Capture outputs and artifacts from each agent
147
150
  - Update task status in real-time
@@ -53,7 +53,7 @@ Use your internal Todo task tool to track the execution of all parts of the task
53
53
 
54
54
  - [ ] Validate task: file, status (including needs-clarification), and dependencies.
55
55
  - [ ] Set task status to in-progress.
56
- - [ ] Execute the task.
56
+ - [ ] Execute the task (agent runs PRE_TASK_EXECUTION hook, then implements).
57
57
  - [ ] Update task status to completed or failed.
58
58
  - [ ] Document noteworthy events (if any).
59
59
  - [ ] Emit structured output for orchestrator.
@@ -253,10 +253,13 @@ Deploy the task using the Task tool with full context:
253
253
  - Required skills: `$task_skills`
254
254
  - Agent selection: Based on skills analysis or general-purpose agent
255
255
 
256
- Read the complete task file and execute according to its requirements. The task includes:
257
- - Objective and acceptance criteria
258
- - Technical requirements and implementation notes
259
- - Input dependencies and expected output artifacts
256
+ **The agent MUST perform these steps in order:**
257
+
258
+ 1. **Pre-flight validation**: Read and execute `$root/.ai/task-manager/config/hooks/PRE_TASK_EXECUTION.md` before starting any implementation work.
259
+ 2. **Execute the task**: Read the complete task file and implement according to its requirements, including:
260
+ - Objective and acceptance criteria
261
+ - Technical requirements and implementation notes
262
+ - Input dependencies and expected output artifacts
260
263
 
261
264
  ### 8. Post-Execution Status Management
262
265
 
@@ -83,6 +83,9 @@ Use your internal Todo task tool to track the workflow execution:
83
83
 
84
84
  Execute the following plan creation process:
85
85
 
86
+ For this step, think hard to create detailed, actionable plans based on the user input while
87
+ ensuring you have all necessary context before proceeding. Use the plan-creator sub-agent for this if it is available.
88
+
86
89
  Use tools for the planning. You are encouraged to write your own specialized tools to research, analyze, and debug
87
90
  any work order from the user. You are not restricted to the stack of the current project to create your own
88
91
  specialized tools.
@@ -747,6 +750,9 @@ Read and execute $root/.ai/task-manager/config/hooks/PRE_TASK_ASSIGNMENT.md
747
750
 
748
751
  3. **Parallel Execution**
749
752
  - Deploy all selected agents simultaneously using your internal Task tool
753
+ - **Each agent MUST perform these steps in order:**
754
+ 1. Read and execute `$root/.ai/task-manager/config/hooks/PRE_TASK_EXECUTION.md` before starting any implementation work
755
+ 2. Execute the task according to its requirements
750
756
  - Monitor execution progress for each task
751
757
  - Capture outputs and artifacts from each agent
752
758
  - Update task status in real-time