github / github/app

Status messages interrupt active child sessions and trigger unbounded review restarts

オープン
#2,315 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Bugs
主要言語
言語のデータがありません
スター
2.1k
フォーク
153
PR マージ指標
30日以内にマージされた PR はありません

説明

## Summary

Cross-session status messages sent to an active child session interrupted its certification work. The child repeatedly restarted review, expanded its changes, and consumed substantial resources without checkpointing, committing, or opening a pull request.

My status questions were reasonable and exposed the defect. The repeated work was caused by orchestration behavior, not user error.

## Reproduction

1. Delegate a long-running review to a child session.

2. Request its status through the parent session while it is processing.

3. The parent sends the status request into the child as a new user turn.

4. Active work is interrupted or superseded.

5. The child restarts review instead of resuming from a checkpoint.

6. Repeated status checks cause repeated review cycles and scope growth.

## Expected behavior

- Status checks should be read-only and not interrupt active child work.

- Any unavoidable interruption should require confirmation.

- Interrupted work should resume from a durable checkpoint.

- Review loops should have duplicate-work detection and resource budgets.

## Actual behavior and impact

- Status-only messages became disruptive child turns.

- A bounded audit expanded into 16 modified files and over 2,500 inserted lines.

- No commit or pull request was produced before the work was manually frozen.

- Local telemetry recorded 1,295 model-usage events, approximately 194.2M input tokens and 1.02M output tokens. These are local counters that may include replayed or cached context—not asserted billable totals.

## Suggested fixes

1. Provide a read-only child-status API.

2. Queue parent messages behind active child work by default.

3. Warn before cancelling or superseding an active child turn.

4. Persist checkpoints and resume after interruption.

5. Detect repeated reviews over substantially identical diffs.

6. Enforce time, token, retry and diff-size budgets.

7. Distinguish user, parent-orchestrator, sibling and system messages in diagnostics.

I can provide the full diagnostic report and session identifiers privately to maintainers for server-side telemetry correlation.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Issue にはファイル、テスト、エントリポイントが特定されていません。再現手順から始め、parent のステータス要求がどのように child turn になるかを追跡してください。完了には、中断を伴わないステータスチェック、安全な割り込み処理、チェックポイントからの再開、重複作業の検出、リソース予算を含める必要があります。

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

評価

領域
ai-infra-agents
issue の種類
バグ
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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