Skip to content

Commit 83aff56

Browse files
authored
Merge pull request #8 from qbicsoftware/fix/kimi-minimax-unsupported-options
feat: improve multi-tier agent workflow with self-service handoffs
2 parents 7a18994 + bfad196 commit 83aff56

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

prompts/coding-boss.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ Workflow contract:
3030
- set `handoff_id` to a session-traceable value such as `<session_id>-<seq>`
3131
- 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
3232
- 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/
3436
- do not rely on subagents to call other subagents directly
3537
- decide the next step yourself based on persisted results, and write any follow-on handoff artifacts in the same session folder
3638
- return the final persisted result artifact to the requester

prompts/docs.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ Workflow contract:
1717
- set `handoff_id` to a session-traceable value such as `<session_id>-<seq>`
1818
- 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
1919
- 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/
2123
- do not rely on subagents to call other subagents directly
2224
- decide the next step yourself based on persisted results, and write any follow-on handoff artifacts in the same session folder
2325
- return the final persisted result artifact to the requester

0 commit comments

Comments
 (0)