@jaguilar87/gaia-ops 2.4.3 → 2.4.4
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 +1 -1
- package/templates/CLAUDE.template.md +1 -14
package/package.json
CHANGED
|
@@ -35,20 +35,7 @@
|
|
|
35
35
|
| 5 | Realization | `Task` tool (re-invoke) | Yes |
|
|
36
36
|
| 6 | Update SSOT | Edit `project-context.json`, `tasks.md` | Yes |
|
|
37
37
|
|
|
38
|
-
### Rule 5.0.1 [P0]:
|
|
39
|
-
|
|
40
|
-
When receiving a user prompt, execute phases sequentially:
|
|
41
|
-
|
|
42
|
-
1. **Phase 0 (Conditional):** If prompt is ambiguous, call clarification module to enrich prompt
|
|
43
|
-
2. **Phase 1:** Call `agent_router.py` with enriched prompt → Receive agent suggestion
|
|
44
|
-
3. **Phase 2:** Call `context_provider.py` with selected agent → Receive provisioned context
|
|
45
|
-
4. **Phase 3:** Invoke `Task` tool with `subagent_type=<agent>`, `prompt=<enriched_prompt>`, and provisioned context
|
|
46
|
-
- **Checkpoint:** Agent must return a plan. If no plan received, halt workflow and report error
|
|
47
|
-
5. **Phase 4 (T3 only):** Run approval gate (MANDATORY for T3 operations)
|
|
48
|
-
6. **Phase 5:** After user approval, re-invoke `Task` tool for realization
|
|
49
|
-
7. **Phase 6:** Update `project-context.json` and `tasks.md` with results
|
|
50
|
-
|
|
51
|
-
### Rule 5.0.2 [P0]: Phase 0 Implementation
|
|
38
|
+
### Rule 5.0.1 [P0]: Phase 0 Implementation
|
|
52
39
|
|
|
53
40
|
**When to invoke Phase 0:**
|
|
54
41
|
- User prompt contains generic terms: "the service", "the API", "the cluster"
|