chati-dev 2.0.1 → 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 +41 -25
- 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 +2 -2
- package/framework/domains/constitution.yaml +1 -1
- package/framework/i18n/en.yaml +8 -8
- package/framework/i18n/es.yaml +8 -8
- package/framework/i18n/fr.yaml +8 -8
- package/framework/i18n/pt.yaml +8 -8
- package/framework/intelligence/context-engine.md +1 -1
- package/framework/intelligence/decision-engine.md +2 -2
- package/framework/intelligence/memory-layer.md +2 -2
- package/framework/orchestrator/chati.md +6 -6
- package/package.json +3 -3
- package/src/installer/core.js +31 -12
- package/src/installer/templates.js +3 -3
- package/src/intelligence/registry-manager.js +2 -2
- 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 +7 -7
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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
|
-
<em>13 agents.
|
|
6
|
+
<em>13 agents. 17 articles. 6 IDEs. 4 languages. 849 tests. Structured vibe coding.</em>
|
|
7
7
|
</div>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
10
|
<a href="https://www.npmjs.com/package/chati-dev"><img src="https://img.shields.io/npm/v/chati-dev?color=blue&label=npm" alt="npm"></a>
|
|
11
11
|
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
|
|
12
|
-
<a href="https://nodejs.org/"><img src="https://img.shields.io/badge/node-%3E%
|
|
12
|
+
<a href="https://nodejs.org/"><img src="https://img.shields.io/badge/node-%3E%3D20.0.0-brightgreen.svg" alt="Node.js"></a>
|
|
13
13
|
<a href="#architecture"><img src="https://img.shields.io/badge/agents-13-purple.svg" alt="Agents"></a>
|
|
14
14
|
<a href="#supported-ides"><img src="https://img.shields.io/badge/IDEs-6-orange.svg" alt="IDEs"></a>
|
|
15
15
|
<a href="#internationalization"><img src="https://img.shields.io/badge/i18n-EN%20%7C%20PT%20%7C%20ES%20%7C%20FR-informational.svg" alt="i18n"></a>
|
|
@@ -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
|
|
@@ -44,11 +44,14 @@ CLARITY (planning) → Quality Gate → BUILD → Quality Gate → DEPLO
|
|
|
44
44
|
| Innovation | Description |
|
|
45
45
|
|------------|-------------|
|
|
46
46
|
| **Structured Agent Pipeline** | 13 agents with defined missions, validated outputs, and handoff protocols |
|
|
47
|
-
| **Self-Validating Agents** | Binary pass/fail criteria per agent.
|
|
48
|
-
| **Context Engine** |
|
|
49
|
-
| **Memory
|
|
50
|
-
| **
|
|
47
|
+
| **Self-Validating Agents** | Binary pass/fail criteria per agent. 5 quality gates with circuit breaker |
|
|
48
|
+
| **Context Engine PRISM** | 5-layer injection pipeline with bracket tracking (FRESH → CRITICAL). Autonomous recovery |
|
|
49
|
+
| **Memory System RECALL** | 4 cognitive sectors. Persistent knowledge across sessions with attention scoring and natural decay |
|
|
50
|
+
| **Decision Engine COMPASS** | Entity catalog with Jaccard similarity for REUSE/ADAPT/CREATE decisions. Self-healing registry |
|
|
51
51
|
| **Session Lock** | Once activated, user stays in system until explicit exit. Zero accidental leakage |
|
|
52
|
+
| **Hooks System** | 5 Claude Code hooks — constitution guard, mode governance, model governance, context injection, session digest |
|
|
53
|
+
| **Execution Modes** | Autonomous and human-in-the-loop modes with safety net (5 triggers) and circuit breaker |
|
|
54
|
+
| **Multi-Terminal** | Parallel agent execution with write-scope isolation (Detail + Architect + UX simultaneously) |
|
|
52
55
|
| **IDE-Agnostic** | Works with 6 IDEs through a thin router pattern |
|
|
53
56
|
|
|
54
57
|
---
|
|
@@ -139,15 +142,15 @@ User Request
|
|
|
139
142
|
└──────────────────────────────────────────────────┘
|
|
140
143
|
```
|
|
141
144
|
|
|
142
|
-
### Intelligence Layer
|
|
145
|
+
### Intelligence Layer
|
|
143
146
|
|
|
144
147
|
The Intelligence Layer operates transparently behind the pipeline:
|
|
145
148
|
|
|
146
149
|
| System | What it does |
|
|
147
150
|
|--------|-------------|
|
|
148
|
-
| **Context Engine** |
|
|
149
|
-
| **Memory
|
|
150
|
-
| **
|
|
151
|
+
| **Context Engine PRISM** | 5-layer injection pipeline (Constitution → Global → Agent → Workflow → Task). 4 brackets (FRESH/MODERATE/DEPLETED/CRITICAL). Domain loading with graceful degradation. |
|
|
152
|
+
| **Memory System RECALL** | Gotchas auto-capture with 3x/24h promotion. Per-agent memory CRUD. Session digests. Unified search across 4 cognitive sectors (Episodic, Semantic, Procedural, Reflective). |
|
|
153
|
+
| **Decision Engine COMPASS** | Jaccard similarity for REUSE/ADAPT/CREATE decisions. BFS dependency analysis. Entity registry auto-update. 6 self-healing rules. |
|
|
151
154
|
| **Session Lock** | Locks the session on `/chati` activation. All messages routed through orchestrator. Exit only via `/chati exit`. Prevents accidental context leakage. |
|
|
152
155
|
|
|
153
156
|
### Universal Protocols
|
|
@@ -167,7 +170,7 @@ Every agent follows 8 universal protocols:
|
|
|
167
170
|
|
|
168
171
|
### Constitution
|
|
169
172
|
|
|
170
|
-
The system is governed by a **
|
|
173
|
+
The system is governed by a **17-article Constitution** that enforces agent behavior, quality standards, security, and system integrity. Key articles:
|
|
171
174
|
|
|
172
175
|
| Article | Governance |
|
|
173
176
|
|---------|-----------|
|
|
@@ -178,6 +181,7 @@ The system is governed by a **16-article Constitution** that enforces agent beha
|
|
|
178
181
|
| XII-XIV | Context bracket governance, memory governance, framework registry |
|
|
179
182
|
| XV | Session lock governance — mandatory lock, explicit exit only |
|
|
180
183
|
| XVI | Model governance — opus/sonnet/haiku per agent, no downgrade rule |
|
|
184
|
+
| XVII | Execution mode governance — autonomous vs human-in-the-loop, safety net triggers |
|
|
181
185
|
|
|
182
186
|
---
|
|
183
187
|
|
|
@@ -233,13 +237,21 @@ The system is governed by a **16-article Constitution** that enforces agent beha
|
|
|
233
237
|
```
|
|
234
238
|
your-project/
|
|
235
239
|
├── .chati/
|
|
236
|
-
│ ├── session.yaml # Session state (auto-managed)
|
|
237
|
-
│
|
|
238
|
-
│ └── continuation/ # Context recovery files
|
|
240
|
+
│ ├── session.yaml # Session state (auto-managed, gitignored)
|
|
241
|
+
│ └── memories/ # Memory Layer storage (gitignored)
|
|
239
242
|
├── .claude/
|
|
240
|
-
│
|
|
241
|
-
│
|
|
242
|
-
|
|
243
|
+
│ ├── commands/
|
|
244
|
+
│ │ └── chati.md # Thin router → orchestrator
|
|
245
|
+
│ └── rules/
|
|
246
|
+
│ └── chati/ # Framework context (auto-loaded by Claude Code)
|
|
247
|
+
│ ├── root.md # System overview + key references
|
|
248
|
+
│ ├── governance.md # Constitution key rules
|
|
249
|
+
│ ├── protocols.md # 8 universal protocols
|
|
250
|
+
│ └── quality.md # Quality standards
|
|
251
|
+
├── CLAUDE.md # Minimal project context (auto-generated)
|
|
252
|
+
├── CLAUDE.local.md # Runtime state — session lock, current agent (gitignored)
|
|
253
|
+
├── docs/
|
|
254
|
+
│ └── CHANGELOG.md # Version history
|
|
243
255
|
├── chati.dev/
|
|
244
256
|
│ ├── orchestrator/ # Main orchestrator
|
|
245
257
|
│ ├── agents/ # 13 agent definitions
|
|
@@ -247,17 +259,21 @@ your-project/
|
|
|
247
259
|
│ │ ├── quality/ # 2 quality gate agents
|
|
248
260
|
│ │ ├── build/ # Dev agent
|
|
249
261
|
│ │ └── deploy/ # DevOps agent
|
|
262
|
+
│ ├── tasks/ # 72 task definitions (YAML frontmatter)
|
|
250
263
|
│ ├── workflows/ # 5 workflow blueprints
|
|
251
264
|
│ ├── templates/ # 5 artifact templates
|
|
252
|
-
│ ├── schemas/ # JSON schemas for validation
|
|
265
|
+
│ ├── schemas/ # 5 JSON schemas for validation
|
|
253
266
|
│ ├── intelligence/ # Context Engine, Memory Layer, Decision Engine
|
|
267
|
+
│ ├── domains/ # Domain loading configs (per-agent, per-workflow)
|
|
268
|
+
│ ├── hooks/ # 5 Claude Code hooks (enforcement)
|
|
269
|
+
│ ├── context/ # Context source files (deployed to .claude/rules/)
|
|
254
270
|
│ ├── frameworks/ # Decision heuristics, quality dims
|
|
255
271
|
│ ├── quality-gates/ # Planning & implementation gates
|
|
256
272
|
│ ├── patterns/ # Elicitation patterns
|
|
257
|
-
│ ├── data/ # Entity registry
|
|
273
|
+
│ ├── data/ # Entity registry (48 artifacts)
|
|
258
274
|
│ ├── i18n/ # EN, PT, ES, FR translations
|
|
259
275
|
│ ├── migrations/ # Version migration scripts
|
|
260
|
-
│ ├── constitution.md #
|
|
276
|
+
│ ├── constitution.md # 17 Articles + Preamble
|
|
261
277
|
│ └── config.yaml # System configuration
|
|
262
278
|
├── chati.dev/artifacts/ # Generated during pipeline
|
|
263
279
|
│ ├── 0-WU/
|
|
@@ -305,7 +321,7 @@ Upgrades include automatic backup, migrations, validation, and config merging. R
|
|
|
305
321
|
|
|
306
322
|
## Prerequisites
|
|
307
323
|
|
|
308
|
-
- **Node.js** >=
|
|
324
|
+
- **Node.js** >= 20.0.0
|
|
309
325
|
- **npm** >= 9.0.0
|
|
310
326
|
- A supported IDE with AI assistant capabilities
|
|
311
327
|
|
|
@@ -327,5 +343,5 @@ This project is licensed under the MIT License — see [LICENSE](LICENSE) for de
|
|
|
327
343
|
|
|
328
344
|
<p align="center">
|
|
329
345
|
<sub>Built with structure, validated by agents, governed by constitution.</sub><br>
|
|
330
|
-
<sub>
|
|
346
|
+
<sub>Chati.dev © 2026</sub>
|
|
331
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
|
|
|
@@ -241,7 +241,7 @@ entities:
|
|
|
241
241
|
constitution:
|
|
242
242
|
path: chati.dev/constitution.md
|
|
243
243
|
type: governance
|
|
244
|
-
purpose: "
|
|
244
|
+
purpose: "17 Articles + Preamble governing all agent behavior"
|
|
245
245
|
keywords: [constitution, governance, rules, articles, enforcement]
|
|
246
246
|
dependencies: []
|
|
247
247
|
adaptability: 0.1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Constitution Domain — Extracted governance rules for PRISM L0
|
|
2
|
-
# Source: chati.dev/constitution.md (
|
|
2
|
+
# Source: chati.dev/constitution.md (17 Articles + Preamble)
|
|
3
3
|
|
|
4
4
|
summary: >
|
|
5
5
|
Constitution governance: self-validation required (loop until quality >= 95%),
|
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"
|
|
@@ -21,15 +21,15 @@ installer:
|
|
|
21
21
|
agents_count: "13 agent definitions (CLARITY, BUILD, DEPLOY phases)"
|
|
22
22
|
workflows_count: "5 workflow blueprints"
|
|
23
23
|
templates_count: "5 templates (PRD, Brownfield PRD, Architecture, Task, QA Gate)"
|
|
24
|
-
constitution: "Constitution (
|
|
24
|
+
constitution: "Constitution (17 Articles + Preamble)"
|
|
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)"
|
|
32
|
-
installed_constitution: "Installed Constitution (Articles I-
|
|
32
|
+
installed_constitution: "Installed Constitution (Articles I-XVII)"
|
|
33
33
|
created_session: "Created session.yaml schema"
|
|
34
34
|
created_claude_md: "Created CLAUDE.md"
|
|
35
35
|
configured_mcps: "Configured MCPs:"
|
|
@@ -37,14 +37,14 @@ installer:
|
|
|
37
37
|
agents_valid: "All 13 agents implement 8 protocols"
|
|
38
38
|
handoff_ok: "Handoff protocol: OK"
|
|
39
39
|
validation_ok: "Self-validation criteria: OK"
|
|
40
|
-
constitution_ok: "Constitution:
|
|
40
|
+
constitution_ok: "Constitution: 17 articles verified"
|
|
41
41
|
created_memories: "Created .chati/memories/ (Memory Layer)"
|
|
42
42
|
installed_intelligence: "Installed Intelligence Layer (Context Engine, Memory, Registry)"
|
|
43
43
|
intelligence_valid: "Intelligence: 6 spec files verified"
|
|
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"
|
|
@@ -21,15 +21,15 @@ installer:
|
|
|
21
21
|
agents_count: "13 definiciones de agentes (fases CLARITY, BUILD, DEPLOY)"
|
|
22
22
|
workflows_count: "5 blueprints de workflow"
|
|
23
23
|
templates_count: "5 templates (PRD, PRD Brownfield, Arquitectura, Task, QA Gate)"
|
|
24
|
-
constitution: "Constitucion (
|
|
24
|
+
constitution: "Constitucion (17 Articulos + Preambulo)"
|
|
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)"
|
|
32
|
-
installed_constitution: "Instalada Constitucion (Articulos I-
|
|
32
|
+
installed_constitution: "Instalada Constitucion (Articulos I-XVII)"
|
|
33
33
|
created_session: "Creado schema session.yaml"
|
|
34
34
|
created_claude_md: "Creado CLAUDE.md"
|
|
35
35
|
configured_mcps: "MCPs configurados:"
|
|
@@ -37,14 +37,14 @@ installer:
|
|
|
37
37
|
agents_valid: "Los 13 agentes implementan 8 protocolos"
|
|
38
38
|
handoff_ok: "Protocolo de handoff: OK"
|
|
39
39
|
validation_ok: "Criterios de auto-validacion: OK"
|
|
40
|
-
constitution_ok: "Constitucion:
|
|
40
|
+
constitution_ok: "Constitucion: 17 articulos verificados"
|
|
41
41
|
created_memories: "Creado .chati/memories/ (Memory Layer)"
|
|
42
42
|
installed_intelligence: "Instalada Intelligence Layer (Context Engine, Memory, Registry)"
|
|
43
43
|
intelligence_valid: "Intelligence: 6 archivos de spec verificados"
|
|
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"
|
|
@@ -21,15 +21,15 @@ installer:
|
|
|
21
21
|
agents_count: "13 definitions d'agents (phases CLARITY, BUILD, DEPLOY)"
|
|
22
22
|
workflows_count: "5 blueprints de workflow"
|
|
23
23
|
templates_count: "5 templates (PRD, PRD Brownfield, Architecture, Task, QA Gate)"
|
|
24
|
-
constitution: "Constitution (
|
|
24
|
+
constitution: "Constitution (17 Articles + Preambule)"
|
|
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)"
|
|
32
|
-
installed_constitution: "Installee la Constitution (Articles I-
|
|
32
|
+
installed_constitution: "Installee la Constitution (Articles I-XVII)"
|
|
33
33
|
created_session: "Cree le schema session.yaml"
|
|
34
34
|
created_claude_md: "Cree CLAUDE.md"
|
|
35
35
|
configured_mcps: "MCPs configures:"
|
|
@@ -37,14 +37,14 @@ installer:
|
|
|
37
37
|
agents_valid: "Les 13 agents implementent 8 protocoles"
|
|
38
38
|
handoff_ok: "Protocole de passation: OK"
|
|
39
39
|
validation_ok: "Criteres d'auto-validation: OK"
|
|
40
|
-
constitution_ok: "Constitution:
|
|
40
|
+
constitution_ok: "Constitution: 17 articles verifies"
|
|
41
41
|
created_memories: "Cree .chati/memories/ (Memory Layer)"
|
|
42
42
|
installed_intelligence: "Installee Intelligence Layer (Context Engine, Memory, Registry)"
|
|
43
43
|
intelligence_valid: "Intelligence: 6 fichiers de spec verifies"
|
|
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"
|
|
@@ -21,15 +21,15 @@ installer:
|
|
|
21
21
|
agents_count: "13 definicoes de agentes (fases CLARITY, BUILD, DEPLOY)"
|
|
22
22
|
workflows_count: "5 blueprints de workflow"
|
|
23
23
|
templates_count: "5 templates (PRD, PRD Brownfield, Arquitetura, Task, QA Gate)"
|
|
24
|
-
constitution: "Constituicao (
|
|
24
|
+
constitution: "Constituicao (17 Artigos + Preambulo)"
|
|
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)"
|
|
32
|
-
installed_constitution: "Instalada Constituicao (Artigos I-
|
|
32
|
+
installed_constitution: "Instalada Constituicao (Artigos I-XVII)"
|
|
33
33
|
created_session: "Criado schema session.yaml"
|
|
34
34
|
created_claude_md: "Criado CLAUDE.md"
|
|
35
35
|
configured_mcps: "MCPs configurados:"
|
|
@@ -37,14 +37,14 @@ installer:
|
|
|
37
37
|
agents_valid: "Todos os 13 agentes implementam 8 protocolos"
|
|
38
38
|
handoff_ok: "Protocolo de handoff: OK"
|
|
39
39
|
validation_ok: "Criterios de auto-validacao: OK"
|
|
40
|
-
constitution_ok: "Constituicao:
|
|
40
|
+
constitution_ok: "Constituicao: 17 artigos verificados"
|
|
41
41
|
created_memories: "Criado .chati/memories/ (Memory Layer)"
|
|
42
42
|
installed_intelligence: "Instalada Intelligence Layer (Context Engine, Memory, Registry)"
|
|
43
43
|
intelligence_valid: "Intelligence: 6 arquivos de spec verificados"
|
|
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"
|
|
@@ -96,7 +96,7 @@ npx chati-dev health
|
|
|
96
96
|
Checks:
|
|
97
97
|
1. All registered entities exist on disk
|
|
98
98
|
2. Schema files are valid JSON
|
|
99
|
-
3. Constitution has >=
|
|
99
|
+
3. Constitution has >= 17 articles
|
|
100
100
|
4. Agents contain required protocol references
|
|
101
101
|
5. Entity count matches actual file count
|
|
102
102
|
6. Checksums match (if calculated)
|
|
@@ -131,4 +131,4 @@ Example output:
|
|
|
131
131
|
|
|
132
132
|
---
|
|
133
133
|
|
|
134
|
-
*Decision Engine v1.0 —
|
|
134
|
+
*Decision Engine v1.0 — Chati.dev Intelligence Layer*
|
|
@@ -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",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"semver": "^7.6.0"
|
|
61
61
|
},
|
|
62
62
|
"engines": {
|
|
63
|
-
"node": ">=
|
|
63
|
+
"node": ">=20.0.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@eslint/js": "^10.0.1",
|
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;
|
|
@@ -235,18 +235,37 @@ async function configureIDE(targetDir, ideKey, selectedMCPs) {
|
|
|
235
235
|
|
|
236
236
|
if (ideKey === 'claude-code') {
|
|
237
237
|
// Thin router
|
|
238
|
-
const routerContent =
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
238
|
+
const routerContent = `# /chati — Thin Router
|
|
239
|
+
|
|
240
|
+
## CRITICAL — Language Override
|
|
241
|
+
|
|
242
|
+
Read \`.chati/session.yaml\` field \`language\` BEFORE anything else.
|
|
243
|
+
ALL responses MUST be in this language. This overrides any global IDE language setting.
|
|
244
|
+
|
|
245
|
+
| Value | Language |
|
|
246
|
+
|-------|----------|
|
|
247
|
+
| \`en\` | English |
|
|
248
|
+
| \`pt\` | Portugues |
|
|
249
|
+
| \`es\` | Espanol |
|
|
250
|
+
| \`fr\` | Francais |
|
|
251
|
+
|
|
252
|
+
If session.yaml does not exist or has no language field, default to English.
|
|
253
|
+
|
|
242
254
|
---
|
|
243
255
|
|
|
244
|
-
|
|
256
|
+
## Load
|
|
257
|
+
|
|
258
|
+
Read and execute the full orchestrator at \`chati.dev/orchestrator/chati.md\`.
|
|
259
|
+
|
|
260
|
+
Pass through all context: session state, handoffs, artifacts, and user input.
|
|
245
261
|
|
|
246
|
-
|
|
247
|
-
|
|
262
|
+
**Context to pass:**
|
|
263
|
+
- \`.chati/session.yaml\` (session state — includes language)
|
|
264
|
+
- \`CLAUDE.local.md\` (runtime state — session lock, current agent)
|
|
265
|
+
- \`chati.dev/artifacts/handoffs/\` (latest handoff)
|
|
266
|
+
- \`chati.dev/config.yaml\` (version info)
|
|
248
267
|
|
|
249
|
-
|
|
268
|
+
**User input:** $ARGUMENTS
|
|
250
269
|
`;
|
|
251
270
|
writeFileSync(join(targetDir, '.claude', 'commands', 'chati.md'), routerContent, 'utf-8');
|
|
252
271
|
|
|
@@ -261,8 +280,8 @@ This is a thin router. All logic lives in the orchestrator.
|
|
|
261
280
|
}
|
|
262
281
|
} else {
|
|
263
282
|
// For other IDEs, create a rules file pointing to chati.dev/
|
|
264
|
-
const rulesContent = `#
|
|
265
|
-
# 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
|
|
266
285
|
|
|
267
286
|
## System Location
|
|
268
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
|
}
|
|
@@ -131,8 +131,8 @@ export function runHealthCheck(targetDir) {
|
|
|
131
131
|
if (existsSync(constitutionPath)) {
|
|
132
132
|
const content = readFileSync(constitutionPath, 'utf-8');
|
|
133
133
|
const articleCount = (content.match(/^## Article/gm) || []).length;
|
|
134
|
-
checks.constitution.pass = articleCount >=
|
|
135
|
-
checks.constitution.details = `${articleCount}/
|
|
134
|
+
checks.constitution.pass = articleCount >= 17;
|
|
135
|
+
checks.constitution.details = `${articleCount}/17 articles`;
|
|
136
136
|
} else {
|
|
137
137
|
checks.constitution.details = 'Not found';
|
|
138
138
|
}
|
|
@@ -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',
|
|
@@ -26,15 +26,15 @@ const FALLBACK_EN = {
|
|
|
26
26
|
agents_count: '13 agent definitions (CLARITY, BUILD, DEPLOY phases)',
|
|
27
27
|
workflows_count: '5 workflow blueprints',
|
|
28
28
|
templates_count: '5 templates (PRD, Brownfield PRD, Architecture, Task, QA Gate)',
|
|
29
|
-
constitution: 'Constitution (
|
|
29
|
+
constitution: 'Constitution (17 Articles + Preamble)',
|
|
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)',
|
|
37
|
-
installed_constitution: 'Installed Constitution (Articles I-
|
|
37
|
+
installed_constitution: 'Installed Constitution (Articles I-XVII)',
|
|
38
38
|
created_session: 'Created session.yaml schema',
|
|
39
39
|
created_claude_md: 'Created CLAUDE.md',
|
|
40
40
|
configured_mcps: 'Configured MCPs:',
|
|
@@ -42,14 +42,14 @@ const FALLBACK_EN = {
|
|
|
42
42
|
agents_valid: 'All 13 agents implement 8 protocols',
|
|
43
43
|
handoff_ok: 'Handoff protocol: OK',
|
|
44
44
|
validation_ok: 'Self-validation criteria: OK',
|
|
45
|
-
constitution_ok: 'Constitution:
|
|
45
|
+
constitution_ok: 'Constitution: 17 articles verified',
|
|
46
46
|
created_memories: 'Created .chati/memories/ (Memory Layer)',
|
|
47
47
|
installed_intelligence: 'Installed Intelligence Layer (Context Engine, Memory, Registry)',
|
|
48
48
|
intelligence_valid: 'Intelligence: 6 spec files verified',
|
|
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',
|