@fernado03/zoo-flow 0.8.6 → 0.8.7

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fernado03/zoo-flow",
3
3
  "description": "Workflow control plane for Zoo Code.",
4
- "version": "0.8.6",
4
+ "version": "0.8.7",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "zoo-flow": "bin/zoo-flow.js"
@@ -2,9 +2,22 @@
2
2
 
3
3
  A delegated task is the **entire command chain**, including every phase and every mode switch the command body defines — not the single phase you are currently running.
4
4
 
5
- Choose your exit by where you are in that chain:
5
+ ## CRITICAL: Never switch to "code" mode
6
6
 
7
- - **More phases remain** (this or a later phase is assigned to `code-tweaker`, or control returns to you afterward): use `switch_mode`. Never `attempt_completion`. Writing a plan, diagnosis, or `.scratch/` notes is not "done" — it is a handoff. Switch to `code-tweaker` to implement. The exact slug is `code-tweaker`, never `code`.
7
+ When implementation is needed, you MUST:
8
+ 1. Call `attempt_completion` with the recommended next command (e.g., `/feature`)
9
+ 2. Wait for the orchestrator to route the task
10
+ 3. The orchestrator will delegate to `code-tweaker`
11
+
12
+ NEVER call `switch_mode` directly to "code", "Code", or any variant. The only valid mode slugs are:
13
+ - `code-tweaker` (for implementation)
14
+ - `system-architect` (for planning/review)
15
+
16
+ If you need implementation, call `attempt_completion` and recommend the next command. Do not switch modes yourself.
17
+
18
+ ## Choosing your exit
19
+
20
+ - **More phases remain** (this or a later phase is assigned to `code-tweaker`, or control returns to you afterward): use `switch_mode` to `code-tweaker` (exact slug, never `code`). Never `attempt_completion`. Writing a plan, diagnosis, or `.scratch/` notes is not "done" — it is a handoff. Switch to `code-tweaker` to implement.
8
21
  - **You are running the command's final phase** and it is complete or blocked: use `attempt_completion` to return to the orchestrator.
9
22
 
10
23
  If you entered this window via `switch_mode` (you are mid-chain, not the entry point) and any phase remains, you hand back with `switch_mode`. Only the command's final phase returns to the orchestrator.