chati-dev 2.0.2 → 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/README.md +4 -4
- package/assets/logo.svg +2 -2
- package/bin/chati.js +8 -8
- 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/constitution.md +8 -8
- package/framework/context/governance.md +1 -1
- package/framework/context/protocols.md +1 -1
- package/framework/context/quality.md +1 -1
- package/framework/context/root.md +1 -1
- package/framework/data/entity-registry.yaml +1 -1
- package/framework/i18n/en.yaml +5 -5
- package/framework/i18n/es.yaml +5 -5
- package/framework/i18n/fr.yaml +5 -5
- package/framework/i18n/pt.yaml +5 -5
- package/framework/intelligence/context-engine.md +1 -1
- package/framework/intelligence/decision-engine.md +1 -1
- package/framework/intelligence/memory-layer.md +2 -2
- package/framework/orchestrator/chati.md +47 -15
- package/package.json +5 -5
- package/src/installer/core.js +4 -4
- package/src/installer/templates.js +3 -3
- package/src/orchestrator/index.js +1 -1
- package/src/orchestrator/session-manager.js +1 -1
- package/src/utils/colors.js +1 -1
- package/src/utils/logger.js +1 -1
- package/src/wizard/i18n.js +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<br>
|
|
3
|
-
<img src="packages/chati-dev/assets/logo.svg" alt="
|
|
3
|
+
<img src="packages/chati-dev/assets/logo.svg" alt="Chati.dev" width="380">
|
|
4
4
|
<br><br>
|
|
5
5
|
<strong>AI-Powered Multi-Agent Orchestration System</strong><br>
|
|
6
6
|
<em>13 agents. 17 articles. 6 IDEs. 4 languages. 849 tests. Structured vibe coding.</em>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
A structured, agent-driven orchestration system that coordinates **13 specialized AI agents** across the full software development lifecycle — from requirements gathering to deployment. Every decision is traceable, every artifact is validated, every session persists.
|
|
22
22
|
|
|
23
|
-
## Why
|
|
23
|
+
## Why Chati.dev?
|
|
24
24
|
|
|
25
25
|
### The Problem
|
|
26
26
|
|
|
@@ -32,7 +32,7 @@ AI-assisted development today suffers from three critical issues:
|
|
|
32
32
|
|
|
33
33
|
### The Solution
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
Chati.dev introduces **Agent-Driven Development**: a pipeline of 13 specialized agents where each agent owns a specific phase, produces validated artifacts, and hands off context to the next agent. An Intelligence Layer ensures context is never lost, knowledge persists across sessions, and the user never accidentally leaves the system.
|
|
36
36
|
|
|
37
37
|
```
|
|
38
38
|
CLARITY (planning) → Quality Gate → BUILD → Quality Gate → DEPLOY
|
|
@@ -343,5 +343,5 @@ This project is licensed under the MIT License — see [LICENSE](LICENSE) for de
|
|
|
343
343
|
|
|
344
344
|
<p align="center">
|
|
345
345
|
<sub>Built with structure, validated by agents, governed by constitution.</sub><br>
|
|
346
|
-
<sub>
|
|
346
|
+
<sub>Chati.dev © 2026</sub>
|
|
347
347
|
</p>
|
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>
|
package/bin/chati.js
CHANGED
|
@@ -15,7 +15,7 @@ function showBanner() {
|
|
|
15
15
|
try {
|
|
16
16
|
logoText = readFileSync(join(__dirname, '..', 'assets', 'logo.txt'), 'utf-8');
|
|
17
17
|
} catch {
|
|
18
|
-
logoText = '
|
|
18
|
+
logoText = 'Chati.dev';
|
|
19
19
|
}
|
|
20
20
|
logBanner(logoText, pkg.version);
|
|
21
21
|
}
|
|
@@ -55,7 +55,7 @@ async function main() {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
if (result.hasUpdate) {
|
|
58
|
-
console.log(`
|
|
58
|
+
console.log(`Chati.dev v${result.currentVersion} -> v${result.latestVersion} available`);
|
|
59
59
|
console.log();
|
|
60
60
|
for (const line of result.changes || []) {
|
|
61
61
|
console.log(line);
|
|
@@ -63,7 +63,7 @@ async function main() {
|
|
|
63
63
|
console.log();
|
|
64
64
|
console.log("Run 'npx chati-dev upgrade' to update.");
|
|
65
65
|
} else {
|
|
66
|
-
console.log(`
|
|
66
|
+
console.log(`Chati.dev v${result.currentVersion} is up to date.`);
|
|
67
67
|
}
|
|
68
68
|
break;
|
|
69
69
|
}
|
|
@@ -79,11 +79,11 @@ async function main() {
|
|
|
79
79
|
|
|
80
80
|
const currentVersion = getCurrentVersion(targetDir);
|
|
81
81
|
if (!currentVersion) {
|
|
82
|
-
console.error('No
|
|
82
|
+
console.error('No Chati.dev installation found. Run `npx chati-dev init` first.');
|
|
83
83
|
process.exit(1);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
console.log(`Upgrading
|
|
86
|
+
console.log(`Upgrading Chati.dev v${currentVersion} -> v${targetVersion}...`);
|
|
87
87
|
|
|
88
88
|
// 1. Create backup
|
|
89
89
|
console.log(' Creating backup...');
|
|
@@ -118,7 +118,7 @@ async function main() {
|
|
|
118
118
|
updateConfigVersion(targetDir, targetVersion);
|
|
119
119
|
|
|
120
120
|
console.log();
|
|
121
|
-
console.log(`
|
|
121
|
+
console.log(`Chati.dev upgraded to v${targetVersion} successfully.`);
|
|
122
122
|
break;
|
|
123
123
|
}
|
|
124
124
|
|
|
@@ -235,7 +235,7 @@ async function main() {
|
|
|
235
235
|
const { runHealthCheck } = await import('../src/intelligence/registry-manager.js');
|
|
236
236
|
const checks = runHealthCheck(targetDir);
|
|
237
237
|
|
|
238
|
-
console.log('
|
|
238
|
+
console.log('Chati.dev Health Check');
|
|
239
239
|
console.log('='.repeat(30));
|
|
240
240
|
console.log(` Registry: ${checks.registry.pass ? 'PASS' : 'FAIL'} ${checks.registry.details}`);
|
|
241
241
|
console.log(` Schemas: ${checks.schemas.pass ? 'PASS' : 'FAIL'} ${checks.schemas.details}`);
|
|
@@ -248,7 +248,7 @@ async function main() {
|
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
case 'changelog': {
|
|
251
|
-
console.log(`
|
|
251
|
+
console.log(`Chati.dev v${pkg.version} Changelog`);
|
|
252
252
|
console.log('═'.repeat(40));
|
|
253
253
|
console.log();
|
|
254
254
|
console.log('v1.0.0 - Initial Release');
|
|
@@ -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)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Chati.dev Constitution
|
|
2
2
|
|
|
3
3
|
## Preamble
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Chati.dev is a planning-first AI-assisted orchestration system that coordinates 13 specialized agents to guide software projects from initial discovery through deployment. This Constitution defines the governance rules, quality standards, and behavioral protocols that all agents must follow.
|
|
6
6
|
|
|
7
7
|
### 4 Core Principles
|
|
8
8
|
|
|
@@ -32,7 +32,7 @@ chati.dev is a planning-first AI-assisted orchestration system that coordinates
|
|
|
32
32
|
|
|
33
33
|
### Exclusion List
|
|
34
34
|
|
|
35
|
-
The following items from source projects are explicitly excluded from
|
|
35
|
+
The following items from source projects are explicitly excluded from Chati.dev:
|
|
36
36
|
- CI/CD pipelines, release scripts, publish scripts from source projects
|
|
37
37
|
- Husky/lint-staged configs (contributor tooling)
|
|
38
38
|
- npm package configs (.npmignore, .npmrc)
|
|
@@ -48,7 +48,7 @@ The following items from source projects are explicitly excluded from chati.dev:
|
|
|
48
48
|
|
|
49
49
|
## Article I: Agent Governance
|
|
50
50
|
|
|
51
|
-
Every agent in
|
|
51
|
+
Every agent in Chati.dev:
|
|
52
52
|
1. Has a defined mission, scope, and success criteria
|
|
53
53
|
2. Operates within its designated pipeline position
|
|
54
54
|
3. Cannot modify artifacts owned by other agents without orchestrator approval
|
|
@@ -334,14 +334,14 @@ The pipeline operates in three execution modes that control agent permissions. M
|
|
|
334
334
|
Once the orchestrator is activated via `/chati`, a session lock engages. All agents and the orchestrator itself are bound by these rules:
|
|
335
335
|
|
|
336
336
|
1. **Lock is mandatory**: When a session is active (session.yaml has project.name and current_agent), the session lock MUST be ACTIVE. CLAUDE.md MUST contain the Session Lock block.
|
|
337
|
-
2. **All messages routed**: Every user message MUST be routed through the orchestrator and then to the active agent. No message may be answered outside of the
|
|
338
|
-
3. **No generic responses**: The AI MUST NOT respond as a generic assistant while the lock is active. It IS the
|
|
337
|
+
2. **All messages routed**: Every user message MUST be routed through the orchestrator and then to the active agent. No message may be answered outside of the Chati.dev system while the lock is active.
|
|
338
|
+
3. **No generic responses**: The AI MUST NOT respond as a generic assistant while the lock is active. It IS the Chati.dev orchestrator. Off-topic requests are handled via the Deviation Protocol (5.7), not by dropping out of the system.
|
|
339
339
|
4. **Explicit exit only**: The session lock is released ONLY by explicit user intent via recognized exit commands (`/chati exit`, `/chati stop`, `/chati quit`) or clear natural language exit requests in the user's language.
|
|
340
340
|
5. **Exit preserves state**: On exit, all session state, progress, and partial work MUST be persisted. The session lock status in CLAUDE.md is set to INACTIVE. The user can resume anytime with `/chati`.
|
|
341
341
|
6. **Resume re-locks**: When `/chati` is invoked after a previous exit, the session lock is immediately re-activated and CLAUDE.md is updated with the active lock block.
|
|
342
342
|
7. **IDE restart resilience**: If the IDE is closed/restarted, the session lock status in CLAUDE.md persists. On the next `/chati` invocation, the orchestrator detects the existing session and re-engages the lock.
|
|
343
343
|
|
|
344
|
-
**Enforcement: BLOCK** — Responses outside the
|
|
344
|
+
**Enforcement: BLOCK** — Responses outside the Chati.dev system while session lock is active are violations.
|
|
345
345
|
|
|
346
346
|
---
|
|
347
347
|
|
|
@@ -402,5 +402,5 @@ The system SHALL support two execution modes that govern the degree of human inv
|
|
|
402
402
|
|
|
403
403
|
---
|
|
404
404
|
|
|
405
|
-
*
|
|
405
|
+
*Chati.dev Constitution v2.0.0 — 17 Articles + Preamble*
|
|
406
406
|
*All agents are bound by this Constitution. Violations are enforced per article.*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Chati.dev Entity Registry — Central Catalog of All System Artifacts
|
|
2
2
|
# Used by the Decision Engine for REUSE/ADAPT/CREATE recommendations
|
|
3
3
|
# and by the Health Check for system integrity validation.
|
|
4
4
|
|
package/framework/i18n/en.yaml
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Chati.dev i18n — English
|
|
2
2
|
language: en
|
|
3
3
|
name: English
|
|
4
4
|
|
|
5
5
|
installer:
|
|
6
|
-
welcome: "Welcome to
|
|
6
|
+
welcome: "Welcome to Chati.dev"
|
|
7
7
|
select_language: "Select your language:"
|
|
8
8
|
project_type: "What type of project are you setting up?"
|
|
9
9
|
greenfield: "Greenfield (new project from scratch)"
|
|
10
10
|
brownfield: "Brownfield (existing project integration)"
|
|
11
11
|
detected_brownfield: "Detected package.json and src/ in current directory"
|
|
12
12
|
suggestion_brownfield: "Suggestion: Brownfield"
|
|
13
|
-
select_ides: "Select IDE(s) for
|
|
13
|
+
select_ides: "Select IDE(s) for Chati.dev configuration:"
|
|
14
14
|
select_mcps: "Select MCPs to install (project-level):"
|
|
15
15
|
confirmation_title: "Installation Summary"
|
|
16
16
|
project_label: "Project"
|
|
@@ -25,7 +25,7 @@ installer:
|
|
|
25
25
|
session_mgmt: "Session management system"
|
|
26
26
|
quality_gates: "Quality gates (4-tier validation)"
|
|
27
27
|
proceed: "Proceed with installation?"
|
|
28
|
-
installing: "Installing
|
|
28
|
+
installing: "Installing Chati.dev..."
|
|
29
29
|
created_chati: "Created .chati/ session directory"
|
|
30
30
|
created_framework: "Created chati.dev/ system directory (agents, templates, workflows)"
|
|
31
31
|
created_commands: "Created .claude/commands/ (thin router)"
|
|
@@ -44,7 +44,7 @@ installer:
|
|
|
44
44
|
registry_valid: "Entity Registry: valid"
|
|
45
45
|
memories_valid: "Memory directory tree: valid"
|
|
46
46
|
session_ok: "Session schema: valid"
|
|
47
|
-
success: "
|
|
47
|
+
success: "Chati.dev installed successfully!"
|
|
48
48
|
quick_start_title: "Quick Start"
|
|
49
49
|
quick_start_1: "Open your IDE"
|
|
50
50
|
quick_start_2: "Type: /chati"
|
package/framework/i18n/es.yaml
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Chati.dev i18n — Espanol
|
|
2
2
|
language: es
|
|
3
3
|
name: Espanol
|
|
4
4
|
|
|
5
5
|
installer:
|
|
6
|
-
welcome: "Bienvenido a
|
|
6
|
+
welcome: "Bienvenido a Chati.dev"
|
|
7
7
|
select_language: "Seleccione su idioma:"
|
|
8
8
|
project_type: "Que tipo de proyecto esta configurando?"
|
|
9
9
|
greenfield: "Greenfield (nuevo proyecto desde cero)"
|
|
10
10
|
brownfield: "Brownfield (integracion con proyecto existente)"
|
|
11
11
|
detected_brownfield: "Detectado package.json y src/ en el directorio actual"
|
|
12
12
|
suggestion_brownfield: "Sugerencia: Brownfield"
|
|
13
|
-
select_ides: "Seleccione IDE(s) para configuracion de
|
|
13
|
+
select_ides: "Seleccione IDE(s) para configuracion de Chati.dev:"
|
|
14
14
|
select_mcps: "Seleccione MCPs para instalar (nivel de proyecto):"
|
|
15
15
|
confirmation_title: "Resumen de Instalacion"
|
|
16
16
|
project_label: "Proyecto"
|
|
@@ -25,7 +25,7 @@ installer:
|
|
|
25
25
|
session_mgmt: "Sistema de gestion de sesion"
|
|
26
26
|
quality_gates: "Quality gates (validacion en 4 capas)"
|
|
27
27
|
proceed: "Proceder con la instalacion?"
|
|
28
|
-
installing: "Instalando
|
|
28
|
+
installing: "Instalando Chati.dev..."
|
|
29
29
|
created_chati: "Creado directorio de sesion .chati/"
|
|
30
30
|
created_framework: "Creado directorio del sistema chati.dev/ (agentes, templates, workflows)"
|
|
31
31
|
created_commands: "Creado .claude/commands/ (enrutador)"
|
|
@@ -44,7 +44,7 @@ installer:
|
|
|
44
44
|
registry_valid: "Entity Registry: valido"
|
|
45
45
|
memories_valid: "Arbol de directorios de memoria: valido"
|
|
46
46
|
session_ok: "Schema de sesion: valido"
|
|
47
|
-
success: "
|
|
47
|
+
success: "Chati.dev instalado con exito!"
|
|
48
48
|
quick_start_title: "Inicio Rapido"
|
|
49
49
|
quick_start_1: "Abra su IDE"
|
|
50
50
|
quick_start_2: "Escriba: /chati"
|
package/framework/i18n/fr.yaml
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Chati.dev i18n — Francais
|
|
2
2
|
language: fr
|
|
3
3
|
name: Francais
|
|
4
4
|
|
|
5
5
|
installer:
|
|
6
|
-
welcome: "Bienvenue sur
|
|
6
|
+
welcome: "Bienvenue sur Chati.dev"
|
|
7
7
|
select_language: "Selectionnez votre langue:"
|
|
8
8
|
project_type: "Quel type de projet configurez-vous?"
|
|
9
9
|
greenfield: "Greenfield (nouveau projet a partir de zero)"
|
|
10
10
|
brownfield: "Brownfield (integration avec un projet existant)"
|
|
11
11
|
detected_brownfield: "Detecte package.json et src/ dans le repertoire actuel"
|
|
12
12
|
suggestion_brownfield: "Suggestion: Brownfield"
|
|
13
|
-
select_ides: "Selectionnez IDE(s) pour la configuration de
|
|
13
|
+
select_ides: "Selectionnez IDE(s) pour la configuration de Chati.dev:"
|
|
14
14
|
select_mcps: "Selectionnez les MCPs a installer (niveau projet):"
|
|
15
15
|
confirmation_title: "Resume de l'Installation"
|
|
16
16
|
project_label: "Projet"
|
|
@@ -25,7 +25,7 @@ installer:
|
|
|
25
25
|
session_mgmt: "Systeme de gestion de session"
|
|
26
26
|
quality_gates: "Quality gates (validation en 4 couches)"
|
|
27
27
|
proceed: "Proceder a l'installation?"
|
|
28
|
-
installing: "Installation de
|
|
28
|
+
installing: "Installation de Chati.dev..."
|
|
29
29
|
created_chati: "Cree le repertoire de session .chati/"
|
|
30
30
|
created_framework: "Cree le repertoire du systeme chati.dev/ (agents, templates, workflows)"
|
|
31
31
|
created_commands: "Cree .claude/commands/ (routeur)"
|
|
@@ -44,7 +44,7 @@ installer:
|
|
|
44
44
|
registry_valid: "Entity Registry: valide"
|
|
45
45
|
memories_valid: "Arborescence de memoire: valide"
|
|
46
46
|
session_ok: "Schema de session: valide"
|
|
47
|
-
success: "
|
|
47
|
+
success: "Chati.dev installe avec succes!"
|
|
48
48
|
quick_start_title: "Demarrage Rapide"
|
|
49
49
|
quick_start_1: "Ouvrez votre IDE"
|
|
50
50
|
quick_start_2: "Tapez: /chati"
|
package/framework/i18n/pt.yaml
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Chati.dev i18n — Portugues
|
|
2
2
|
language: pt
|
|
3
3
|
name: Portugues
|
|
4
4
|
|
|
5
5
|
installer:
|
|
6
|
-
welcome: "Bem-vindo ao
|
|
6
|
+
welcome: "Bem-vindo ao Chati.dev"
|
|
7
7
|
select_language: "Selecione seu idioma:"
|
|
8
8
|
project_type: "Que tipo de projeto voce esta configurando?"
|
|
9
9
|
greenfield: "Greenfield (novo projeto do zero)"
|
|
10
10
|
brownfield: "Brownfield (integracao com projeto existente)"
|
|
11
11
|
detected_brownfield: "Detectado package.json e src/ no diretorio atual"
|
|
12
12
|
suggestion_brownfield: "Sugestao: Brownfield"
|
|
13
|
-
select_ides: "Selecione IDE(s) para configuracao do
|
|
13
|
+
select_ides: "Selecione IDE(s) para configuracao do Chati.dev:"
|
|
14
14
|
select_mcps: "Selecione MCPs para instalar (nivel de projeto):"
|
|
15
15
|
confirmation_title: "Resumo da Instalacao"
|
|
16
16
|
project_label: "Projeto"
|
|
@@ -25,7 +25,7 @@ installer:
|
|
|
25
25
|
session_mgmt: "Sistema de gerenciamento de sessao"
|
|
26
26
|
quality_gates: "Quality gates (validacao em 4 camadas)"
|
|
27
27
|
proceed: "Prosseguir com a instalacao?"
|
|
28
|
-
installing: "Instalando
|
|
28
|
+
installing: "Instalando Chati.dev..."
|
|
29
29
|
created_chati: "Criado diretorio de sessao .chati/"
|
|
30
30
|
created_framework: "Criado diretorio do sistema chati.dev/ (agentes, templates, workflows)"
|
|
31
31
|
created_commands: "Criado .claude/commands/ (roteador)"
|
|
@@ -44,7 +44,7 @@ installer:
|
|
|
44
44
|
registry_valid: "Entity Registry: valido"
|
|
45
45
|
memories_valid: "Arvore de diretorios de memoria: valida"
|
|
46
46
|
session_ok: "Schema de sessao: valido"
|
|
47
|
-
success: "
|
|
47
|
+
success: "Chati.dev instalado com sucesso!"
|
|
48
48
|
quick_start_title: "Inicio Rapido"
|
|
49
49
|
quick_start_1: "Abra sua IDE"
|
|
50
50
|
quick_start_2: "Digite: /chati"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Purpose
|
|
4
4
|
|
|
5
|
-
The Memory Layer adds persistent knowledge to the
|
|
5
|
+
The Memory Layer adds persistent knowledge to the Chati.dev system. While session state (agent scores, pipeline position) is stored in `.chati/session.yaml`, the Memory Layer captures **knowledge** — decisions, patterns, errors, and lessons — that persists across sessions.
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -184,4 +184,4 @@ This prevents cross-contamination while enabling knowledge sharing.
|
|
|
184
184
|
|
|
185
185
|
---
|
|
186
186
|
|
|
187
|
-
*Memory Layer v1.0 —
|
|
187
|
+
*Memory Layer v1.0 — Chati.dev Intelligence Layer*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# /chati — Orchestrator
|
|
2
2
|
|
|
3
|
-
You are the **
|
|
3
|
+
You are the **Chati.dev Orchestrator**, the single entry point for the Chati.dev system. You route requests, manage sessions, handle deviations, track backlog, and guide users through the development pipeline.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -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
|
|
@@ -510,7 +538,7 @@ To activate autonomous mode:
|
|
|
510
538
|
|
|
511
539
|
## Session Lock Protocol
|
|
512
540
|
|
|
513
|
-
Once `/chati` is invoked and a session is active, the orchestrator LOCKS the session. ALL subsequent user messages are routed through the orchestrator and the active agent. The user never "falls out" of the
|
|
541
|
+
Once `/chati` is invoked and a session is active, the orchestrator LOCKS the session. ALL subsequent user messages are routed through the orchestrator and the active agent. The user never "falls out" of the Chati.dev system.
|
|
514
542
|
|
|
515
543
|
### Lock Activation
|
|
516
544
|
|
|
@@ -530,12 +558,12 @@ When the session is active, CLAUDE.local.md MUST contain this block:
|
|
|
530
558
|
```markdown
|
|
531
559
|
## ⚠️ Session Lock — ACTIVE
|
|
532
560
|
|
|
533
|
-
**
|
|
561
|
+
**Chati.dev session is ACTIVE.** You MUST follow these rules for EVERY message:
|
|
534
562
|
|
|
535
563
|
1. Read `chati.dev/orchestrator/chati.md` and follow its routing logic
|
|
536
564
|
2. Route ALL user messages through the current agent: `{current_agent}`
|
|
537
|
-
3. NEVER respond outside of the
|
|
538
|
-
4. NEVER act as generic Claude — you ARE the
|
|
565
|
+
3. NEVER respond outside of the Chati.dev system
|
|
566
|
+
4. NEVER act as generic Claude — you ARE the Chati.dev orchestrator
|
|
539
567
|
5. If the user asks something unrelated to the current agent's scope,
|
|
540
568
|
handle it via the Deviation Protocol (Section 5.7), do NOT exit the system
|
|
541
569
|
6. The ONLY way to exit is via explicit exit commands (see below)
|
|
@@ -837,7 +865,7 @@ Level 4 - Graceful Degradation:
|
|
|
837
865
|
|
|
838
866
|
## Domain Rules
|
|
839
867
|
|
|
840
|
-
1. **Single Entry Point**: The orchestrator is the ONLY way users interact with
|
|
868
|
+
1. **Single Entry Point**: The orchestrator is the ONLY way users interact with Chati.dev. No agent is directly accessible.
|
|
841
869
|
2. **Transparent Routing**: Users should understand which agent is active and why, but never need to manage agents directly.
|
|
842
870
|
3. **State Preservation**: Every state change is logged in session.yaml. No action is lossy.
|
|
843
871
|
4. **Fail-Safe Defaults**: When uncertain, default to the most restrictive mode (clarity) and the safest agent.
|
|
@@ -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": {
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
"orchestration",
|
|
42
42
|
"fullstack"
|
|
43
43
|
],
|
|
44
|
-
"author": "
|
|
44
|
+
"author": "Chati.dev",
|
|
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",
|
package/src/installer/core.js
CHANGED
|
@@ -14,7 +14,7 @@ const MONOREPO_SOURCE = join(__dirname, '..', '..', '..', '..', 'chati.dev');
|
|
|
14
14
|
const FRAMEWORK_SOURCE = existsSync(BUNDLED_SOURCE) ? BUNDLED_SOURCE : MONOREPO_SOURCE;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* Install
|
|
17
|
+
* Install Chati.dev framework into target directory
|
|
18
18
|
*/
|
|
19
19
|
export async function installFramework(config) {
|
|
20
20
|
const { targetDir, projectType, language, selectedIDEs, selectedMCPs, projectName, version } = config;
|
|
@@ -112,7 +112,7 @@ export async function installFramework(config) {
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
|
-
* Copy framework files from the
|
|
115
|
+
* Copy framework files from the Chati.dev source directory
|
|
116
116
|
*/
|
|
117
117
|
function copyFrameworkFiles(destDir) {
|
|
118
118
|
if (!existsSync(FRAMEWORK_SOURCE)) return;
|
|
@@ -280,8 +280,8 @@ Pass through all context: session state, handoffs, artifacts, and user input.
|
|
|
280
280
|
}
|
|
281
281
|
} else {
|
|
282
282
|
// For other IDEs, create a rules file pointing to chati.dev/
|
|
283
|
-
const rulesContent = `#
|
|
284
|
-
# This file configures ${config.name} to work with
|
|
283
|
+
const rulesContent = `# Chati.dev System Rules
|
|
284
|
+
# This file configures ${config.name} to work with Chati.dev
|
|
285
285
|
|
|
286
286
|
## System Location
|
|
287
287
|
All system content is in the \`chati.dev/\` directory.
|
|
@@ -75,7 +75,7 @@ export function generateClaudeMd(config) {
|
|
|
75
75
|
- **Type**: ${projectType === 'greenfield' ? 'Greenfield (new project)' : 'Brownfield (existing project)'}
|
|
76
76
|
- **Language**: ${language}
|
|
77
77
|
|
|
78
|
-
##
|
|
78
|
+
## Chati.dev
|
|
79
79
|
Framework rules loaded from \`.claude/rules/chati/\`. Runtime state in \`CLAUDE.local.md\`.
|
|
80
80
|
Type \`/chati\` to start.
|
|
81
81
|
`;
|
|
@@ -85,7 +85,7 @@ Type \`/chati\` to start.
|
|
|
85
85
|
* Generate CLAUDE.local.md content (runtime state — auto-gitignored, never committed)
|
|
86
86
|
*/
|
|
87
87
|
export function generateClaudeLocalMd() {
|
|
88
|
-
return `#
|
|
88
|
+
return `# Chati.dev Runtime State
|
|
89
89
|
|
|
90
90
|
## Session Lock
|
|
91
91
|
**Status: INACTIVE** — Type \`/chati\` to activate.
|
|
@@ -101,6 +101,6 @@ export function generateClaudeLocalMd() {
|
|
|
101
101
|
_No decisions yet. Start with /chati._
|
|
102
102
|
|
|
103
103
|
---
|
|
104
|
-
_Auto-updated by
|
|
104
|
+
_Auto-updated by Chati.dev orchestrator_
|
|
105
105
|
`;
|
|
106
106
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Session Manager — Complete session lifecycle management.
|
|
3
3
|
*
|
|
4
4
|
* Manages session initialization, state updates, mode transitions,
|
|
5
|
-
* agent completions, and session validation for the
|
|
5
|
+
* agent completions, and session validation for the Chati.dev pipeline.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import yaml from 'js-yaml';
|
package/src/utils/colors.js
CHANGED
package/src/utils/logger.js
CHANGED
|
@@ -25,7 +25,7 @@ export function logBanner(logoText, version) {
|
|
|
25
25
|
for (const line of lines) {
|
|
26
26
|
console.log(brand(line));
|
|
27
27
|
}
|
|
28
|
-
console.log(brand(`
|
|
28
|
+
console.log(brand(`Chati.dev v${version}`));
|
|
29
29
|
console.log(dim('AI-Powered Multi-Agent Orchestration System'));
|
|
30
30
|
console.log(dim('═'.repeat(55)));
|
|
31
31
|
console.log();
|
package/src/wizard/i18n.js
CHANGED
|
@@ -8,14 +8,14 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
|
8
8
|
// Bundled fallback strings (English) for when i18n files aren't available
|
|
9
9
|
const FALLBACK_EN = {
|
|
10
10
|
installer: {
|
|
11
|
-
welcome: 'Welcome to
|
|
11
|
+
welcome: 'Welcome to Chati.dev',
|
|
12
12
|
select_language: 'Select your language:',
|
|
13
13
|
project_type: 'What type of project are you setting up?',
|
|
14
14
|
greenfield: 'Greenfield (new project from scratch)',
|
|
15
15
|
brownfield: 'Brownfield (existing project integration)',
|
|
16
16
|
detected_brownfield: 'Detected package.json and src/ in current directory',
|
|
17
17
|
suggestion_brownfield: 'Suggestion: Brownfield',
|
|
18
|
-
select_ides: 'Select IDE(s) for
|
|
18
|
+
select_ides: 'Select IDE(s) for Chati.dev configuration:',
|
|
19
19
|
select_mcps: 'Select MCPs to install (project-level):',
|
|
20
20
|
confirmation_title: 'Installation Summary',
|
|
21
21
|
project_label: 'Project',
|
|
@@ -30,7 +30,7 @@ const FALLBACK_EN = {
|
|
|
30
30
|
session_mgmt: 'Session management system',
|
|
31
31
|
quality_gates: 'Quality gates (4-tier validation)',
|
|
32
32
|
proceed: 'Proceed with installation?',
|
|
33
|
-
installing: 'Installing
|
|
33
|
+
installing: 'Installing Chati.dev...',
|
|
34
34
|
created_chati: 'Created .chati/ session directory',
|
|
35
35
|
created_framework: 'Created chati.dev/ system directory (agents, templates, workflows)',
|
|
36
36
|
created_commands: 'Created .claude/commands/ (thin router)',
|
|
@@ -49,7 +49,7 @@ const FALLBACK_EN = {
|
|
|
49
49
|
registry_valid: 'Entity Registry: valid',
|
|
50
50
|
memories_valid: 'Memory directory tree: valid',
|
|
51
51
|
session_ok: 'Session schema: valid',
|
|
52
|
-
success: '
|
|
52
|
+
success: 'Chati.dev installed successfully!',
|
|
53
53
|
quick_start_title: 'Quick Start',
|
|
54
54
|
quick_start_1: 'Open your IDE',
|
|
55
55
|
quick_start_2: 'Type: /chati',
|