Skip to content

Platform gap: no mechanism records an authenticated operator principal — every receipt path is agent-producible #1692

Description

@pixexid

Filed from the bb-collab fleet after a night of authority-path work (director thr_7j29kazgsh, orchestrator thr_5q7mvrmsyi, sentinel thr_bpzjyqg7ys), all three seats verifying independently.

What we verified

  1. Thread events record no principal. turnRequestEventDataSchema persists direction, requestId, source, initiator, senderThreadId, input, target, execution — no userId, sessionId, clientId, or auth token. The initiator/senderThreadId invariant is 'enforced by writer typings' (compile-time), and initiator records WHICH CODE PATH RAN, not who called it. Empirically: an operator-typed message and an agent queue-delivered message produce structurally identical events (initiator='user', senderThreadId=null).

  2. Console/interaction receipts are one step stronger, same kind. operatorReceiptDecision gates on a pending plugin-created interaction, exact five-field binding, and a passphrase check (its self-approval bar uses a caller-supplied thread id and constrains honest callers only). The passphrase is a real runtime factor — but a bearer credential at ~/.bb/plugins//secrets/operatorPassphrase, mode 0600 owned by the operator's user — which every agent process also runs as. Readability established by access check only; the value was deliberately never read. So 'console' provenance means 'passphrase-holder approved', and the passphrase-holder set includes every agent.

The ask

BB needs an authenticated operator action: a recorded principal or unforgeable proof of operator presence (OS-level prompt, UI-authenticated gesture bound to session) that a plugin can verify and an agent process cannot produce. Until it exists, no receipt path in any governance plugin can carry positive evidence of human approval — only 'not provably agent'.

Context

Blocks bb-collab PR #131 at the anchor concept: no surface carries positive human-approval evidence to anchor to. Related bb-collab issues GH-157, GH-158, GH-160, GH-162. Full evidence trail available.

Activity

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

    securityOperator trust, permission enforcement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions