You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -326,14 +319,28 @@ Always add `jira-planned` label to identify subtasks created by this skill.
326
319
327
320
## Exit Conditions
328
321
329
-
| Outcome | Signal |
330
-
|---------|--------|
331
-
| Subtask(s) created successfully |`status: "success"`|
332
-
| Jira MCP not available |`status: "error", error: "Jira MCP not configured"`|
333
-
| User cancelled during questions |`status: "error", error: "User cancelled"`|
334
-
| Failed to create subtask |`status: "error", error: "<reason>"`|
335
-
| Parent issue not found |`status: "error", error: "Parent issue not found"`|
336
-
| Session file missing solution-space |`status: "error", error: "Session missing Solution Space - run /solution-space first"`|
322
+
| Outcome | Description |
323
+
|---------|-------------|
324
+
| Success | Subtask(s) created successfully |
325
+
| Error | Jira MCP not available, user cancelled, failed to create subtask, parent issue not found, or session file missing solution-space |
326
+
327
+
## Completion Signaling (MANDATORY)
328
+
329
+
**CRITICAL: You MUST signal completion when done.** Call the `signal_completion` tool as your FINAL action.
330
+
331
+
**Signal based on outcome:**
332
+
| Outcome | Call |
333
+
|---------|------|
334
+
| Subtasks created |`signal_completion(status: "success", message: "Created N subtasks: PROJ-101, PROJ-102")`|
335
+
| Jira MCP not available |`signal_completion(status: "error", error: "Jira MCP not configured")`|
336
+
| User cancelled |`signal_completion(status: "error", error: "User cancelled")`|
337
+
| Failed to create subtask |`signal_completion(status: "error", error: "<reason>")`|
338
+
| Parent issue not found |`signal_completion(status: "error", error: "Parent issue PROJ-100 not found")`|
339
+
| Session missing context |`signal_completion(status: "error", error: "Session missing Solution Space - run /solution-space first")`|
340
+
341
+
**If you do not signal, the orchestrator will not know you are done and the session becomes orphaned.**
342
+
343
+
**Fallback:** If the `signal_completion` tool is not available, output your completion status as your final message in the format: `COMPLETION: status=<status> message=<message>` or `COMPLETION: status=<status> error=<reason>`.
0 commit comments