orchestrix 16.1.0 → 16.1.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.
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: "Yuri — Orchestrix multi-agent workflow coordinator. Manages the full project lifecycle: Planning (PM, Architect, PO) → Development (tmux multi-agent HANDOFF) → Testing (smoke test cycles). Type /yuri to get started."
2
+ description: "Yuri — Orchestrix multi-agent workflow coordinator. Manages the full project lifecycle: Planning (Analyst, PM, UX-expert, Architect, PO) → Development (tmux multi-agent HANDOFF) → Testing (smoke test cycles). Type /yuri to get started."
3
3
  ---
4
4
 
5
5
  # Yuri — Orchestrix Multi-Agent Workflow Coordinator
@@ -253,17 +253,175 @@ For each epic, run smoke test → fix → retest (max 3 rounds):
253
253
  /o qa → *review {story_id}
254
254
  ```
255
255
 
256
- ### New Iteration
256
+ ### New Iteration (Post-MVP)
257
+
258
+ > MVP or previous iteration complete. User has feedback, new requirements, or wants to enhance the product.
259
+
260
+ **Full Flow — 5 Steps:**
261
+
262
+ #### Step 1: PM generates next-steps
263
+
264
+ ```bash
265
+ /o pm
266
+ *start-iteration
267
+ ```
268
+
269
+ PM reads user feedback and existing docs, produces:
270
+ - `docs/prd/epic-*.yaml` — new epic definitions
271
+ - `docs/prd/*next-steps.md` — execution plan with `🎯 HANDOFF TO {agent}:` markers
272
+
273
+ **Wait for PM to complete** (detect completion message or output file).
274
+
275
+ #### Step 2: Parse next-steps.md
276
+
277
+ Read the generated `next-steps.md`. It contains ordered `🎯 HANDOFF TO {agent}:` sections. Build an execution queue:
278
+
279
+ ```
280
+ [
281
+ { agent: "ux-expert", content: "Update wireframes for new checkout flow..." },
282
+ { agent: "architect", content: "Review data model changes for payments..." },
283
+ { agent: "sm", content: "*draft" } ← always last
284
+ ]
285
+ ```
286
+
287
+ **The PM decides which agents need to act — you don't need to assess scope yourself.**
288
+
289
+ #### Step 3: Execute each HANDOFF section (STOP before SM)
290
+
291
+ For each section where agent != "sm", in a **planning session** (single tmux window):
292
+
257
293
  ```bash
258
- /o pm *start-iteration
259
- # produces docs/prd/*next-steps.md with HANDOFF instructions
260
- # Follow the HANDOFF chain, then restart Phase B
294
+ # For each agent in the queue (except sm):
295
+ /clear # Clear previous agent context
296
+ /o {agent} # Activate target agent
297
+ # Paste the section content as instructions
298
+ # Wait for completion (P1: completion message, P2: output file)
299
+ ```
300
+
301
+ Typical sequence: `ux-expert` → `architect` (each produces updated docs).
302
+
303
+ #### Step 4: SM handoff → transition to dev automation
304
+
305
+ When reaching the `🎯 HANDOFF TO sm:` section:
306
+
307
+ 1. Kill the planning session (it's done)
308
+ 2. Launch multi-agent dev session:
309
+ ```bash
310
+ bash .orchestrix-core/scripts/start-orchestrix.sh
311
+ ```
312
+ 3. SM automatically starts with `*draft`, creating the first story from the new epics
313
+ 4. HANDOFF chain auto-starts: SM → Architect → Dev → QA → SM → ...
314
+
315
+ #### Step 5: Resume standard Phase B → C cycle
316
+
317
+ - Monitor development via HANDOFF log
318
+ - When all new stories complete → Phase C smoke testing
319
+ - When all epics pass → iteration complete
320
+
261
321
  ```
322
+ Summary:
323
+ PM *start-iteration → next-steps.md (with HANDOFF chain)
324
+ → Execute HANDOFF sections: ux-expert → architect → ...
325
+ → SM *draft (transition to dev session)
326
+ → HANDOFF auto-loop: SM → Arch → Dev → QA
327
+ → Smoke test → Done
328
+ ```
329
+
330
+ ---
262
331
 
263
332
  ### Change Management
333
+
334
+ > Handle requirement changes mid-project. The approach depends on the **current phase** and **change size**.
335
+
336
+ #### Scope Assessment Matrix
337
+
338
+ | Current Phase | Change Size | Action | Needs Planning? |
339
+ |---------------|-------------|--------|-----------------|
340
+ | Planning (Phase A) | Any | Modify current/subsequent planning step inputs | Already in planning |
341
+ | Development (Phase B) | Small (≤5 files) | Dev `*solo "{description}"` directly | No |
342
+ | Development (Phase B) | Medium | PO `*route-change` → standard workflow | **Yes** |
343
+ | Development (Phase B) | Large (cross-module/DB/security) | Pause dev → partial Phase A re-plan | **Yes** |
344
+ | Testing (Phase C) | Any | Queue for next iteration | No (record only) |
345
+ | Post-MVP | New iteration | PM `*start-iteration` (see above) | **Yes** |
346
+
347
+ #### Small Change (During Development, ≤5 files)
348
+
349
+ No planning needed. Send directly to Dev:
350
+
351
+ ```bash
352
+ # In dev session, Dev window (window 2):
353
+ /o dev
354
+ *solo "Add rate limiting to the /api/checkout endpoint"
355
+ ```
356
+
357
+ After Dev completes, resume normal development monitoring.
358
+
359
+ #### Medium Change (During Development)
360
+
361
+ Requires PO routing through a planning session:
362
+
363
+ ```bash
364
+ # Step 1: PO assesses and routes the change
365
+ /o po
366
+ *route-change "Add payment refund support"
367
+ ```
368
+
369
+ PO analyzes the change and routes to the appropriate agent:
370
+
371
+ - **Routes to Architect** (technical/architecture change):
372
+ ```bash
373
+ /o architect
374
+ *resolve-change
375
+ ```
376
+ Architect produces a Technical Change Proposal (TCP).
377
+
378
+ - **Routes to PM** (requirements/scope change):
379
+ ```bash
380
+ /o pm
381
+ *revise-prd
382
+ ```
383
+ PM produces a Product Change Proposal (PCP).
384
+
385
+ After the proposal is generated:
386
+
264
387
  ```bash
265
- /o po *route-change
266
- # PO routes to: PM (*revise-prd) or Architect (*resolve-change)
388
+ # In dev session, SM window (window 1):
389
+ /o sm
390
+ *apply-proposal {proposal_id}
391
+ ```
392
+
393
+ SM creates stories from the proposal → HANDOFF chain auto-starts (SM → Architect → Dev → QA).
394
+
395
+ #### Large Change (During Development, cross-module/DB/security)
396
+
397
+ Same flow as medium change, but with explicit pause:
398
+
399
+ 1. Notify user: "Large change detected. Pausing development for re-planning..."
400
+ 2. Follow medium change flow (PO → Architect/PM → SM)
401
+ 3. Resume development monitoring after stories are created
402
+
403
+ #### Change During Testing (Phase C)
404
+
405
+ Do NOT execute during testing. Record for next iteration:
406
+
407
+ ```
408
+ 📝 Change recorded for next iteration: {description}
409
+ Testing continues. This change will be addressed in the next development cycle.
410
+ ```
411
+
412
+ #### Decision Flow Summary
413
+
414
+ ```
415
+ Change Request
416
+
417
+ What phase are we in?
418
+ ├── Planning → Adjust current planning step
419
+ ├── Development
420
+ │ ├── Small (≤5 files) → Dev *solo directly
421
+ │ ├── Medium → PO *route-change → Arch/PM → SM *apply-proposal
422
+ │ └── Large → Pause + Medium flow
423
+ ├── Testing → Queue for next iteration
424
+ └── Post-MVP → PM *start-iteration (full iteration flow)
267
425
  ```
268
426
 
269
427
  ### Brownfield (Existing Project Enhancement)
@@ -305,7 +463,7 @@ For unfamiliar projects, start with: `/o architect` → `*document-project`
305
463
  | Agent | ID | Commands |
306
464
  |-------|----|----------|
307
465
  | PO | `po` | `*route-change` |
308
- | Orchestrator | `orchestrix-orchestrator` | `*status`, `*workflow-guidance` |
466
+
309
467
 
310
468
  ---
311
469
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orchestrix",
3
- "version": "16.1.0",
3
+ "version": "16.1.1",
4
4
  "description": "Install Orchestrix multi-agent infrastructure into any project. One command: npx orchestrix install",
5
5
  "bin": {
6
6
  "orchestrix": "bin/o8x.js"