Inbox: answer a waiting plan or gated review from the Inbox

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
full-stack

調査の方向性

Start by tracing how GET update builds open_reviews and how the Inbox renders rows in a thread, then follow the path a plan or gated review decision takes to the waiting session (see #899 and #3602). Read submit_plan in the OpenCode plugin and the server.waitForDecision() call, which currently blocks an Inbox answer from reaching the agent (see #2141). Done looks like: Inbox Approve/Send feedback resolves the same pending review, closes the review window, and a window decision clears the Inbox row, for both review kinds.

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

説明

Related: #899 (getting the decision back to the waiting session), #3602 (Approve for a document attached to a thread), #2141 (decision mode, which queues the Inbox's own questions but not open reviews).

I run agents on several linked machines, some with no browser. When an agent opens a plan review or a gated review, I'd like to approve it from the Inbox as well as from the review window, whichever I reach first:

  • The Inbox shows the open review in the agent's thread, with Approve and Send feedback (with a note).
  • An answer in the Inbox goes to the waiting session as the window's decision would, and closes the window.
  • A decision made in the window clears the row in the Inbox.

Today the Inbox only counts open reviews (open_reviews in GET update), and the Plans page's Approve records a decision on the saved plan, not on the review the agent is waiting on.

For the plannotator agent tool's gated reviews I can get close with an agent rule: the agent sends a question next to the review, and closes the review (close) if I answer in the Inbox first. That doesn't work for plan review. submit_plan in the OpenCode plugin waits on server.waitForDecision() until the window decides, so an Inbox answer can't reach the agent until then.

主要言語
TypeScript
スター
8.7k
フォーク
649
平均マージ
16時間 1分
マージ済み PR(30日)
756

環境構築

はじめの一歩

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

backnotprop/plannotator のほかの issue

backnotprop/plannotator の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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