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
ADR 0018 decided that scripted pipelines — not LLM coordinators — should handle multi-agent orchestration. The pipeline definition format was deferred: "Whether the pipeline is defined using existing infrastructure capabilities or a custom pipeline layer is a separate decision."
The review agent (#1550) currently orchestrates six sub-agents using the Claude Code Agent tool, with the LLM deciding dispatch. The pr-review SKILL.md acknowledges this as a "temporary exception to ADR-0018, pending ADR-0018 amendment." As stages gain more agents (ADR 0020) and new sub-agents are proposed (#1797), the gap between the accepted architecture and the implementation grows.
What should happen
Investigate options for a deterministic pipeline format for intra-stage orchestration, starting with the review agent as the concrete case. Options to evaluate:
Claude Code Workflows — provides agent(), parallel(), pipeline(), phase(), and structured output schemas. Does it fit the review agent's orchestration needs? What are the rough edges? OpenCode does not have an equivalent deterministic workflow tool, so this creates a runtime-specific dependency — with feat(runtime): abstract Claude Code behind pluggable agent runtime #1780 abstracting the agent runtime, the portability story needs consideration. See official docs and Anthropic blog post.
Custom pipeline layer — a fullsend-native format that could work across runtimes. What would it look like? Is the added maintenance justified?
Keep current approach — continue with LLM-driven orchestration via the Agent tool. Is the ADR 0018 exception acceptable long-term, or does reliability degrade as sub-agent count grows?
Context
ADR 0018 — scripted pipeline for multi-agent orchestration (accepted, format deferred)
ADR 0020 — composable single-responsibility agents with individual sandboxes
ADR 0026 — stage-based dispatch for agent workflow decoupling
What happens
ADR 0018 decided that scripted pipelines — not LLM coordinators — should handle multi-agent orchestration. The pipeline definition format was deferred: "Whether the pipeline is defined using existing infrastructure capabilities or a custom pipeline layer is a separate decision."
The review agent (#1550) currently orchestrates six sub-agents using the Claude Code
Agenttool, with the LLM deciding dispatch. The pr-review SKILL.md acknowledges this as a "temporary exception to ADR-0018, pending ADR-0018 amendment." As stages gain more agents (ADR 0020) and new sub-agents are proposed (#1797), the gap between the accepted architecture and the implementation grows.What should happen
Investigate options for a deterministic pipeline format for intra-stage orchestration, starting with the review agent as the concrete case. Options to evaluate:
agent(),parallel(),pipeline(),phase(), and structured output schemas. Does it fit the review agent's orchestration needs? What are the rough edges? OpenCode does not have an equivalent deterministic workflow tool, so this creates a runtime-specific dependency — with feat(runtime): abstract Claude Code behind pluggable agent runtime #1780 abstracting the agent runtime, the portability story needs consideration. See official docs and Anthropic blog post.Context