@zik000/archai 0.2.3 → 0.2.4

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/README.md CHANGED
@@ -45,7 +45,7 @@ And tell it what to build:
45
45
  After reviewing and approving the spec:
46
46
 
47
47
  ```
48
- > Use maestro-agent for: the prepared task in .claude/state/prepared-task.md
48
+ > Use maestro-agent for: the prepared task in .task/inbox/Task-AUTH-001.md
49
49
  ```
50
50
 
51
51
  The agent system takes over — plans the work, waits for your approval, implements it, runs tests, and commits.
@@ -76,7 +76,7 @@ For vague or complex tasks, structure them first:
76
76
  > Use task-prep for: add user authentication with JWT
77
77
  ```
78
78
 
79
- The agent gathers project context, asks targeted clarifying questions, and produces a structured spec. After you approve, it saves to `.claude/state/prepared-task.md`.
79
+ The agent gathers project context, asks targeted clarifying questions, and produces a structured spec. After you approve, it saves to `.task/inbox/` with a descriptive name like `Task-AUTH-001.md`.
80
80
 
81
81
  ### Step 1: Define Your Task
82
82
 
@@ -210,7 +210,7 @@ your-project/
210
210
  ├── .claude/
211
211
  │ ├── agents/ # Core + specialist agent definitions
212
212
  │ ├── plans/ # Approved implementation plans
213
- │ ├── state/ # Working state (gitignored, includes prepared-task.md)
213
+ │ ├── state/ # Working state (gitignored)
214
214
  │ └── version.json # Version tracking for smart updates
215
215
  ├── .knowledge/ # Persistent knowledge base (decisions, constraints, patterns, learnings)
216
216
  ├── .tasks/ # Task inbox, epics, review, done
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zik000/archai",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Multi-agent AI development workflow setup for any project",
5
5
  "keywords": [
6
6
  "claude",
@@ -50,7 +50,7 @@ git branch --show-current
50
50
 
51
51
  ## Step 0: Create Task Anchor
52
52
 
53
- **Check for prepared task**: If `.claude/state/prepared-task.md` exists (created by `task-prep`), use it as the basis:
53
+ **Check for prepared task**: If a task spec exists in `.task/inbox/` (created by `task-prep`), use the one specified by the user (or the most recent) as the basis:
54
54
  - Objective → Original Request
55
55
  - Acceptance Criteria → Acceptance Criteria
56
56
  - Dependencies + Business Context → Critical Constraints
@@ -32,7 +32,7 @@ You are the FIRST agent in the pipeline. You sit BEFORE the execution loop. Your
32
32
  - Read `.knowledge/context/project-description.md`
33
33
  - Read `archai.config.md` (if exists)
34
34
  - Run `git status` and `git log --oneline -10`
35
- - Check `.claude/state/` for in-progress work
35
+ - Check `.task/inbox/` for existing tasks/epics (to determine next index number)
36
36
 
37
37
  ### Step 2: Classify Input
38
38
 
@@ -89,13 +89,39 @@ For any business rules, scope decisions, or user preferences gathered during ref
89
89
 
90
90
  ### Step 6: Structure Output
91
91
 
92
- Write the standardized task spec to `.claude/state/prepared-task.md`:
92
+ #### File Naming Convention
93
+
94
+ Output goes to `.task/inbox/` using this naming scheme:
95
+
96
+ ```
97
+ [Task|Epic]-{SLUG}-{INDEX}.md
98
+ ```
99
+
100
+ - **Task or Epic**: Based on classification from Step 2
101
+ - **SLUG**: 4-6 uppercase letters identifying the area (e.g., `AUTH`, `AGENT`, `ROUTE`, `DBMIG`, `UIPNL`)
102
+ - **INDEX**: 3-digit zero-padded number, auto-incremented per slug
103
+
104
+ **Index rules:**
105
+ 1. List existing files in `.task/inbox/` matching the same slug pattern (e.g., `Task-AUTH-*.md`)
106
+ 2. If none exist, start at `001`
107
+ 3. If matches exist, take the highest index and increment by 1
108
+
109
+ **Examples:**
110
+ - First auth task: `Task-AUTH-001.md`
111
+ - Second auth task: `Task-AUTH-002.md`
112
+ - An epic for refactoring agents: `Epic-AGENT-001.md`
113
+ - A task for UI panels: `Task-UIPNL-001.md`
114
+
115
+ Create the `.task/inbox/` directory if it doesn't exist.
116
+
117
+ #### Spec Template
118
+
119
+ Write the standardized task spec:
93
120
 
94
121
  ```markdown
95
122
  ## Task: [clear imperative title]
96
- **ID**: task-{YYYYMMDD}-{HHMMSS}
97
- **Type**: Task
98
- **Parent Epic**: (none, or epic ID if decomposed)
123
+ **Type**: Task | Epic
124
+ **Parent Epic**: (none, or epic filename if decomposed)
99
125
 
100
126
  ### Context
101
127
  [Auto-gathered project context from Step 3]
@@ -134,10 +160,10 @@ Show the structured spec to the user. Wait for:
134
160
  - **MODIFY** → Return to Step 4 for another refinement turn (within the 3-turn limit).
135
161
  - **REJECT** → Discard and start over.
136
162
 
137
- After approval, tell the user:
163
+ After approval, tell the user (using the actual filename):
138
164
  ```
139
- Spec saved to .claude/state/prepared-task.md
140
- Next: Use maestro-agent for: the prepared task in .claude/state/prepared-task.md
165
+ Spec saved to .task/inbox/{filename}.md
166
+ Next: Use maestro-agent for: the prepared task in .task/inbox/{filename}.md
141
167
  ```
142
168
 
143
169
  ---
@@ -153,7 +179,7 @@ Next: Use maestro-agent for: the prepared task in .claude/state/prepared-task.md
153
179
 
154
180
  ## Output
155
181
 
156
- **Primary output**: `.claude/state/prepared-task.md`
182
+ **Primary output**: `.task/inbox/[Task|Epic]-{SLUG}-{INDEX}.md`
157
183
  **Secondary output**: Knowledge signals appended to `.claude/state/knowledge_signals.md`
158
184
 
159
185
  ## Usage
@@ -161,7 +187,8 @@ Next: Use maestro-agent for: the prepared task in .claude/state/prepared-task.md
161
187
  ```
162
188
  # Prepare a task spec from a vague request
163
189
  Use task-prep for: add user authentication with JWT
190
+ # → creates .task/inbox/Task-AUTH-001.md
164
191
 
165
192
  # After reviewing and approving the spec:
166
- Use maestro-agent for: the prepared task in .claude/state/prepared-task.md
193
+ Use maestro-agent for: the prepared task in .task/inbox/Task-AUTH-001.md
167
194
  ```