Repository navigation
Open
Description
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:
- An agent composes a message to a conversation and asks to send it.
- bb shows an approval card naming the exact recipients, text, and attachments.
- The human approves; exactly that message sends, once.
- Separately, the human types in the plugin's composer and presses Send. That must send immediately, with no second confirmation.
- 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.requestInputresponses 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:
- Present only for gestures the host observed in its own UI; absent for CLI, RPC, plugin-token, agent-tool, schedule, remote, and automation-originated calls.
- Bound to the exact invocation (a request id or payload digest), one-time, and expiring, so replay or a mutated payload fails closed.
- Paired with the operator-approval receipt from Host-verified operator authorization for plugin invocations and tool approvals #1541/Plugins need a trustworthy human-origin signal for gating destructive agent tools #1564, so the "human did it themselves" lane and the "human approved the agent's proposal" lane share one binding rather than two mechanisms.
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
- Related: Host-verified operator authorization for plugin invocations and tool approvals #1541 (parent tracker), Plugins need a trustworthy human-origin signal for gating destructive agent tools #1564 (human-origin signal for destructive tools), Plugin RPC handlers receive no caller context, so an RPC cannot bind decisions to its caller #2495 (RPC caller context).
- Rejected alternatives: requiring Touch ID for every send (composer friction); trusting a client-supplied
isHumanflag (forgeable); treatingOriginor transport class as proof (the same point raised in the Plugins need a trustworthy human-origin signal for gating destructive agent tools #1564 thread); a native watchdog observing clicks in the bb window (fragile, layout-dependent). - Scope note: this is a feature request, not a same-machine security report.
SECURITY.mdtreats local processes as trusted, and I'm not disputing that. I also know the plugin cannot stop an agent from invokingimsgoutside bb; that containment decision is mine to make separately. This issue is only about giving a plugin a trustworthy way to let the human's own send through without a prompt. - I'm happy to prototype against a proposed API shape and to supply the acceptance tests: missing/forged/mutated/replayed signal, agent-resolved card, and a genuine composer send that dispatches with no card.
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
bb-slop-cop commentedon Oct 29, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotApplied the missing classifications and verified them:
plugins,securityThis 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.