@fernado03/zoo-flow 0.8.6 → 0.8.8
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
|
@@ -15,7 +15,6 @@ EXECUTION RULES:
|
|
|
15
15
|
- Tweaker executes phase 5 (Fix + test).
|
|
16
16
|
- Tweaker MUST `switch_mode` -> `system-architect`.
|
|
17
17
|
4. POST-MORTEM (Architect): Execute Phase 6. If architectural rot, suggest `/refactor`.
|
|
18
|
-
|
|
19
|
-
5. FOLLOW-UP (Tweaker): Suggest `/verify`, then `/review`, then `/commit-and-document`. Do not auto-launch.
|
|
18
|
+
5. FOLLOW-UP (Architect): Suggest `/verify`, then `/review`, then `/commit-and-document`. Do not auto-launch. Call `attempt_completion` with diagnosis summary, fix applied, post-mortem findings, and recommended next command.
|
|
20
19
|
|
|
21
20
|
$ARGUMENTS
|
|
@@ -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
|
-
|
|
5
|
+
## CRITICAL: Never switch to "code" mode
|
|
6
6
|
|
|
7
|
-
|
|
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.
|