chati-dev 2.1.0 → 3.0.0
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 +165 -176
- package/framework/agents/build/dev.md +1 -0
- package/framework/agents/deploy/devops.md +1 -0
- package/framework/agents/discover/brief.md +1 -0
- package/framework/agents/discover/brownfield-wu.md +1 -0
- package/framework/agents/discover/greenfield-wu.md +1 -0
- package/framework/agents/plan/architect.md +1 -0
- package/framework/agents/plan/detail.md +1 -0
- package/framework/agents/plan/phases.md +1 -0
- package/framework/agents/plan/tasks.md +1 -0
- package/framework/agents/plan/ux.md +1 -0
- package/framework/agents/quality/qa-implementation.md +1 -0
- package/framework/agents/quality/qa-planning.md +1 -0
- package/framework/config.yaml +21 -2
- package/framework/constitution.md +66 -1
- package/framework/domains/agents/brownfield-wu.yaml +4 -0
- package/framework/domains/agents/dev.yaml +4 -0
- package/framework/domains/agents/orchestrator.yaml +8 -0
- package/framework/domains/constitution.yaml +28 -0
- package/framework/domains/global.yaml +20 -0
- package/framework/hooks/model-governance.js +17 -15
- package/framework/intelligence/context-engine.md +29 -0
- package/framework/intelligence/memory-layer.md +17 -0
- package/framework/orchestrator/chati.md +94 -14
- package/framework/schemas/config.schema.json +44 -0
- package/framework/schemas/session.schema.json +27 -0
- package/package.json +6 -2
- package/src/autonomy/build-loop.js +194 -0
- package/src/autonomy/build-state.js +269 -0
- package/src/autonomy/execution-profile.js +151 -0
- package/src/config/context-file-generator.js +209 -0
- package/src/gates/g2-qa-planning.js +4 -2
- package/src/gates/g4-qa-implementation.js +5 -2
- package/src/gates/gate-base.js +33 -1
- package/src/health/engine.js +250 -0
- package/src/intelligence/file-tracker.js +117 -0
- package/src/intelligence/timeline.js +144 -0
- package/src/memory/gotchas-auto-capture.js +253 -0
- package/src/terminal/adapters/claude-adapter.js +43 -0
- package/src/terminal/adapters/codex-adapter.js +41 -0
- package/src/terminal/adapters/copilot-adapter.js +38 -0
- package/src/terminal/adapters/gemini-adapter.js +42 -0
- package/src/terminal/adapters/index.js +8 -0
- package/src/terminal/cli-registry.js +218 -0
- package/src/terminal/prompt-builder.js +18 -15
- package/src/terminal/spawner.js +19 -9
- package/src/terminal/wave-analyzer.js +143 -0
- package/framework/manifest.json +0 -5
- package/framework/manifest.sig +0 -1
- /package/assets/{logo - co/314/201pia.png" → logo - c/303/263pia.png"} +0 -0
- /package/assets/{logo - co/314/201pia.svg" → logo - c/303/263pia.svg"} +0 -0
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
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
|
-
<a href="LICENSE"><img src="https://img.shields.io/badge/License-
|
|
11
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT"></a>
|
|
12
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="#internationalization"><img src="https://img.shields.io/badge/i18n-EN%20%7C%20PT%20%7C%20ES%20%7C%20FR-informational.svg" alt="i18n"></a>
|
|
14
14
|
<a href=".github/CONTRIBUTING.md"><img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg" alt="Contributions Welcome"></a>
|
|
@@ -16,13 +16,26 @@
|
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
## What is Chati.dev?
|
|
20
|
+
|
|
21
|
+
Chati.dev is a system that **turns AI into a structured development team**. Instead of chatting with a single AI that forgets everything between sessions, you get 13 specialized agents — each with a clear role — working together through a defined pipeline.
|
|
22
|
+
|
|
23
|
+
You describe what you want to build. The agents handle requirements, architecture, planning, coding, testing, and deployment — in order, with quality gates between each phase.
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
You → DISCOVER → PLAN → BUILD → DEPLOY → Done
|
|
27
|
+
"what" "how" "code" "ship"
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Every decision is saved. Every artifact is validated. If you close your laptop and come back tomorrow, the system picks up exactly where you left off.
|
|
31
|
+
|
|
32
|
+
---
|
|
20
33
|
|
|
21
34
|
## Why Chati.dev?
|
|
22
35
|
|
|
23
36
|
### The Problem
|
|
24
37
|
|
|
25
|
-
AI-assisted development today
|
|
38
|
+
AI-assisted development today has three critical issues:
|
|
26
39
|
|
|
27
40
|
1. **Context Loss** — AI forgets decisions across sessions, leading to inconsistent implementations
|
|
28
41
|
2. **Planning Gaps** — Jumping straight to code without structured requirements leads to rework
|
|
@@ -30,42 +43,19 @@ AI-assisted development today suffers from three critical issues:
|
|
|
30
43
|
|
|
31
44
|
### The Solution
|
|
32
45
|
|
|
33
|
-
Chati.dev introduces **Agent-Driven Development**: a pipeline
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
DISCOVER → PLAN → Quality Gate → BUILD → Quality Gate → DEPLOY
|
|
37
|
-
3 agents 5 agents QA-Planning Dev QA-Impl DevOps
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Key Innovations
|
|
41
|
-
|
|
42
|
-
| Innovation | Description |
|
|
43
|
-
|------------|-------------|
|
|
44
|
-
| **Structured Agent Pipeline** | 13 agents with defined missions, validated outputs, and handoff protocols |
|
|
45
|
-
| **Self-Validating Agents** | Binary pass/fail criteria per agent. 5 quality gates with circuit breaker |
|
|
46
|
-
| **Context Engine PRISM** | 5-layer injection pipeline with bracket tracking (FRESH → CRITICAL). Autonomous recovery |
|
|
47
|
-
| **Memory System RECALL** | 4 cognitive sectors. Persistent knowledge across sessions with attention scoring and natural decay |
|
|
48
|
-
| **Decision Engine COMPASS** | Entity catalog with Jaccard similarity for REUSE/ADAPT/CREATE decisions. Self-healing registry |
|
|
49
|
-
| **Session Lock** | Once activated, user stays in system until explicit exit. Zero accidental leakage |
|
|
50
|
-
| **Hooks System** | 6 Claude Code hooks — constitution guard, mode governance, model governance, read protection, context injection, session digest |
|
|
51
|
-
| **Supply Chain Security** | Ed25519 manifest signing. Package integrity verification on install. Semantic linter for cross-reference validation |
|
|
52
|
-
| **Execution Modes** | Autonomous and human-in-the-loop modes with safety net (5 triggers) and circuit breaker |
|
|
53
|
-
| **Multi-Terminal** | Autonomous agents spawn in separate `claude -p` terminals with dedicated models. Parallel groups (Detail + Architect + UX) with write-scope isolation |
|
|
54
|
-
| **IDE-Agnostic** | Works with 6 IDEs through a thin router pattern |
|
|
46
|
+
Chati.dev introduces **Agent-Driven Development**: a pipeline where each agent owns a specific phase, produces validated artifacts, and hands off context to the next agent. The system ensures context is never lost, knowledge persists across sessions, and you never accidentally leave the pipeline.
|
|
55
47
|
|
|
56
48
|
---
|
|
57
49
|
|
|
58
|
-
##
|
|
50
|
+
## Quick Start
|
|
51
|
+
|
|
52
|
+
### Prerequisites
|
|
59
53
|
|
|
60
54
|
- **Node.js** >= 20.0.0 ([download](https://nodejs.org/))
|
|
61
55
|
- **Claude Code** — the CLI for Claude ([install guide](https://docs.anthropic.com/en/docs/claude-code/overview))
|
|
62
56
|
|
|
63
57
|
Other supported IDEs: VS Code, Cursor, Gemini CLI, GitHub Copilot, AntiGravity (see [Supported IDEs](#supported-ides)).
|
|
64
58
|
|
|
65
|
-
---
|
|
66
|
-
|
|
67
|
-
## Quick Start
|
|
68
|
-
|
|
69
59
|
### 1. Install in your project
|
|
70
60
|
|
|
71
61
|
Open a terminal in your project directory:
|
|
@@ -74,9 +64,9 @@ Open a terminal in your project directory:
|
|
|
74
64
|
npx chati-dev init
|
|
75
65
|
```
|
|
76
66
|
|
|
77
|
-
The wizard asks your language and project type, then auto-configures
|
|
67
|
+
The wizard asks your language and project type, then auto-configures everything.
|
|
78
68
|
|
|
79
|
-
### 2.
|
|
69
|
+
### 2. Activate the orchestrator
|
|
80
70
|
|
|
81
71
|
Open Claude Code in the same project directory, then type:
|
|
82
72
|
|
|
@@ -86,11 +76,20 @@ Open Claude Code in the same project directory, then type:
|
|
|
86
76
|
|
|
87
77
|
The orchestrator loads your session, detects where you left off, and routes you to the right agent. You stay inside the system until you explicitly exit.
|
|
88
78
|
|
|
89
|
-
### 3.
|
|
79
|
+
### 3. Follow the pipeline
|
|
90
80
|
|
|
91
|
-
|
|
81
|
+
The agents guide you through each phase:
|
|
92
82
|
|
|
93
|
-
|
|
83
|
+
| Phase | What happens | You do |
|
|
84
|
+
|-------|-------------|--------|
|
|
85
|
+
| **DISCOVER** | Agents interview you about what you want to build | Answer questions about your project |
|
|
86
|
+
| **PLAN** | Agents create PRD, architecture, UX spec, phases, and tasks | Review and approve the plan |
|
|
87
|
+
| **BUILD** | Dev agent implements the code, task by task | Review code as it's built |
|
|
88
|
+
| **DEPLOY** | DevOps agent handles git, deployment, and documentation | Confirm deployment settings |
|
|
89
|
+
|
|
90
|
+
Quality gates run automatically between phases — if something doesn't meet the threshold, the system loops back and fixes it.
|
|
91
|
+
|
|
92
|
+
### Monitor progress
|
|
94
93
|
|
|
95
94
|
```bash
|
|
96
95
|
npx chati-dev status # One-time snapshot
|
|
@@ -106,156 +105,160 @@ npx chati-dev status --watch # Auto-refresh every 5s
|
|
|
106
105
|
|
|
107
106
|
---
|
|
108
107
|
|
|
108
|
+
## Key Features
|
|
109
|
+
|
|
110
|
+
| Feature | What it means |
|
|
111
|
+
|---------|--------------|
|
|
112
|
+
| **13 Specialized Agents** | Each agent has a defined mission, success criteria, and handoff protocol — not one AI trying to do everything |
|
|
113
|
+
| **Quality Gates** | Every phase is validated before moving forward. Binary pass/fail — no subjective "looks good" |
|
|
114
|
+
| **Context Persistence** | Sessions survive restarts. Close your IDE, come back next week — the system remembers everything |
|
|
115
|
+
| **Session Lock** | Once activated, you stay inside the system. No accidentally "falling out" into generic AI mode |
|
|
116
|
+
| **Multi-Terminal** | Autonomous agents run in parallel in separate terminals. Detail, Architect, and UX agents work simultaneously |
|
|
117
|
+
| **Memory System** | The system learns from mistakes. Gotchas are captured automatically and recalled when relevant |
|
|
118
|
+
| **IDE-Agnostic** | Works with Claude Code, VS Code, Cursor, Gemini CLI, GitHub Copilot, and AntiGravity |
|
|
119
|
+
| **4 Languages** | Interface supports English, Portuguese, Spanish, and French. Artifacts are always generated in English |
|
|
120
|
+
| **Supply Chain Security** | Every file is cryptographically signed. Tampered packages are blocked on install |
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
109
124
|
## Architecture
|
|
110
125
|
|
|
111
|
-
### 13 Agents,
|
|
126
|
+
### 13 Agents, 4 Pipeline Phases
|
|
112
127
|
|
|
113
|
-
|
|
|
114
|
-
|
|
115
|
-
| **DISCOVER** | Greenfield WU, Brownfield WU, Brief |
|
|
116
|
-
| **PLAN** | Detail
|
|
117
|
-
| **
|
|
118
|
-
| **
|
|
119
|
-
| **
|
|
128
|
+
| Phase | Agents | What they do |
|
|
129
|
+
|-------|--------|-------------|
|
|
130
|
+
| **DISCOVER** | Greenfield WU, Brownfield WU, Brief | Interview you, understand your project, extract requirements |
|
|
131
|
+
| **PLAN** | Detail, Architect, UX, Phases, Tasks | Create PRD, design architecture, define UX, break work into phases and tasks |
|
|
132
|
+
| **BUILD** | Dev | Implement code task by task, following the plan |
|
|
133
|
+
| **DEPLOY** | DevOps | Handle git operations, deployment, and documentation |
|
|
134
|
+
| **Quality** | QA-Planning, QA-Implementation | Validate plan coherence (≥95%) and code quality (≥95%) between phases |
|
|
120
135
|
|
|
121
|
-
### Pipeline
|
|
136
|
+
### How the Pipeline Works
|
|
122
137
|
|
|
123
138
|
```
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
│ ORCHESTRATOR
|
|
129
|
-
│ Routes to
|
|
130
|
-
│
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
│
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
│
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
│
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
│
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
│ DevOps (sonnet) — git + deploy + docs │
|
|
170
|
-
└──────────────────────────────────────────┘
|
|
139
|
+
You type /chati
|
|
140
|
+
│
|
|
141
|
+
▼
|
|
142
|
+
┌──────────────────────────────────────────────┐
|
|
143
|
+
│ ORCHESTRATOR │
|
|
144
|
+
│ Routes you to the right agent. │
|
|
145
|
+
│ Manages session state and handoffs. │
|
|
146
|
+
└──────────────────────────────────────────────┘
|
|
147
|
+
│
|
|
148
|
+
├─ In your conversation ─────────────────┐
|
|
149
|
+
│ │
|
|
150
|
+
│ DISCOVER (interactive) │
|
|
151
|
+
│ WU interviews you → Brief compiles │
|
|
152
|
+
│ requirements into a structured doc │
|
|
153
|
+
│ │
|
|
154
|
+
├─ Spawns separate terminals ────────────┐
|
|
155
|
+
│ │
|
|
156
|
+
│ PLAN (autonomous, parallel) │
|
|
157
|
+
│ Detail ───┐ │
|
|
158
|
+
│ Architect ├─ run simultaneously │
|
|
159
|
+
│ UX ───────┘ │
|
|
160
|
+
│ Then: Phases → Tasks │
|
|
161
|
+
│ │
|
|
162
|
+
├─ Quality Gate ─────────────────────────┐
|
|
163
|
+
│ │
|
|
164
|
+
│ QA-Planning validates the plan │
|
|
165
|
+
│ Must score ≥ 95% to proceed │
|
|
166
|
+
│ │
|
|
167
|
+
├─ Spawns terminal(s) ───────────────────┐
|
|
168
|
+
│ │
|
|
169
|
+
│ BUILD │
|
|
170
|
+
│ Dev implements tasks (parallel │
|
|
171
|
+
│ when tasks are independent) │
|
|
172
|
+
│ │
|
|
173
|
+
├─ Quality Gate ─────────────────────────┐
|
|
174
|
+
│ │
|
|
175
|
+
│ QA-Implementation validates code │
|
|
176
|
+
│ Tests + static analysis + coverage │
|
|
177
|
+
│ │
|
|
178
|
+
└─ Spawns terminal ──────────────────────┐
|
|
179
|
+
│
|
|
180
|
+
DEPLOY │
|
|
181
|
+
DevOps handles git, deploy, docs │
|
|
182
|
+
│
|
|
183
|
+
✓ Done │
|
|
171
184
|
```
|
|
172
185
|
|
|
173
186
|
Each spawned terminal runs as a separate `claude -p --model <model>` process with its own context window, write-scope isolation, and structured handoff output.
|
|
174
187
|
|
|
175
188
|
### Intelligence Layer
|
|
176
189
|
|
|
177
|
-
|
|
190
|
+
Three systems operate transparently behind the pipeline:
|
|
178
191
|
|
|
179
192
|
| System | What it does |
|
|
180
193
|
|--------|-------------|
|
|
181
|
-
| **Context Engine PRISM** | 5
|
|
182
|
-
| **Memory System RECALL** |
|
|
183
|
-
| **Decision Engine COMPASS** |
|
|
184
|
-
| **Session Lock** | Locks the session on `/chati` activation. All messages routed through orchestrator. Exit only via `/chati exit`. Prevents accidental context leakage. |
|
|
185
|
-
|
|
186
|
-
### Universal Protocols
|
|
187
|
-
|
|
188
|
-
Every agent follows 8 universal protocols:
|
|
189
|
-
|
|
190
|
-
| Protocol | Purpose |
|
|
191
|
-
|----------|---------|
|
|
192
|
-
| 5.1 Dynamic Self-Validation | Binary pass/fail criteria per agent |
|
|
193
|
-
| 5.2 Loop Until Done | Iterate until quality threshold met |
|
|
194
|
-
| 5.3 Guided Options | Always present 1, 2, 3 choices |
|
|
195
|
-
| 5.4 Persistence | Session state survives restarts |
|
|
196
|
-
| 5.5 Two-Layer Handoff | Structured context transfer between agents |
|
|
197
|
-
| 5.6 Language Protocol | Interaction in user lang, artifacts in English |
|
|
198
|
-
| 5.7 Deviation Protocol | Handle scope changes mid-pipeline |
|
|
199
|
-
| 5.8 Interaction Model | Agent-driven with power user escape hatch |
|
|
194
|
+
| **Context Engine (PRISM)** | Injects the right context at the right time. 5 layers of context (from system-wide rules down to specific task details). Tracks how much context space remains and adapts automatically. |
|
|
195
|
+
| **Memory System (RECALL)** | Remembers decisions, gotchas, and lessons across sessions. Organized into 4 sectors: what happened (episodic), what we know (semantic), how we do things (procedural), and what we learned (reflective). |
|
|
196
|
+
| **Decision Engine (COMPASS)** | Before creating something new, checks if a similar component already exists. Decides whether to reuse, adapt, or create from scratch. Keeps a registry of all project entities. |
|
|
200
197
|
|
|
201
198
|
### Constitution
|
|
202
199
|
|
|
203
|
-
The system is governed by a **17-article Constitution** that enforces agent behavior, quality standards, security, and system integrity
|
|
200
|
+
The system is governed by a **17-article Constitution** that enforces agent behavior, quality standards, security, and system integrity:
|
|
204
201
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
| XV | Session lock governance — mandatory lock, explicit exit only |
|
|
213
|
-
| XVI | Model governance — opus/sonnet/haiku per agent, no downgrade rule |
|
|
214
|
-
| XVII | Execution mode governance — autonomous vs human-in-the-loop, safety net triggers |
|
|
202
|
+
- **Agent Governance** — Every agent has a defined mission, scope, and success criteria
|
|
203
|
+
- **Quality Standards** — Minimum 95% score on quality gates. Binary pass/fail, not subjective
|
|
204
|
+
- **Security** — No secrets in system files. No destructive operations without confirmation
|
|
205
|
+
- **Mode Governance** — Planning mode can't modify project code. Build mode has full access
|
|
206
|
+
- **Session Lock** — Once activated, all messages route through the orchestrator
|
|
207
|
+
- **Model Governance** — Each agent runs on its designated AI model (Opus, Sonnet, or Haiku)
|
|
208
|
+
- **Execution Modes** — Autonomous and human-in-the-loop with safety net and circuit breaker
|
|
215
209
|
|
|
216
210
|
---
|
|
217
211
|
|
|
218
212
|
## Supported IDEs
|
|
219
213
|
|
|
220
|
-
| IDE |
|
|
221
|
-
|
|
214
|
+
| IDE | How it connects |
|
|
215
|
+
|-----|----------------|
|
|
222
216
|
| **Claude Code** | `.claude/commands/chati.md` → orchestrator |
|
|
223
217
|
| **VS Code** | `.vscode/chati.md` → orchestrator |
|
|
224
|
-
| **AntiGravity** | Platform agent config → orchestrator |
|
|
225
218
|
| **Cursor** | `.cursor/rules/chati.md` → orchestrator |
|
|
226
219
|
| **Gemini CLI** | `.gemini/agents/chati.md` → orchestrator |
|
|
227
220
|
| **GitHub Copilot** | `.github/copilot/chati.md` → orchestrator |
|
|
221
|
+
| **AntiGravity** | Platform agent config → orchestrator |
|
|
222
|
+
|
|
223
|
+
All IDEs use a thin router file that points to the same orchestrator. Your project works the same regardless of which IDE you use.
|
|
228
224
|
|
|
229
225
|
---
|
|
230
226
|
|
|
231
227
|
## CLI Commands
|
|
232
228
|
|
|
229
|
+
### Setup & Maintenance
|
|
230
|
+
|
|
233
231
|
| Command | Description |
|
|
234
232
|
|---------|-------------|
|
|
235
|
-
| `npx chati-dev init` | Initialize new project with wizard |
|
|
233
|
+
| `npx chati-dev init` | Initialize new project with guided wizard |
|
|
236
234
|
| `npx chati-dev install` | Install into existing project |
|
|
237
235
|
| `npx chati-dev status` | Show project dashboard |
|
|
238
236
|
| `npx chati-dev status --watch` | Auto-refresh dashboard every 5s |
|
|
239
|
-
| `npx chati-dev
|
|
237
|
+
| `npx chati-dev health` | Run system health check (5 checks) |
|
|
238
|
+
| `npx chati-dev check-update` | Check for updates |
|
|
240
239
|
| `npx chati-dev upgrade` | Upgrade to latest version |
|
|
241
240
|
| `npx chati-dev upgrade --version X.Y.Z` | Upgrade to specific version |
|
|
242
|
-
| `npx chati-dev
|
|
243
|
-
| `npx chati-dev
|
|
241
|
+
| `npx chati-dev --reconfigure` | Reconfigure installation |
|
|
242
|
+
| `npx chati-dev changelog` | View changelog |
|
|
243
|
+
|
|
244
|
+
### Memory & Context
|
|
245
|
+
|
|
246
|
+
| Command | Description |
|
|
247
|
+
|---------|-------------|
|
|
248
|
+
| `npx chati-dev memory stats` | Show memory statistics |
|
|
249
|
+
| `npx chati-dev memory list` | List memories (filter by --agent, --sector, --tier) |
|
|
244
250
|
| `npx chati-dev memory search <query>` | Search memories by tags or content |
|
|
245
|
-
| `npx chati-dev memory clean` | Clean expired
|
|
246
|
-
| `npx chati-dev context` | Show context bracket
|
|
251
|
+
| `npx chati-dev memory clean` | Clean expired memories (--dry-run to preview) |
|
|
252
|
+
| `npx chati-dev context` | Show context bracket status |
|
|
247
253
|
| `npx chati-dev registry stats` | Show entity registry statistics |
|
|
248
|
-
| `npx chati-dev registry check` | Validate
|
|
249
|
-
| `npx chati-dev health` | Comprehensive system health check (5 checks) |
|
|
250
|
-
| `npx chati-dev changelog` | View changelog |
|
|
251
|
-
| `npx chati-dev --reconfigure` | Reconfigure installation |
|
|
254
|
+
| `npx chati-dev registry check` | Validate registry against filesystem |
|
|
252
255
|
|
|
253
|
-
###
|
|
256
|
+
### Inside an Active Session
|
|
254
257
|
|
|
255
258
|
| Command | Description |
|
|
256
259
|
|---------|-------------|
|
|
257
260
|
| `/chati` | Start or resume session |
|
|
258
|
-
| `/chati status` | Show pipeline
|
|
261
|
+
| `/chati status` | Show pipeline progress |
|
|
259
262
|
| `/chati help` | Show available commands |
|
|
260
263
|
| `/chati resume` | Resume from continuation file |
|
|
261
264
|
| `/chati exit` | Save session and exit |
|
|
@@ -268,58 +271,44 @@ The system is governed by a **17-article Constitution** that enforces agent beha
|
|
|
268
271
|
your-project/
|
|
269
272
|
├── .chati/
|
|
270
273
|
│ ├── session.yaml # Session state (auto-managed, gitignored)
|
|
271
|
-
│ └── memories/ # Memory
|
|
274
|
+
│ └── memories/ # Memory storage (gitignored)
|
|
272
275
|
├── .claude/
|
|
273
276
|
│ ├── commands/
|
|
274
277
|
│ │ └── chati.md # Thin router → orchestrator
|
|
275
278
|
│ └── rules/
|
|
276
|
-
│ └── chati/ # Framework context (auto-loaded
|
|
277
|
-
│ ├── root.md # System overview
|
|
278
|
-
│ ├── governance.md # Constitution
|
|
279
|
-
│ ├── protocols.md #
|
|
279
|
+
│ └── chati/ # Framework context (auto-loaded)
|
|
280
|
+
│ ├── root.md # System overview
|
|
281
|
+
│ ├── governance.md # Constitution rules
|
|
282
|
+
│ ├── protocols.md # Universal protocols
|
|
280
283
|
│ └── quality.md # Quality standards
|
|
281
|
-
├── CLAUDE.md #
|
|
282
|
-
├── CLAUDE.local.md # Runtime state
|
|
283
|
-
├── docs/
|
|
284
|
-
│ └── CHANGELOG.md # Version history
|
|
284
|
+
├── CLAUDE.md # Project context (auto-generated)
|
|
285
|
+
├── CLAUDE.local.md # Runtime state (gitignored)
|
|
285
286
|
├── chati.dev/
|
|
286
287
|
│ ├── orchestrator/ # Main orchestrator
|
|
287
288
|
│ ├── agents/ # 13 agent definitions
|
|
288
|
-
│ │ ├── discover/
|
|
289
|
-
│ │ ├── plan/
|
|
290
|
-
│ │ ├── quality/ #
|
|
291
|
-
│ │ ├── build/ # Dev
|
|
292
|
-
│ │ └── deploy/ # DevOps
|
|
293
|
-
│ ├── tasks/ #
|
|
289
|
+
│ │ ├── discover/ # Greenfield WU, Brownfield WU, Brief
|
|
290
|
+
│ │ ├── plan/ # Detail, Architect, UX, Phases, Tasks
|
|
291
|
+
│ │ ├── quality/ # QA-Planning, QA-Implementation
|
|
292
|
+
│ │ ├── build/ # Dev
|
|
293
|
+
│ │ └── deploy/ # DevOps
|
|
294
|
+
│ ├── tasks/ # 73 task definitions
|
|
294
295
|
│ ├── workflows/ # 6 workflow blueprints
|
|
295
296
|
│ ├── templates/ # 6 artifact templates
|
|
296
|
-
│ ├── schemas/ # 5 JSON schemas
|
|
297
|
-
│ ├── intelligence/ #
|
|
298
|
-
│ ├── domains/ #
|
|
299
|
-
│ ├── hooks/ # 6 Claude Code hooks
|
|
300
|
-
│ ├── context/ # Context
|
|
301
|
-
│ ├── frameworks/ # Decision heuristics
|
|
297
|
+
│ ├── schemas/ # 5 JSON schemas
|
|
298
|
+
│ ├── intelligence/ # PRISM, RECALL, COMPASS specs
|
|
299
|
+
│ ├── domains/ # Per-agent and per-workflow configs
|
|
300
|
+
│ ├── hooks/ # 6 Claude Code hooks
|
|
301
|
+
│ ├── context/ # Context files (deployed to .claude/rules/)
|
|
302
|
+
│ ├── frameworks/ # Decision heuristics
|
|
302
303
|
│ ├── quality-gates/ # Planning & implementation gates
|
|
303
304
|
│ ├── patterns/ # Elicitation patterns
|
|
304
|
-
│ ├── data/ # Entity registry
|
|
305
|
+
│ ├── data/ # Entity registry
|
|
305
306
|
│ ├── i18n/ # EN, PT, ES, FR translations
|
|
306
307
|
│ ├── migrations/ # Version migration scripts
|
|
307
308
|
│ ├── constitution.md # 17 Articles + Preamble
|
|
308
|
-
│
|
|
309
|
-
│ └── artifacts/ # Generated during pipeline
|
|
310
|
-
│ ├── 0-WU/
|
|
311
|
-
│ ├── 1-Brief/
|
|
312
|
-
│ ├── 2-PRD/
|
|
313
|
-
│ ├── 3-Architecture/
|
|
314
|
-
│ ├── 4-UX/
|
|
315
|
-
│ ├── 5-Phases/
|
|
316
|
-
│ ├── 6-Tasks/
|
|
317
|
-
│ ├── 7-QA-Planning/
|
|
318
|
-
│ ├── 8-Validation/
|
|
319
|
-
│ └── handoffs/
|
|
309
|
+
│ └── config.yaml # System configuration
|
|
320
310
|
└── packages/
|
|
321
|
-
└── chati-dev/ # CLI + runtime engine
|
|
322
|
-
└── src/terminal/ # Multi-terminal spawner, monitor, collector
|
|
311
|
+
└── chati-dev/ # CLI + runtime engine
|
|
323
312
|
```
|
|
324
313
|
|
|
325
314
|
---
|
|
@@ -353,15 +342,15 @@ Upgrades include automatic backup, migrations, validation, and config merging. R
|
|
|
353
342
|
|
|
354
343
|
## Contributing
|
|
355
344
|
|
|
356
|
-
We welcome contributions
|
|
345
|
+
We welcome contributions — agents, templates, workflows, translations, and CLI improvements. See [CONTRIBUTING.md](.github/CONTRIBUTING.md) for guidelines.
|
|
357
346
|
|
|
358
347
|
## Security
|
|
359
348
|
|
|
360
|
-
For security concerns,
|
|
349
|
+
For security concerns, see our [Security Policy](.github/SECURITY.md).
|
|
361
350
|
|
|
362
351
|
## License
|
|
363
352
|
|
|
364
|
-
|
|
353
|
+
[MIT](LICENSE)
|
|
365
354
|
|
|
366
355
|
---
|
|
367
356
|
|
|
@@ -14,6 +14,7 @@ You are the **Dev Agent**, responsible for implementing code based on the approv
|
|
|
14
14
|
- **Ratio**: 20% Human / 80% AI (interactive) or 5% Human / 95% AI (autonomous)
|
|
15
15
|
- **Absorbs**: Dev personas, self-validation patterns, Design System token enforcement, Ralph Wiggum autonomous mode, blocker taxonomy
|
|
16
16
|
- **Model**: opus | no downgrade (code generation requires highest quality)
|
|
17
|
+
- **Provider**: claude (default) | gemini (when large codebase tasks)
|
|
17
18
|
|
|
18
19
|
## Required MCPs
|
|
19
20
|
- context7 (library documentation)
|
|
@@ -13,6 +13,7 @@ You are the **DevOps Agent**, responsible for shipping the project: Git operatio
|
|
|
13
13
|
- **Duration**: 15-30 min
|
|
14
14
|
- **Ratio**: 30% Human / 70% AI
|
|
15
15
|
- **Model**: sonnet | upgrade: opus if multi-environment or infrastructure-as-code
|
|
16
|
+
- **Provider**: claude (default)
|
|
16
17
|
- **Absorbs**: Docs-gen (auto documentation generation)
|
|
17
18
|
|
|
18
19
|
## Required MCPs
|
|
@@ -13,6 +13,7 @@ You are the **Brief Agent**, responsible for extracting and structuring the core
|
|
|
13
13
|
- **Duration**: 30-60 min
|
|
14
14
|
- **Ratio**: 90% Human / 10% AI
|
|
15
15
|
- **Model**: sonnet | upgrade: opus if enterprise or 10+ integrations
|
|
16
|
+
- **Provider**: claude (default)
|
|
16
17
|
|
|
17
18
|
## Required MCPs
|
|
18
19
|
- None
|
|
@@ -13,6 +13,7 @@ You are the **Brownfield WU Agent**, responsible for comprehensive discovery of
|
|
|
13
13
|
- **Duration**: 1-4h depending on codebase size
|
|
14
14
|
- **Ratio**: 40% Human / 60% AI
|
|
15
15
|
- **Model**: opus | no downgrade (codebase analysis requires deep reasoning)
|
|
16
|
+
- **Provider**: claude (default) | gemini (when codebase > 100K LOC)
|
|
16
17
|
|
|
17
18
|
## Required MCPs
|
|
18
19
|
- git (read-only)
|
|
@@ -13,6 +13,7 @@ You are the **Greenfield WU Agent**, responsible for understanding HOW the user
|
|
|
13
13
|
- **Duration**: 15-30 min
|
|
14
14
|
- **Ratio**: 70% Human / 30% AI
|
|
15
15
|
- **Model**: haiku | upgrade: sonnet if multi-stack or enterprise
|
|
16
|
+
- **Provider**: claude (default)
|
|
16
17
|
|
|
17
18
|
## Required MCPs
|
|
18
19
|
- None
|
|
@@ -14,6 +14,7 @@ You are the **Architect Agent**, responsible for defining HOW the system will be
|
|
|
14
14
|
- **Ratio**: 50% Human / 50% AI
|
|
15
15
|
- **Absorbs**: Data Engineer (data modeling, DB audit, schema design, RLS policies)
|
|
16
16
|
- **Model**: opus | no downgrade (architecture decisions require deep reasoning)
|
|
17
|
+
- **Provider**: claude (default)
|
|
17
18
|
|
|
18
19
|
## Required MCPs
|
|
19
20
|
- context7 (library documentation search)
|
|
@@ -14,6 +14,7 @@ You are the **Detail Agent**, responsible for transforming the Brief into a form
|
|
|
14
14
|
- **Ratio**: 70% Human / 30% AI
|
|
15
15
|
- **Absorbs**: PM (PRD creation, product strategy), Analyst (market research, competitive analysis)
|
|
16
16
|
- **Model**: opus | no downgrade (PRD traceability requires deep reasoning)
|
|
17
|
+
- **Provider**: claude (default)
|
|
17
18
|
|
|
18
19
|
## Required MCPs
|
|
19
20
|
- None
|
|
@@ -14,6 +14,7 @@ You are the **Phases Agent**, responsible for breaking the PRD into development
|
|
|
14
14
|
- **Ratio**: 60% Human / 40% AI
|
|
15
15
|
- **Absorbs**: SM (sprint planning, prioritization, wave sequencing)
|
|
16
16
|
- **Model**: sonnet | upgrade: opus if 20+ requirements or complex dependencies
|
|
17
|
+
- **Provider**: claude (default)
|
|
17
18
|
|
|
18
19
|
## Required MCPs
|
|
19
20
|
- None
|
|
@@ -14,6 +14,7 @@ You are the **Tasks Agent**, responsible for breaking phases into atomic, execut
|
|
|
14
14
|
- **Ratio**: 50% Human / 50% AI
|
|
15
15
|
- **Absorbs**: SM (structured task creation, Given-When-Then criteria)
|
|
16
16
|
- **Model**: sonnet | upgrade: opus if 50+ tasks or complex acceptance criteria
|
|
17
|
+
- **Provider**: claude (default)
|
|
17
18
|
|
|
18
19
|
## Required MCPs
|
|
19
20
|
- None
|
|
@@ -14,6 +14,7 @@ You are the **UX Agent**, responsible for defining HOW the product will look and
|
|
|
14
14
|
- **Ratio**: 60% Human / 40% AI
|
|
15
15
|
- **Absorbs**: Design System init + audit (embedded workflow)
|
|
16
16
|
- **Model**: sonnet | upgrade: opus if design system creation from scratch
|
|
17
|
+
- **Provider**: claude (default)
|
|
17
18
|
|
|
18
19
|
## Required MCPs
|
|
19
20
|
- None
|
|
@@ -13,6 +13,7 @@ You are the **QA-Implementation Agent**, the quality gate between BUILD and DEPL
|
|
|
13
13
|
- **Duration**: 15-45 min (mostly automated)
|
|
14
14
|
- **Ratio**: 90% AI / 10% Human
|
|
15
15
|
- **Model**: opus | no downgrade (code review and SAST require deep reasoning)
|
|
16
|
+
- **Provider**: claude (default)
|
|
16
17
|
- **Absorbs**: Tests + SAST + CodeRabbit code review
|
|
17
18
|
|
|
18
19
|
## Required MCPs
|
|
@@ -13,6 +13,7 @@ You are the **QA-Planning Agent**, the quality gate between PLANNING (planning)
|
|
|
13
13
|
- **Duration**: 15-30 min (automated validation)
|
|
14
14
|
- **Ratio**: 95% AI / 5% Human
|
|
15
15
|
- **Model**: opus | no downgrade (cross-artifact validation requires deep reasoning)
|
|
16
|
+
- **Provider**: claude (default)
|
|
16
17
|
- **Absorbs**: Manager (cross-artifact validation), PO (quality gate validation, coherence checks)
|
|
17
18
|
|
|
18
19
|
## Required MCPs
|
package/framework/config.yaml
CHANGED
|
@@ -1,8 +1,27 @@
|
|
|
1
1
|
# chati.dev Configuration
|
|
2
|
-
version: "
|
|
2
|
+
version: "3.0.0"
|
|
3
3
|
installed_at: "2026-02-07T10:00:00Z"
|
|
4
4
|
updated_at: "2026-02-17T00:00:00Z"
|
|
5
|
-
installer_version: "
|
|
5
|
+
installer_version: "3.0.0"
|
|
6
6
|
project_type: greenfield
|
|
7
7
|
language: en
|
|
8
8
|
ides: [claude-code]
|
|
9
|
+
|
|
10
|
+
# CLI providers — multi-CLI is opt-in (Article XIX)
|
|
11
|
+
providers:
|
|
12
|
+
claude:
|
|
13
|
+
enabled: true
|
|
14
|
+
primary: true
|
|
15
|
+
gemini:
|
|
16
|
+
enabled: false
|
|
17
|
+
model_default: pro
|
|
18
|
+
codex:
|
|
19
|
+
enabled: false
|
|
20
|
+
model_default: codex
|
|
21
|
+
copilot:
|
|
22
|
+
enabled: false
|
|
23
|
+
|
|
24
|
+
# Per-agent provider/model overrides (optional — inherits from AGENT_MODELS default)
|
|
25
|
+
# agent_overrides:
|
|
26
|
+
# dev: { provider: gemini, model: pro }
|
|
27
|
+
# brownfield-wu: { provider: gemini, model: pro }
|