chati-dev 2.0.2 → 2.0.3
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/bin/chati.js +8 -8
- 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 +6 -6
- package/package.json +2 -2
- 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/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');
|
|
@@ -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
|
|
|
@@ -510,7 +510,7 @@ To activate autonomous mode:
|
|
|
510
510
|
|
|
511
511
|
## Session Lock Protocol
|
|
512
512
|
|
|
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
|
|
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 Chati.dev system.
|
|
514
514
|
|
|
515
515
|
### Lock Activation
|
|
516
516
|
|
|
@@ -530,12 +530,12 @@ When the session is active, CLAUDE.local.md MUST contain this block:
|
|
|
530
530
|
```markdown
|
|
531
531
|
## ⚠️ Session Lock — ACTIVE
|
|
532
532
|
|
|
533
|
-
**
|
|
533
|
+
**Chati.dev session is ACTIVE.** You MUST follow these rules for EVERY message:
|
|
534
534
|
|
|
535
535
|
1. Read `chati.dev/orchestrator/chati.md` and follow its routing logic
|
|
536
536
|
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
|
|
537
|
+
3. NEVER respond outside of the Chati.dev system
|
|
538
|
+
4. NEVER act as generic Claude — you ARE the Chati.dev orchestrator
|
|
539
539
|
5. If the user asks something unrelated to the current agent's scope,
|
|
540
540
|
handle it via the Deviation Protocol (Section 5.7), do NOT exit the system
|
|
541
541
|
6. The ONLY way to exit is via explicit exit commands (see below)
|
|
@@ -837,7 +837,7 @@ Level 4 - Graceful Degradation:
|
|
|
837
837
|
|
|
838
838
|
## Domain Rules
|
|
839
839
|
|
|
840
|
-
1. **Single Entry Point**: The orchestrator is the ONLY way users interact with
|
|
840
|
+
1. **Single Entry Point**: The orchestrator is the ONLY way users interact with Chati.dev. No agent is directly accessible.
|
|
841
841
|
2. **Transparent Routing**: Users should understand which agent is active and why, but never need to manage agents directly.
|
|
842
842
|
3. **State Preservation**: Every state change is logged in session.yaml. No action is lossy.
|
|
843
843
|
4. **Fail-Safe Defaults**: When uncertain, default to the most restrictive mode (clarity) and the safest agent.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chati-dev",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "AI-Powered Multi-Agent Orchestration System — 13 agents, 6 IDEs, 4 languages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,7 +41,7 @@
|
|
|
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",
|
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',
|