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

Abierto
#3,776 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
full-stack

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
649
Merge medio
16 h 1 min
PR fusionados (30 d)
756

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de backnotprop/plannotator

Todos los issues de backnotprop/plannotator

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.