Conversations/Agents: multi-hop handoffs drop intermediate hop briefs and split multi-hop chain state across details

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

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

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

評価

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

調査の方向性

Read FollowHandoffs and buildHandoffTargetParams in packages/AI/Agents/src/AgentRunner.ts, then trace BuildHandoffsByDetailId in packages/Angular/Generic/conversations/src/lib/utils/agent-handoff-map.ts. Follow a two-hop A → B → C handoff and check how briefs and chain details are passed and rendered. Done when the end-to-end context is preserved and the UI presents the multi-hop transfer coherently.

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

説明

From the post-release WS3 independent review of Consult & Handoff (PR #5055, tracked in PR #6482 / plans/video-studio-ws3-consult-handoff-review.md).

Location
Defect

On multi-hop handoffs (A -> B -> C):

  1. FollowHandoffs calls buildHandoffTargetParams with the unchanging baseHistory snapshot from before Hop 1, prepending only the current hop's briefMsg ([{ role: 'system', content: briefMsg }, ...baseHistory]). Thus Agent C receives B -> C's brief while Agent A -> B's intermediate brief and any intermediate hop context are dropped.
  2. In BuildHandoffsByDetailId (agent-handoff-map.ts:330-337), hopChain is populated only when output.Chain.length >= 2, meaning Hop 1's source detail (Chain = [A]) renders only A -> B (HopChain: null) while Hop 2's intermediate detail (Chain = [A, B]) renders A -> B -> C as a separate handoff card.
Suggested Fix

Accumulate prior hop briefs cleanly across FollowHandoffs hops (into buildHandoffTargetParams / briefMsg), and consolidate or link multi-hop chain visibility consistently in BuildHandoffsByDetailId so multi-hop transfers present coherent end-to-end context and cards.

主要言語
TSQL
スター
32
フォーク
7
平均マージ
1日 16時間
マージ済み PR(30日)
504

環境構築

はじめの一歩

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

MemberJunction/MJ のほかの issue

MemberJunction/MJ の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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