Inbox: Approve a document an agent attached (spec sign-off without plan review)

Abierto
#3,602 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
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
html, markdown, typescript

Línea de trabajo

Start by reading the gated annotate flow mentioned in the issue and the unreleased Plans library, especially its versioned document approval behavior and agent decisions. Then trace how Inbox attachments are opened for annotation. Done means an agent can receive an approval tied to the reviewed document version, while Request changes sends annotations as feedback; the issue leaves the implementation home open.

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

Descripción

Problem

I use Plannotator to sign off on design specs before an agent starts implementing. Until now that meant /plannotator-annotate spec.md --gate --json: a clear Approve button, and a decision the agent can act on (approved, approved with notes, annotated, or dismissed).

Agents now attach specs to Inbox threads, which is a much better place to review them. But an attachment can only be annotated, so the Approve button is gone. I can send comments, but I can't record "this is approved", and the agent can't tell an approval apart from a review with no comments. Today the only workaround is for the agent to also send a :::question with Approve / Request changes options. That works, but it sits apart from the document.

Plan review doesn't cover this. Specs aren't plans going through ExitPlanMode, and sessions in permission modes that skip plan review never reach it anyway.

Proposal

When an agent attaches a Markdown or HTML document, the person can make the same decision gated annotate offers:

  • Approve / Approve with a note…: the agent receives an approved decision (and the note, if one was written) for that attachment and that version.
  • Request changes: the person's annotations go back as feedback, as they do today.

The decision applies to the version the person saw. If the file changes afterwards, the approval no longer applies, the way a Plans approval resets when the agent writes a new version.

Possible home: Plans

The unreleased Plans library already has versioned documents, Approve, and decisions that go back to the agent, and its guide says an agent tool is coming. If that tool lets an agent put any document (a spec, not only a plan from plan review) into a Space, spec sign-off could live there. A thread attachment would then just need a way to open it in Plans. Either route is fine with me. What matters is a recorded Approve on a document an agent sent.

Why it matters

Spec-driven workflows (superpowers, spec-kit, OpenSpec and others) produce several documents per feature, and each one needs a human to sign off before implementation. In #570, gated annotate gave those workflows an Approve. This request asks for the same thing where those documents now show up.

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.