cc-workspace 4.6.0 → 4.6.1
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 +62 -89
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -210,32 +210,24 @@ parallel in each repo via Agent Teams.
|
|
|
210
210
|
|
|
211
211
|
### Architecture
|
|
212
212
|
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
end
|
|
232
|
-
|
|
233
|
-
style TL fill:#6c5ce7,color:#fff
|
|
234
|
-
style IMP1 fill:#0d6efd,color:#fff
|
|
235
|
-
style IMP2 fill:#0d6efd,color:#fff
|
|
236
|
-
style QA fill:#e17055,color:#fff
|
|
237
|
-
style EXP fill:#636e72,color:#fff
|
|
238
|
-
style USER fill:#1a1a2e,color:#fff
|
|
213
|
+
```
|
|
214
|
+
orchestrator/
|
|
215
|
+
┌─────────────────────┐
|
|
216
|
+
You ◄──────────► │ Team Lead (Opus) │
|
|
217
|
+
clarify, plan, │ writes plans/*.md │
|
|
218
|
+
review └────────┬────────────┘
|
|
219
|
+
│ spawn
|
|
220
|
+
┌───────────────┼───────────────┐
|
|
221
|
+
│ │ │
|
|
222
|
+
▼ ▼ ▼
|
|
223
|
+
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
|
|
224
|
+
│ Implementer │ │ Implementer │ │ QA Ruthless │
|
|
225
|
+
│ (Sonnet) │ │ (Sonnet) │ │ (Sonnet) │
|
|
226
|
+
└──────┬───────┘ └──────┬───────┘ └──────────────┘
|
|
227
|
+
│ commit │ commit
|
|
228
|
+
▼ ▼ Explorer
|
|
229
|
+
/tmp/repo-api /tmp/repo-front (Haiku)
|
|
230
|
+
session/feat session/feat read-only
|
|
239
231
|
```
|
|
240
232
|
|
|
241
233
|
### Who does what
|
|
@@ -260,69 +252,50 @@ graph LR
|
|
|
260
252
|
|
|
261
253
|
### The dispatch-feature workflow (Mode A)
|
|
262
254
|
|
|
263
|
-
```mermaid
|
|
264
|
-
flowchart TD
|
|
265
|
-
START([User describes feature]) --> CLARIFY
|
|
266
|
-
|
|
267
|
-
subgraph "Phase 0 — Clarify"
|
|
268
|
-
CLARIFY[Ask max 5 questions\nif ambiguity]
|
|
269
|
-
end
|
|
270
|
-
|
|
271
|
-
CLARIFY --> PLAN
|
|
272
|
-
|
|
273
|
-
subgraph "Phase 1-2 — Plan"
|
|
274
|
-
PLAN[Load context\nworkspace.md + constitution.md]
|
|
275
|
-
PLAN --> WRITE[Write plan in ./plans/\ncommit units + API contract]
|
|
276
|
-
WRITE --> APPROVE{User approves?}
|
|
277
|
-
APPROVE -- No --> WRITE
|
|
278
|
-
end
|
|
279
|
-
|
|
280
|
-
APPROVE -- Yes --> SESSION
|
|
281
|
-
|
|
282
|
-
subgraph "Phase 2.5 — Session"
|
|
283
|
-
SESSION[Create session branches\ngit branch session/name source]
|
|
284
|
-
end
|
|
285
|
-
|
|
286
|
-
SESSION --> W1
|
|
287
|
-
|
|
288
|
-
subgraph "Phase 3 — Dispatch"
|
|
289
|
-
W1["Wave 1: Producers\n(API, data, auth)"]
|
|
290
|
-
W1 -->|"contracts validated"| W2["Wave 2: Consumers\n(frontend, integrations)"]
|
|
291
|
-
W2 --> W3["Wave 3: Infra\n(gateway, config)"]
|
|
292
|
-
|
|
293
|
-
W1 -.- IMP1["Implementer\nCommit 1/3"]
|
|
294
|
-
W1 -.- IMP2["Implementer\nCommit 2/3"]
|
|
295
|
-
W1 -.- IMP3["Implementer\nCommit 3/3"]
|
|
296
|
-
end
|
|
297
|
-
|
|
298
|
-
W3 --> VERIFY
|
|
299
|
-
|
|
300
|
-
subgraph "Phase 4-5 — Verify"
|
|
301
|
-
VERIFY[cross-service-check\n+ qa-ruthless]
|
|
302
|
-
end
|
|
303
|
-
|
|
304
|
-
VERIFY --> REPORT([Final summary\n+ propose fixes])
|
|
305
|
-
|
|
306
|
-
style START fill:#1a1a2e,color:#fff
|
|
307
|
-
style REPORT fill:#1a1a2e,color:#fff
|
|
308
|
-
style APPROVE fill:#2d3436,color:#fff
|
|
309
|
-
style IMP1 fill:#0d6efd,color:#fff
|
|
310
|
-
style IMP2 fill:#0d6efd,color:#fff
|
|
311
|
-
style IMP3 fill:#0d6efd,color:#fff
|
|
312
|
-
```
|
|
313
|
-
|
|
314
|
-
**Text version:**
|
|
315
|
-
|
|
316
255
|
```
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
256
|
+
User describes feature
|
|
257
|
+
│
|
|
258
|
+
▼
|
|
259
|
+
┌─── Phase 0: CLARIFY ───┐
|
|
260
|
+
│ Ask max 5 questions │
|
|
261
|
+
│ if ambiguity │
|
|
262
|
+
└────────┬────────────────┘
|
|
263
|
+
▼
|
|
264
|
+
┌─── Phase 1-2: PLAN ────┐
|
|
265
|
+
│ Load context │
|
|
266
|
+
│ Write plan in ./plans/ │
|
|
267
|
+
│ Commit units + contract │
|
|
268
|
+
│ Wait for approval ◄─┐ │
|
|
269
|
+
│ │ No ──┘ │
|
|
270
|
+
└────┼────────────────────┘
|
|
271
|
+
│ Yes
|
|
272
|
+
▼
|
|
273
|
+
┌─── Phase 2.5: SESSION ─┐
|
|
274
|
+
│ git branch session/name │
|
|
275
|
+
│ in each impacted repo │
|
|
276
|
+
└────────┬────────────────┘
|
|
277
|
+
▼
|
|
278
|
+
┌─── Phase 3: DISPATCH ──────────────────────────┐
|
|
279
|
+
│ │
|
|
280
|
+
│ Wave 1: Producers (API, data, auth) │
|
|
281
|
+
│ ├── Implementer → Commit 1/3 │
|
|
282
|
+
│ ├── Implementer → Commit 2/3 │
|
|
283
|
+
│ └── Implementer → Commit 3/3 │
|
|
284
|
+
│ │ contracts validated │
|
|
285
|
+
│ ▼ │
|
|
286
|
+
│ Wave 2: Consumers (frontend, integrations) │
|
|
287
|
+
│ │ │
|
|
288
|
+
│ ▼ │
|
|
289
|
+
│ Wave 3: Infra (gateway, config) │
|
|
290
|
+
│ │
|
|
291
|
+
└────────┬────────────────────────────────────────┘
|
|
292
|
+
▼
|
|
293
|
+
┌─── Phase 4-5: VERIFY ──┐
|
|
294
|
+
│ cross-service-check │
|
|
295
|
+
│ + qa-ruthless │
|
|
296
|
+
└────────┬────────────────┘
|
|
297
|
+
▼
|
|
298
|
+
Final summary + propose fixes
|
|
326
299
|
```
|
|
327
300
|
|
|
328
301
|
### Security — path-aware writes
|
|
@@ -610,7 +583,7 @@ With `--chrome`, the agent:
|
|
|
610
583
|
| 3 | **LSP fallback documented** | `qa-ruthless` and `incident-debug` now include explicit Grep+Glob fallback when LSP tool is unavailable. |
|
|
611
584
|
| 4 | **`cc-workspace uninstall`** | New CLI command to cleanly remove all global components from `~/.claude/`. Interactive confirmation. Local orchestrator/ preserved. |
|
|
612
585
|
| 5 | **workspace-init fixes** | Removed hardcoded version ("v4.0" → dynamic). Fixed skills count in diagnostic (9 → 13). |
|
|
613
|
-
| 6 | **
|
|
586
|
+
| 6 | **ASCII diagrams in README** | Architecture overview and dispatch workflow now have visual diagrams (ASCII art, compatible with GitHub and npm). |
|
|
614
587
|
|
|
615
588
|
---
|
|
616
589
|
|
package/package.json
CHANGED