chati-dev 3.0.4 → 3.0.5
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.
|
@@ -70,7 +70,17 @@ Before determining state, check if the user passed a subcommand:
|
|
|
70
70
|
-> First run. Go to Step 4 (New Project Setup)
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
**If session.yaml has
|
|
73
|
+
**If session.yaml has project BUT current_agent is empty AND all agents are "pending":**
|
|
74
|
+
```
|
|
75
|
+
-> Fresh install (installer created session.yaml but no agent has run yet).
|
|
76
|
+
-> Skip directly to Step 4d (Route to First Agent).
|
|
77
|
+
-> Use project.type from session.yaml (already set by installer).
|
|
78
|
+
-> Use language from session.yaml (already set by installer).
|
|
79
|
+
-> Do NOT ask project type or language again — installer already collected these.
|
|
80
|
+
-> Do NOT present options — immediately activate the first agent.
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**If session.yaml has active project (current_agent is set OR at least one agent is not "pending"):**
|
|
74
84
|
```
|
|
75
85
|
-> Resume session. Go to Step 5 (Session Resume)
|
|
76
86
|
```
|
|
@@ -155,9 +165,18 @@ user_level_confidence: 0.0
|
|
|
155
165
|
```
|
|
156
166
|
|
|
157
167
|
#### 3d. Route to First Agent
|
|
168
|
+
|
|
169
|
+
This step is reached either from Step 4 (full setup) OR directly from Step 3 (fresh install).
|
|
170
|
+
In fresh install case, project.type and language are already in session.yaml — use them directly.
|
|
171
|
+
|
|
158
172
|
```
|
|
159
|
-
|
|
160
|
-
|
|
173
|
+
1. Update session.yaml: current_agent = greenfield-wu | brownfield-wu (based on project.type)
|
|
174
|
+
2. Activate Session Lock (see Session Lock Protocol)
|
|
175
|
+
3. If greenfield -> Read chati.dev/agents/discover/greenfield-wu.md -> Activate IMMEDIATELY
|
|
176
|
+
If brownfield -> Read chati.dev/agents/discover/brownfield-wu.md -> Activate IMMEDIATELY
|
|
177
|
+
4. The agent starts its work right away — no "Continue with X?" prompt needed
|
|
178
|
+
For greenfield-wu: begin asking the user about their project vision
|
|
179
|
+
For brownfield-wu: begin analyzing the existing codebase
|
|
161
180
|
```
|
|
162
181
|
|
|
163
182
|
### Step 5: Session Resume
|