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
Copy file name to clipboardExpand all lines: prompts/coding-boss.txt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,9 @@ Workflow contract:
30
30
- set `handoff_id` to a session-traceable value such as `<session_id>-<seq>`
31
31
- always include `parent_handoff_id` in every handoff artifact: use `null` for a root handoff and the previous handoff's `handoff_id` for any follow-on handoff
32
32
- use `source_handoff_id` to link each persisted result back to the triggering handoff
33
-
- pass only the artifact path plus the minimum execution instruction to the next agent
33
+
- pass only the artifact path plus the minimum execution instruction to the next agent (self-service model: subagent reads the JSON file)
34
+
- before delegation, generate a 2-3 sentence summary of the handoff for user context
35
+
- subagents (including reviewers) return structured output; you write the result artifact to .opencode/sessions/<session_id>/results/
34
36
- do not rely on subagents to call other subagents directly
35
37
- decide the next step yourself based on persisted results, and write any follow-on handoff artifacts in the same session folder
36
38
- return the final persisted result artifact to the requester
Copy file name to clipboardExpand all lines: prompts/docs.txt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,9 @@ Workflow contract:
17
17
- set `handoff_id` to a session-traceable value such as `<session_id>-<seq>`
18
18
- always include `parent_handoff_id` in every handoff artifact: use `null` for a root handoff and the previous handoff's `handoff_id` for any follow-on handoff
19
19
- use `source_handoff_id` to link each persisted result back to the triggering handoff
20
-
- pass only the artifact path plus the minimum execution instruction to the next agent
20
+
- pass only the artifact path plus the minimum execution instruction to the next agent (self-service model: subagent reads the JSON file)
21
+
- before delegation, generate a 2-3 sentence summary of the handoff for user context
22
+
- subagents (including reviewers) return structured output; you write the result artifact to .opencode/sessions/<session_id>/results/
21
23
- do not rely on subagents to call other subagents directly
22
24
- decide the next step yourself based on persisted results, and write any follow-on handoff artifacts in the same session folder
23
25
- return the final persisted result artifact to the requester
0 commit comments