AddThisFeature

Approval Requests

Ask a specific person to approve or reject something, and record what they decided.

involved Collaboration

What it adds

A reusable request-and-decide flow attached to any record, with an auditable decision history.

What your agent is told to do

5
  1. 1

    Model a request as its own record linked to the item under review, with a requester, one or more reviewers, a state, and a decision history.

  2. 2

    Define and enforce who may request, approve, reject, cancel, and reassign. Approving your own request should be blocked unless an admin has deliberately allowed it.

  3. 3

    Write decisions as append-only entries with an author, a timestamp, and an optional comment. Never edit or delete a recorded decision.

  4. 4

    Decide up front whether editing the underlying item invalidates an in-flight approval, then enforce it — silently approving content that has since changed is the failure this feature exists to prevent.

  5. 5

    Do NOT build a general workflow engine with configurable stages and branching. One request, one decision, reassignable. Anything more is a different product.

Edge cases it handles

6
  • Two reviewers deciding at the same moment must not produce two contradictory outcomes — the first decision wins and the second is told so.
  • A reviewer who loses access to the item must be removed from the request rather than left holding a decision they cannot make.
  • Cancelling a request must be distinguishable from rejecting it in the history.
  • Requests with no activity need an expiry or a nudge; a queue full of forever-pending items is worse than no queue.
  • If the item is deleted or archived, resolve open requests instead of leaving orphans pointing at nothing.
  • Reassignment must keep the original requester and the prior comments visible, not reset the trail.

Definition of done

8
  • A request can be raised on an item and routed to a named reviewer.
  • Approve, reject, cancel, and reassign are permission-checked server-side.
  • Decisions are immutable and carry author, timestamp, and comment.
  • Concurrent decisions cannot both land.
  • Changing the item applies the documented invalidation rule.
  • Stale requests expire or escalate on a defined schedule.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.