fix(team-skills): resolve skill name inconsistency and add command execution protocol

team-coordinate-v2:
- Fix skill name mismatch: update all doc examples to use "team-coordinate-v2"
- This was the root cause of v2 failing to invoke teams

team-lifecycle-v3/v4:
- Add Command Execution Protocol section before Entry Router
- Fix Entry Router logic: distinguish interrupted vs new sessions
- Add Router Implementation subsection with concrete steps
This commit is contained in:
catlog22
2026-02-27 22:51:46 +08:00
parent be061dd2a2
commit b02c8497c7
4 changed files with 76 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ Universal team coordination skill: analyze task -> generate role-specs -> dispat
```
+---------------------------------------------------+
| Skill(skill="team-coordinate") |
| Skill(skill="team-coordinate-v2") |
| args="task description" |
+-------------------+-------------------------------+
|
@@ -64,7 +64,7 @@ Always route to coordinator. Coordinator reads `roles/coordinator/role.md` and e
User just provides task description.
**Invocation**: `Skill(skill="team-coordinate", args="task description")`
**Invocation**: `Skill(skill="team-coordinate-v2", args="task description")`
**Lifecycle**:
```
@@ -143,7 +143,7 @@ AskUserQuestion({
| Choice | Steps |
|--------|-------|
| Archive & Clean | Update session status="completed" -> TeamDelete -> output final summary with artifact paths |
| Keep Active | Update session status="paused" -> output: "Resume with: Skill(skill='team-coordinate', args='resume')" |
| Keep Active | Update session status="paused" -> output: "Resume with: Skill(skill='team-coordinate-v2', args='resume')" |
| Export Results | AskUserQuestion(target path) -> copy artifacts to target -> Archive & Clean |
---

View File

@@ -192,7 +192,7 @@ All tasks completed (no pending, no in_progress)
| | Output final summary with artifact paths
| +- "Keep Active":
| | Update session status="paused"
| | Output: "Resume with: Skill(skill='team-coordinate', args='resume')"
| | Output: "Resume with: Skill(skill='team-coordinate-v2', args='resume')"
| +- "Export Results":
| AskUserQuestion for target directory
| Copy deliverables to target