feat: multi-agent team workflow — state persistence and structured handoff patterns#10
Draft
feat: multi-agent team workflow — state persistence and structured handoff patterns#10
Conversation
…or state management - New skill .opencode/skills/agent-team-workflow/SKILL.md: explains why workflow threads get lost and provides 4 concrete patterns (state file, structured handoff, OpenCode config, recovery) - Update agents/devtools/episode-orchestrator.md: add Step 0 state file creation, Thread continuity decision branch, structured dispatch example with global context block and "what comes after you" section, updated quality gate Agent-Logs-Url: https://github.com/dmicheneau/opencode-template-agent/sessions/89d4e8e4-4ed9-4cd1-a3b3-9387ba80a7df Co-authored-by: dmicheneau <47741512+dmicheneau@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Configure Agentic IDE for effective team launches
feat: multi-agent team workflow — state persistence and structured handoff patterns
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When running agent teams in OpenCode, workflow context gets lost between
Taskdispatches because sub-agents receive no state, no history, and no downstream awareness — they answer locally and break cohesion.Changes
New skill:
.opencode/skills/agent-team-workflow/SKILL.mdFour concrete patterns to eliminate thread loss:
.workflow-state.mdat step 0, update before/after every dispatch. Single source of truth for resuming interrupted workflows.Taskcall must include: global context, completed-steps summary, scoped mission, and a "what comes after you" paragraph that prevents arbitrary downstream-breaking micro-decisions.write: deny+task: allow; builders:write: allow), model assignment,primaryvssubagentmode rules.Updated:
agents/devtools/episode-orchestrator.md.workflow-state.md) directly in the identity paragraphDispatch format (before → after)
Before — minimal, no thread context:
After — full context block preventing thread loss:
Original prompt