Inbox: permission prompt (perm:) sessions appear as duplicate agents in the recipient picker and participants
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
まず、packages/inbox/tags.ts と packages/shared/inbox/store.ts でスレッド参加者がどのように収集されるかを追い、次に packages/server/inbox-sessions.ts と packages/server/inbox-mcp-read.ts の MCP 経路を確認してください。これらの経路が、合成 perm: セッション ID を持つ作成者をどのように扱うかを調べてください。これらのセッションが個別の参加者や選択可能な宛先として公開されなくなれば完了です。Issue にはテストファイルが記載されていないため、変更を加える前に関連する Inbox テストを見つけてください。
索引モデルが issue の本文から書いたものです。
説明
What happened?
When a launched agent triggers a permission card in an Inbox thread, a second duplicate agent (such as Vibe 2 or Claude Code 2, marked Not woken) appears in the reply recipient picker, in thread list participants, in taggable MCP agents, and in read_thread participants.
Permission cards are authored under the synthetic session ID perm:<session_id> so Allow/Deny clicks route to the waiting permission handler without waking the main session. While iOS and agentSessions already filter out perm:* sessions, four places do not:
packages/inbox/tags.ts(threadParticipants) includesperm:*message authors, so the recipient picker adds a second row (<Agent> 2).packages/shared/inbox/store.ts(everyParticipantOf) includesperm:*inparticipantsOf, leaking into thread list rows.packages/server/inbox-sessions.ts(mcpAgents) includesperm:*messages wherewakes !== true, exposing them in/api/inbox/threads/:id/taggableand showing the duplicate row asNot woken.packages/server/inbox-mcp-read.ts(windowedThread) includesperm:*authors inread_threadparticipants, which also flipsmanyAgentsto true.
Expected: perm:* sessions stay internal to the permission card and never appear as separate thread participants or selectable reply recipients.
Draft PR: #4514
Plannotator version
0.29.18
OS
macOS
Agent
Other
Where did it happen?
Inbox
- 主要言語
- TypeScript
- スター
- 8.7k
- フォーク
- 649
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 799
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
backnotprop/plannotator のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
backnotprop/plannotator#2643 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Annotate documentation omits per-file version history and privacy controls再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
backnotprop/plannotator#1086 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Add Mistral Vibe support to Plannotator Routines対応中かも @Djiit が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
backnotprop/plannotator#4515 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
backnotprop/plannotator#4511 ·
メンテナーはふだん 1 日以内に返信
-
Clicking a saved Markdown highlight leaves the Annotations panel closed対応中かも @goodmorninggoaway が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
backnotprop/plannotator#4498 ·
メンテナーはふだん 1 日以内に返信
backnotprop/plannotator の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
MoonshotAI/kimi-code#6000 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
OpenSlides/openslides-client#6768 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
modelcontextprotocol/modelcontextprotocol#3622 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
swc-project/swc-next-issues#1240 ·