Skip to content

Plugin actions need a trusted human-gesture signal so a composer send can skip approval while agent sends require one #6556

Description

@robertsinke

This was generated by AI during triage.

The workflow

I'm building a Unified Inbox plugin that reads and (eventually) sends macOS Messages through imsg. The requirement from the person using it:

  1. An agent composes a message to a conversation and asks to send it.
  2. bb shows an approval card naming the exact recipients, text, and attachments.
  3. The human approves; exactly that message sends, once.
  4. Separately, the human types in the plugin's composer and presses Send. That must send immediately, with no second confirmation.
  5. An agent must never be able to obtain (4) for a message the human did not write and send.

What happens today

  • Plugin RPC handlers see kind: "client" for the app UI, the CLI, and agents alike (apps/server/src/services/plugins/plugin-rpc-caller.ts), so a plugin cannot tell a composer click from an agent request.
  • bb.ui.requestInput responses are resolvable by any SDK caller, including an agent on the same host (bb thread interactions respond). That is the same gap Plugins need a trustworthy human-origin signal for gating destructive agent tools #1564 describes.
  • Result: in-plugin approval is decorative. The only way to get a real guarantee today is a host-external human-presence check (for example Touch ID in a separate helper) on every send, including the composer — which is exactly the friction this workflow is trying to avoid.

What you would expect

Some host-attested signal in the plugin invocation context that says: this specific request came from a direct human gesture in the bb app, for this exact payload. Sketch, not a design demand:

The gap I need closed beyond #1564: not only "a human approved this action" but "a human performed this exact action themselves, so no prompt is needed". Those are different proofs, and the second one is what keeps the composer at one click while agent sends still require a card.

Context and alternatives

Checks

  • I searched open and closed issues for the same request.
  • If an agent wrote this, the body ends with > AGENT GENERATED.

AGENT GENERATED

Activity

  1. added
    plugins
    security
    on Oct 29, 2026
  2. bb-slop-cop commented on Oct 29, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied the missing classifications and verified them:

    • Type: Feature
    • Priority: Medium
    • Effort: High
    • Labels: plugins, security

    This adds a new trusted invocation capability rather than repairing an established behavior. It enables a meaningful plugin workflow, but requires security-boundary and API design. No existing classification values needed preservation; no conflicts occurred.

    Skipped the bug report and fix paths because the final Type is Feature. No pull request: a new trust mechanism requires product/security design and is outside the simple-fix criteria.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pluginssecurity

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions