Skip to content

[Epic] Typed Subagent Parallel Investigation System #40

@terisuke

Description

@terisuke

概要

専門型サブエージェント(Explore, Plan, Review等)を並列で起動し、独立調査結果を統合する機能を実装する。

背景

今回のAlpha調査でClaude Codeは3エージェント並列(Issue調査/ADR調査/Code調査)で独立データ収集し突合した。OpenCodeは単一エージェントモデルのため、深い並列調査ができない。

OpenCodeには基礎的subagent概念(dialog-subagent.tsx, agent/prompt/explore.txt)があるが、並列実行・型付き専門化・バックグラウンド実行は未実装。

受入基準

  • 型付きサブエージェント定義(Explore, Plan, Review等)
  • 1メッセージで複数サブエージェントを並列起動可能
  • バックグラウンド実行(完了通知付き)
  • サブエージェント結果の親エージェントへの統合
  • サブエージェントのコンテキスト分離

実装方針

agent/agent.ts を拡張。サブエージェントは独立セッションとして生成し、完了時にサマリーを親セッションに注入。tool/task.ts の既存タスクシステムと統��。

優先度: P1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions