[compound-engineering] Observation: parent thread did not continue supervising delegated subagent

オープン
#839 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript

調査の方向性

Start by locating the agent orchestration and subagent delegation guidance for Codex workflows; the issue gives the plugin version and describes the expected parent behavior but names no files or tests. Check whether existing guidance covers tracking, waiting for, and integrating required subagent results, then identify how that behavior can be verified. Done means the parent remains responsible for downstream workflow steps or reports an explicit blocker.

索引モデルが issue の本文から書いたものです。

説明

Bug Description

Component: Agent orchestration / subagent delegation behavior
Summary: Observed one run where the parent thread dispatched a subagent, then treated dispatch as enough progress instead of actively waiting for the result, integrating it, and completing the merge/review workflow. This may be an intermittent drift rather than a deterministic bug.

Environment

  • Plugin Version: ecc-universal 1.10.0 (from local Codex plugin cache)
  • Agent Platform: Codex desktop / Codex CLI
  • Agent Version: codex-cli 0.120.0
  • OS: Darwin 25.3.0 arm64

What Happened

During a Compound Engineering workflow, the parent thread delegated work to a subagent for a design/review-related task. After dispatching, the parent thread gave the user an update that effectively sounded like the handoff itself was the outcome, without continuing to monitor the subagent, wait for the result, integrate the result into the active workflow, or drive the remaining review/merge steps.

The user had to point out that after dispatching a subagent, the parent thread should still supervise and own completion. In the next pass, the parent thread did correctly wait for the reviewer subagent, consume its result, write the review gate back to the MR, merge the MR, switch back to develop, pull latest, update/close the issue, and stop the dev server.

Expected Behavior

When the parent thread dispatches a subagent, it should keep ownership of the workflow until completion or an explicit blocker:

  1. Track the subagent status.
  2. Wait for the result when it is needed for the next decision.
  3. Validate and integrate the returned result.
  4. Continue the remaining workflow steps, such as writeback, merge, branch cleanup, issue updates, and final status.
  5. Avoid presenting “subagent dispatched” as equivalent to “task handled.”

Steps to Reproduce

This is reported as an observation, not yet a deterministic repro:

  1. Start a CE-style GitLab issue/MR workflow.
  2. Delegate a required design or reviewer gate task to a subagent.
  3. Observe whether the parent thread keeps supervising the subagent and completes the downstream workflow, or prematurely returns after dispatch.

Error Messages

No runtime error message was shown. The issue was behavioral/orchestration drift.

Additional Context

The observed failure mode is important because CE workflows rely on the parent/orchestrator thread to preserve accountability. Subagents can produce artifacts or review decisions, but the parent still needs to own integration, writeback, merge safety, and final repository state.

Suggested framing: this may be either a bug in orchestration guidance/tooling or an intermittent model behavior issue. It would be useful to clarify whether CE should include stronger explicit guidance that dispatching a subagent is never a terminal state for a workflow.


Reported via the report-bug-ce skill

主要言語
TypeScript
スター
25.6k
フォーク
2.1k
平均マージ
3時間 57分
マージ済み PR(30日)
170

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

EveryInc/compound-engineering-plugin のほかの issue

EveryInc/compound-engineering-plugin の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。