Add post-handoff invocations to code-review, create-story, and dev-story workflows
These three workflows complete work that hands off to another agent but were missing the post-handoff task invocation needed for orchestrator dispatch: - code-review: QA → SM (review_complete) on passing review - create-story: SM → Dev (story_prepared) when story is Ready for Dev - dev-story: Dev → QA (dev_complete) when transitioning to Review https://claude.ai/code/session_01GE7R9vLGsTa785ieSmeTT4
This commit is contained in:
parent
0f446aade1
commit
30282ac9ad
|
|
@ -114,9 +114,20 @@ additional_fields:
|
||||||
<action>Report the specific findings that need to be addressed</action>
|
<action>Report the specific findings that need to be addressed</action>
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
<step n="5" goal="Unlock and report">
|
<step n="5" goal="Unlock, hand off, and report">
|
||||||
<action>Invoke `lock-issue` task with `issue_key: "{selected_issue_key}"`, `action: "unlock"`, `agent_name: "code-review"`</action>
|
<action>Invoke `lock-issue` task with `issue_key: "{selected_issue_key}"`, `action: "unlock"`, `agent_name: "code-review"`</action>
|
||||||
|
|
||||||
|
{if_passed}
|
||||||
|
<action>Invoke `post-handoff` task with:</action>
|
||||||
|
|
||||||
|
```
|
||||||
|
handoff_to: "SM"
|
||||||
|
handoff_type: "review_complete"
|
||||||
|
summary: "Code review passed for {selected_issue_key}. Story transitioned to Done. SM should check if next story is ready or if retrospective is needed."
|
||||||
|
jira_issue_keys: ["{selected_issue_key}"]
|
||||||
|
```
|
||||||
|
{end_if}
|
||||||
|
|
||||||
<action>Report to user:</action>
|
<action>Report to user:</action>
|
||||||
|
|
||||||
**Code Review: {verdict}**
|
**Code Review: {verdict}**
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,16 @@ fallback_status_name: "Ready for Dev"
|
||||||
```
|
```
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
<step n="7" goal="Report">
|
<step n="7" goal="Hand off and report">
|
||||||
|
<action>Invoke `post-handoff` task with:</action>
|
||||||
|
|
||||||
|
```
|
||||||
|
handoff_to: "Dev"
|
||||||
|
handoff_type: "story_prepared"
|
||||||
|
summary: "Story {selected_issue_key} prepared with full dev context and subtasks. Ready for implementation."
|
||||||
|
jira_issue_keys: ["{selected_issue_key}"]
|
||||||
|
```
|
||||||
|
|
||||||
<action>Report to user:</action>
|
<action>Report to user:</action>
|
||||||
|
|
||||||
**Story Prepared: {story_title}**
|
**Story Prepared: {story_title}**
|
||||||
|
|
|
||||||
|
|
@ -118,6 +118,15 @@ fallback_status_name: "Review"
|
||||||
|
|
||||||
<action>Invoke `lock-issue` task with `issue_key: "{selected_issue_key}"`, `action: "unlock"`, `agent_name: "dev"`</action>
|
<action>Invoke `lock-issue` task with `issue_key: "{selected_issue_key}"`, `action: "unlock"`, `agent_name: "dev"`</action>
|
||||||
|
|
||||||
|
<action>Invoke `post-handoff` task with:</action>
|
||||||
|
|
||||||
|
```
|
||||||
|
handoff_to: "QA"
|
||||||
|
handoff_type: "dev_complete"
|
||||||
|
summary: "Implementation complete for {selected_issue_key}. All tests passing. Ready for code review."
|
||||||
|
jira_issue_keys: ["{selected_issue_key}"]
|
||||||
|
```
|
||||||
|
|
||||||
<action>Report to user:</action>
|
<action>Report to user:</action>
|
||||||
|
|
||||||
**Story Complete: {story_title}**
|
**Story Complete: {story_title}**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue