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

Aperta
#3,776 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
full-stack

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
8.7k
Fork
649
Merge medio
16h 1m
PR unite (30g)
756

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di backnotprop/plannotator

Tutte le issue di backnotprop/plannotator

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.