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

Open
#3,602 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
html, markdown, typescript

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
TypeScript
Stars
8.7k
Forks
649
Avg merge
16h 1m
Merged PRs (30d)
756

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from backnotprop/plannotator

All issues in backnotprop/plannotator

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.