chati-dev 2.0.3 → 2.0.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/assets/logo.svg +2 -2
- package/framework/agents/build/dev.md +13 -0
- package/framework/agents/clarity/architect.md +1 -1
- package/framework/agents/clarity/brief.md +4 -4
- package/framework/agents/clarity/brownfield-wu.md +1 -1
- package/framework/agents/clarity/detail.md +1 -1
- package/framework/agents/clarity/greenfield-wu.md +1 -1
- package/framework/agents/clarity/ux.md +1 -1
- package/framework/orchestrator/chati.md +41 -9
- package/package.json +4 -4
package/assets/logo.svg
CHANGED
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
<ellipse cx="77" cy="100" rx="3.5" ry="2.5" fill="rgba(255,255,255,0.3)"/>
|
|
36
36
|
<ellipse cx="133" cy="100" rx="3.5" ry="2.5" fill="rgba(255,255,255,0.3)"/>
|
|
37
37
|
|
|
38
|
-
<!-- "
|
|
38
|
+
<!-- "Chati.dev" text inline -->
|
|
39
39
|
<text x="210" y="122" font-family="ui-monospace,'SF Mono','Menlo','Consolas','Liberation Mono',monospace" font-weight="700" font-size="68" letter-spacing="-1">
|
|
40
|
-
<tspan fill="#e6edf3">
|
|
40
|
+
<tspan fill="#e6edf3">Chati</tspan><tspan fill="#4A90D9">.</tspan><tspan fill="#e6edf3">dev</tspan>
|
|
41
41
|
</text>
|
|
42
42
|
</svg>
|
|
@@ -338,6 +338,19 @@ Rules:
|
|
|
338
338
|
|
|
339
339
|
---
|
|
340
340
|
|
|
341
|
+
## Parallelization
|
|
342
|
+
|
|
343
|
+
```
|
|
344
|
+
This agent supports TASK-LEVEL parallelization (all modes):
|
|
345
|
+
- Independent tasks (no shared file dependencies) MUST run in parallel terminals
|
|
346
|
+
- Tasks with dependencies run sequentially within their dependency chain
|
|
347
|
+
- Each parallel terminal gets isolated write scope per task
|
|
348
|
+
- Orchestrator monitors all terminals and merges results after each batch
|
|
349
|
+
- See Transition Logic step 4.5, Group 2 for details
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
---
|
|
353
|
+
|
|
341
354
|
## Input
|
|
342
355
|
|
|
343
356
|
$ARGUMENTS
|
|
@@ -362,7 +362,7 @@ Beyond self-validation (Protocol 5.1), the Architect agent enforces:
|
|
|
362
362
|
|
|
363
363
|
---
|
|
364
364
|
|
|
365
|
-
## Parallelization
|
|
365
|
+
## Parallelization
|
|
366
366
|
|
|
367
367
|
- **Can run in parallel with**: Detail agent and UX agent (all three activate post-Brief in parallel-eligible pipelines)
|
|
368
368
|
- **Cannot run in parallel with**: Brief agent (upstream dependency), Phases agent (downstream dependency — requires architecture as input)
|
|
@@ -215,7 +215,7 @@ agents:
|
|
|
215
215
|
score: {calculated}
|
|
216
216
|
criteria_count: 9
|
|
217
217
|
completed_at: "{timestamp}"
|
|
218
|
-
|
|
218
|
+
next_parallel_group: [detail, architect, ux] # PARALLEL GROUP — see Transition Logic 4.5
|
|
219
219
|
last_handoff: chati.dev/artifacts/handoffs/brief-handoff.md
|
|
220
220
|
```
|
|
221
221
|
|
|
@@ -226,7 +226,7 @@ last_handoff: chati.dev/artifacts/handoffs/brief-handoff.md
|
|
|
226
226
|
**Greenfield:**
|
|
227
227
|
```
|
|
228
228
|
Next steps:
|
|
229
|
-
1. Continue to Detail
|
|
229
|
+
1. Continue to Detail + Architect + UX in parallel (Recommended) — 3 agents run simultaneously
|
|
230
230
|
2. Review the Brief report
|
|
231
231
|
3. Adjust Brief content
|
|
232
232
|
```
|
|
@@ -234,7 +234,7 @@ Next steps:
|
|
|
234
234
|
**Brownfield:**
|
|
235
235
|
```
|
|
236
236
|
Next steps:
|
|
237
|
-
1. Continue to Architect
|
|
237
|
+
1. Continue to Detail + Architect + UX in parallel (Recommended) — 3 agents run simultaneously
|
|
238
238
|
2. Review the Brief report
|
|
239
239
|
3. Adjust Brief content
|
|
240
240
|
```
|
|
@@ -444,7 +444,7 @@ On failure:
|
|
|
444
444
|
|
|
445
445
|
---
|
|
446
446
|
|
|
447
|
-
## Parallelization
|
|
447
|
+
## Parallelization
|
|
448
448
|
|
|
449
449
|
```
|
|
450
450
|
This agent is NOT parallelizable.
|
|
@@ -371,7 +371,7 @@ Beyond self-validation (Protocol 5.1), the Detail agent enforces:
|
|
|
371
371
|
|
|
372
372
|
---
|
|
373
373
|
|
|
374
|
-
## Parallelization
|
|
374
|
+
## Parallelization
|
|
375
375
|
|
|
376
376
|
- **Can run in parallel with**: Architect agent and UX agent (all three activate post-Brief in parallel-eligible pipelines)
|
|
377
377
|
- **Cannot run in parallel with**: Brief agent (upstream dependency), Phases agent (downstream dependency — requires PRD as input)
|
|
@@ -392,7 +392,7 @@ Beyond self-validation (Protocol 5.1), the UX agent enforces:
|
|
|
392
392
|
|
|
393
393
|
---
|
|
394
394
|
|
|
395
|
-
## Parallelization
|
|
395
|
+
## Parallelization
|
|
396
396
|
|
|
397
397
|
- **Can run in parallel with**: Detail agent and Architect agent (all three activate post-Brief in parallel-eligible pipelines)
|
|
398
398
|
- **Cannot run in parallel with**: Brief agent (upstream dependency), Phases agent (downstream dependency — requires UX specification as input)
|
|
@@ -164,6 +164,34 @@ When an agent completes (score >= 95%):
|
|
|
164
164
|
2. Agent updates session.yaml (status: completed, score, completed_at)
|
|
165
165
|
3. Agent updates CLAUDE.md with current state
|
|
166
166
|
4. Orchestrator identifies next agent from pipeline
|
|
167
|
+
|
|
168
|
+
╔══════════════════════════════════════════════════════════════╗
|
|
169
|
+
║ 4.5. PARALLELIZATION CHECK (MANDATORY — DO NOT SKIP) ║
|
|
170
|
+
║ ║
|
|
171
|
+
║ Before activating next agent, check parallel eligibility: ║
|
|
172
|
+
║ ║
|
|
173
|
+
║ GROUP 1 — Clarity Phase (after Brief completes): ║
|
|
174
|
+
║ Agents: [detail, architect, ux] ║
|
|
175
|
+
║ AUTONOMOUS: Spawn all 3 simultaneously (default) ║
|
|
176
|
+
║ HUMAN-IN-THE-LOOP: Offer parallel option (recommended) ║
|
|
177
|
+
║ Write scopes: ║
|
|
178
|
+
║ detail → chati.dev/artifacts/2-PRD/ ║
|
|
179
|
+
║ architect → chati.dev/artifacts/3-Architecture/ ║
|
|
180
|
+
║ ux → chati.dev/artifacts/4-UX/ ║
|
|
181
|
+
║ → Merge ALL handoffs before proceeding to Phases ║
|
|
182
|
+
║ ║
|
|
183
|
+
║ GROUP 2 — Build Phase (Dev agent tasks): ║
|
|
184
|
+
║ ALL MODES: Independent tasks ALWAYS run in parallel ║
|
|
185
|
+
║ → Analyze task dependency graph from tasks.md ║
|
|
186
|
+
║ → Tasks with no shared file deps = parallel ║
|
|
187
|
+
║ → Tasks with deps = sequential within their chain ║
|
|
188
|
+
║ → Each terminal gets isolated write scope per task ║
|
|
189
|
+
║ → Merge results after each parallel batch ║
|
|
190
|
+
║ ║
|
|
191
|
+
║ If next agent is NOT in a parallel group: ║
|
|
192
|
+
║ → Continue with sequential activation (step 5) ║
|
|
193
|
+
╚══════════════════════════════════════════════════════════════╝
|
|
194
|
+
|
|
167
195
|
5. Update session.yaml: current_agent = next_agent
|
|
168
196
|
6. Update project.state if crossing macro-phase boundary:
|
|
169
197
|
- WU through QA-Planning = clarity
|
|
@@ -862,6 +890,7 @@ Level 4 - Graceful Degradation:
|
|
|
862
890
|
### Autonomous Mode
|
|
863
891
|
```
|
|
864
892
|
- Execute pipeline transitions silently when gates pass (score >= 95%)
|
|
893
|
+
- Spawn parallel agent groups automatically (Detail + Architect + UX after Brief; independent Dev tasks in parallel)
|
|
865
894
|
- Auto-resolve simple deviations (redirect to correct agent)
|
|
866
895
|
- Pause only on:
|
|
867
896
|
- Quality gate failure (score < 95%)
|
|
@@ -886,25 +915,28 @@ Present suggestion with reasoning. User always has final say.
|
|
|
886
915
|
|
|
887
916
|
---
|
|
888
917
|
|
|
889
|
-
## Parallelization
|
|
918
|
+
## Parallelization Rules
|
|
890
919
|
|
|
891
920
|
### Parallelizable Agent Groups
|
|
892
921
|
```
|
|
893
|
-
Group 1 (post-Brief):
|
|
922
|
+
Group 1 (post-Brief) — MANDATORY PARALLEL:
|
|
894
923
|
- Detail + Architect + UX
|
|
895
|
-
-
|
|
924
|
+
- MUST run in 3 parallel terminals (autonomous mode)
|
|
925
|
+
- SHOULD offer parallel option (human-in-the-loop mode)
|
|
896
926
|
- Each writes to isolated artifact directories
|
|
897
|
-
- Orchestrator
|
|
927
|
+
- Orchestrator MUST collect and merge ALL handoffs before proceeding to Phases
|
|
898
928
|
|
|
899
|
-
Group 2 (Dev tasks):
|
|
900
|
-
- Independent dev tasks
|
|
901
|
-
- Each terminal has isolated write scope
|
|
929
|
+
Group 2 (Dev tasks) — MANDATORY PARALLEL:
|
|
930
|
+
- Independent dev tasks MUST run in N parallel terminals (all modes)
|
|
931
|
+
- Each terminal has isolated write scope per task
|
|
902
932
|
- Orchestrator monitors and collects results
|
|
933
|
+
- Tasks with no shared file dependencies run simultaneously
|
|
934
|
+
- Tasks with dependencies run sequentially within their chain
|
|
903
935
|
|
|
904
|
-
NOT parallelizable:
|
|
936
|
+
NOT parallelizable (always sequential):
|
|
905
937
|
- WU (needs user interaction)
|
|
906
938
|
- Brief (needs user interaction)
|
|
907
|
-
- Phases (depends on Detail + Architect + UX)
|
|
939
|
+
- Phases (depends on Detail + Architect + UX results)
|
|
908
940
|
- Tasks (depends on Phases)
|
|
909
941
|
- QA-Planning (validates everything)
|
|
910
942
|
- QA-Implementation (validates everything)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chati-dev",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "AI-Powered Multi-Agent Orchestration System — 13 agents, 6 IDEs, 4 languages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|
|
48
|
-
"url": "https://github.com/ogabrielalonso/
|
|
48
|
+
"url": "https://github.com/ogabrielalonso/Chati.dev.git",
|
|
49
49
|
"directory": "packages/chati-dev"
|
|
50
50
|
},
|
|
51
|
-
"homepage": "https://github.com/ogabrielalonso/
|
|
51
|
+
"homepage": "https://github.com/ogabrielalonso/Chati.dev#readme",
|
|
52
52
|
"bugs": {
|
|
53
|
-
"url": "https://github.com/ogabrielalonso/
|
|
53
|
+
"url": "https://github.com/ogabrielalonso/Chati.dev/issues"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@clack/prompts": "^0.7.0",
|